| plans: | |
| - name: servo (Allow to fail) | |
| criticalactions: | |
| - name: Set state:MISSING_CONFIG ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Servo is know in the setup ('dut_servo_host_present') (RUN_ONCE) | |
| dependencies: | |
| - name: Set state:WRONG_CONFIG ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Servod port specified ('servo_servod_port_present') (RUN_ONCE) | |
| dependencies: | |
| - name: Set state:WRONG_CONFIG ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Servo serial is specified ('dut_servo_has_serial') (RUN_ONCE) | |
| dependencies: | |
| - name: Set state:WRONG_CONFIG ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Initialize docker container ('servo_host_servod_init') (time:'6m0s') | |
| conditions: | |
| - name: Uses servod container ('servo_uses_servod_container') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Mark labstation as servod is in-use ('cros_create_servo_in_use') | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:SERVO_HOST_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Sleep 1s (Allow to fail) ('sample_sleep') (ALWAYS_RUN) | |
| - name: Create request to reboot labstation ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: cros_create_reboot_request | |
| - name: Read release info (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: Servod container is not used ('servo_uses_servod_container') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:SERVO_HOST_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Power-cycle by smart-hub (Allow to fail) ('servo_power_cycle_root_servo') (RUN_ONCE) (time:'2m0s') | |
| conditions: | |
| - name: DUT is not SSHable ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Has enough free disk space ('cros_has_enough_storage_space') | |
| conditions: | |
| - name: Servod container is not used ('servo_uses_servod_container') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:BROKEN ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Remove logs and other files ('sample_pass') | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: servo_labstation_disk_cleanup | |
| - name: Remove logs older 5 days ('servo_servod_old_logs_cleanup') | |
| - name: Create request to reboot labstation ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: cros_create_reboot_request | |
| - name: Cache latest servod start time (Allow to fail) ('cros_register_servod_logs_start') | |
| conditions: | |
| - name: Servod container is not used ('servo_uses_servod_container') | |
| - name: Servo_v4(p1) main present ('servo_v4_root_present') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:NOT_CONNECTED ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Recover servo with Power-cycle by smart-hub ('servo_power_cycle_root_servo') (ALWAYS_RUN) (time:'2m0s') | |
| - name: Create request to reboot labstation ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: cros_create_reboot_request | |
| - name: All servo's fw updated ('servo_fw_need_update') (time:'5m0s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:SERVO_UPDATER_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Sleep 1s (Allow to fail) ('sample_sleep') (ALWAYS_RUN) | |
| - name: Update all servo's firmware ('servo_update_servo_firmware') (RUN_ONCE) (time:'10m0s') | |
| dependencies: | |
| - name: Stop servod daemon on servo-host ('servo_host_servod_init') (time:'6m0s') | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Start servod daemon ('servo_host_servod_init') (time:'2m0s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:SERVO_HOST_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Stop servod and request to use recovery-mode for servod ('sample_pass') (RUN_ONCE) | |
| dependencies: | |
| - name: Specify to use REC_MODE=1 for servo ('servo_create_flag_to_use_recovery_mode') (RUN_ONCE) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset GSC from DUT and stop servod ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Reset GSC on DUT (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Create request to reboot labstation ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: cros_create_reboot_request | |
| - name: Start UART capture (Allow to fail) ('servod_start_uart_capture') | |
| - name: Servod is responsive to dut-control ('servo_servod_echo_host') (time:'30s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:SERVOD_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod and request to use recovery-mode for servod ('sample_pass') (RUN_ONCE) | |
| dependencies: | |
| - name: Specify to use REC_MODE=1 for servo ('servo_create_flag_to_use_recovery_mode') (RUN_ONCE) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Create request to reboot labstation ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: cros_create_reboot_request | |
| - name: Read servo serial by servod harness ('servod_echo') | |
| dependencies: | |
| - name: Set state:SERVOD_PROXY_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Set cold_reset for c2d2 (Allow to fail) ('servo_set') | |
| conditions: | |
| - name: Servo used c2d2 ('servo_type_regex_match') | |
| - name: Verify servo connected to the DUT ('servo_low_ppdut5') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo_v4(p1) with type-a connector ('servo_check_servod_control') | |
| - name: DUT has CrOS EC ('servo_check_servod_control') | |
| dependencies: | |
| - name: Set state:DUT_NOT_CONNECTED ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Power cycle by RPM with delay and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_micro | |
| - name: RPM config present ('device_has_rpm_info') | |
| dependencies: | |
| - name: Set RPM OFF ('device_rpm_power_off') (ALWAYS_RUN) | |
| - name: Sleep 35s (Allow to fail) ('sample_sleep') (ALWAYS_RUN) | |
| - name: Set RPM ON ('device_rpm_power_on') (ALWAYS_RUN) | |
| - name: Try Cold reset by servod (Allow to fail) ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Force reflash servo_micro fw and stop ('sample_pass') | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| - name: is_servo_micro | |
| - name: Is ok to force update servo_micro firmware ('sample_fail') | |
| conditions: | |
| - name: Last servo_micro fw updated within 2 weeks ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Force update servo_micro firmware ('servo_update_servo_firmware') (time:'3m0s') | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| - name: is_servo_micro | |
| - name: Is ok to force update servo_micro firmware ('sample_fail') | |
| conditions: | |
| - name: Last servo_micro fw updated within 2 weeks ('metrics_found_at_last_time') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Debug header servo present ('servo_check_servod_control') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Servo uses debug header components ('servo_has_debug_header') | |
| dependencies: | |
| - name: Set state:DEBUG_HEADER_SERVO_MISSING ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Create request to reboot labstation ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: cros_create_reboot_request | |
| - name: Cold reset pin is detected ('servo_check_servod_control') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo_v4(p1) with type-a connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:COLD_RESET_PIN_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Warm reset pin is detected (servo_micro) (Allow to fail) ('servo_check_servod_control') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: is_servo_micro | |
| - name: Warm reset control known by servo ('servo_check_servod_control') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:WARM_RESET_PIN_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Charger connected (Allow to fail) ('servo_control_min_double_value') | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| - name: Has ppchg5_mv control ('servod_has') | |
| dependencies: | |
| - name: Read ppdut5_mv value ('servo_check_servod_control') | |
| - name: Read ppchg5_mv value ('servo_check_servod_control') | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Set state:SERVOD_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Power on DUT by RPM ('rpm_power_on') | |
| conditions: | |
| - name: has_rpm_info | |
| - name: Check if PD is src state (Allow to fail) ('servo_check_servod_control') | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| - name: Has ppchg5_mv control ('servod_has') | |
| dependencies: | |
| - name: Set state:SERVOD_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Read ppdut5_mv value ('servo_check_servod_control') | |
| - name: Read ppchg5_mv value ('servo_check_servod_control') | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Charger connected (Allow to fail) ('servo_control_min_double_value') | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| - name: Has ppchg5_mv control ('servod_has') | |
| dependencies: | |
| - name: Read ppdut5_mv value ('servo_check_servod_control') | |
| - name: Read ppchg5_mv value ('servo_check_servod_control') | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Set state:SERVOD_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Power on DUT by RPM ('rpm_power_on') | |
| conditions: | |
| - name: has_rpm_info | |
| recoveries: | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Verify CCD GSC connection detected ('sample_pass') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Servo main device is CCD ('servo_main_device_is_ccd') | |
| dependencies: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Set state:SBU_LOW_VOLTAGE ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Servo SBU voltage is good ('servo_cr50_low_sbu') | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| - name: Servod detect voltage issue ('servo_check_servod_control') | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset GSC from DUT and stop servod ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Reset GSC on DUT (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Create request to reboot labstation ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: cros_create_reboot_request | |
| - name: Set state:CR50_NOT_ENUMERATED ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Servo Cr50 enumerated ('sample_fail') | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| - name: Servod detect voltage issue ('servo_check_servod_control') | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset GSC from DUT and stop servod ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Reset GSC on DUT (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Servod detect all children components ('servo_check_servod_control') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Set state:SERVOD_DUT_CONTROLLER_MISSING ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset GSC from DUT and stop servod ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Reset GSC on DUT (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Create request to reboot labstation ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: cros_create_reboot_request | |
| - name: Servo topology ('sample_pass') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo topology min one child ('servo_topology_update') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:TOPOLOGY_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset GSC from DUT and stop servod ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Reset GSC on DUT (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset GSC from DUT and stop servod ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Reset GSC on DUT (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Create request to reboot labstation ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: cros_create_reboot_request | |
| - name: Servo topology min two children ('servo_topology_update') | |
| conditions: | |
| - name: is_dual_setup ('is_dual_setup_configured') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| - name: Set state:TOPOLOGY_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset GSC from DUT and stop servod ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Reset GSC on DUT (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Create request to reboot labstation ('sample_fail') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| dependencies: | |
| - name: cros_create_reboot_request | |
| - name: Update USB drive info (Allow to fail) ('servo_update_usbkey_history') | |
| dependencies: | |
| - name: Verify that USB drive is detectable (Allow to fail) ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Wait for labstation to load ('cros_ssh') (time:'2m0s') | |
| recoveries: | |
| - name: Recover servo with Power-cycle by smart-hub ('servo_power_cycle_root_servo') (ALWAYS_RUN) (time:'2m0s') | |
| - name: Initialize DUT part for servo ('init_dut_for_servo') (time:'2m0s') | |
| dependencies: | |
| - name: Set state:BROKEN ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Set main servo device ('servod_set_main_device') | |
| conditions: | |
| - name: Servod knows about active_dut_controller control ('servo_check_servod_control') | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Open gsc testlab (Allow to fail) ('servo_set') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Expected CCD factory settings ('servo_ccd_expect_have_factory_reset') | |
| dependencies: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Reset CCD to factory settings (Allow to fail) ('servo_set') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Expected CCD factory settings ('servo_ccd_expect_have_factory_reset') | |
| dependencies: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset GSC from DUT and stop servod ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Reset GSC on DUT (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Verify cr50 console ('servod_can_read_all') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Expected CCD factory settings ('servo_ccd_expect_have_factory_reset') | |
| dependencies: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Initialize DUT part for servo ('init_dut_for_servo') (time:'2m0s') | |
| dependencies: | |
| - name: Set state:BROKEN ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Set main servo device ('servod_set_main_device') | |
| conditions: | |
| - name: Servod knows about active_dut_controller control ('servo_check_servod_control') | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Open gsc testlab (Allow to fail) ('servo_set') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Expected CCD factory settings ('servo_ccd_expect_have_factory_reset') | |
| dependencies: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Reset CCD to factory settings (Allow to fail) ('servo_set') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Expected CCD factory settings ('servo_ccd_expect_have_factory_reset') | |
| dependencies: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset GSC from DUT and stop servod ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Reset GSC on DUT (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Set state:CR50_CONSOLE_MISSING ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset GSC from DUT and stop servod ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Reset GSC on DUT (Allow to fail) ('cros_run_command') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cr50 testlab is enabled ('servo_check_servod_control') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is not in cr50 pools ('dut_not_in_pool_regex') | |
| - name: Expected CCD factory settings ('servo_ccd_expect_have_factory_reset') | |
| dependencies: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Set state:CCD_TESTLAB_ISSUE ('servo_set_servo_state') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Verify EC ('sample_pass') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: DUT has CrOS EC ('servo_check_servod_control') | |
| dependencies: | |
| - name: Set state:EC_BROKEN ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Verify EC console ('servod_can_read_all') | |
| conditions: | |
| - name: DUT has CrOS EC ('servo_check_servod_control') | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Set state:BAD_RIBBON_CABLE ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Verify power button signal (Allow to fail) ('servo_check_servod_control') | |
| conditions: | |
| - name: pwr_button_supported_models ('dut_check_model') (RUN_ONCE) | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot servo device ('servo_reboot') (RUN_ONCE) (time:'1m10s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Set state:NO_SSH ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle DTS Mode and Servo Role ('servo_servod_dts_and_servo_role_toggle_exec') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Toggle PD once and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle PD once ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle PD (5 times) and stop ('servo_host_servod_stop') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servo_v4(p1) used with type-c connector ('servo_check_servod_control') | |
| dependencies: | |
| - name: Toggle PD 5 times ('servo_servod_toggle_pd_role') (ALWAYS_RUN) | |
| - name: Try fake disconnect and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Toggle CC line and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Toggle CC lines ('servo_servod_cc_toggle') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Force reflash servo_micro fw and stop ('sample_pass') | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| - name: is_servo_micro | |
| - name: Is ok to force update servo_micro firmware ('sample_fail') | |
| conditions: | |
| - name: Last servo_micro fw updated within 2 weeks ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Force update servo_micro firmware ('servo_update_servo_firmware') (time:'3m0s') | |
| conditions: | |
| - name: Is labstation ('servo_host_is_labstation') | |
| - name: is_servo_micro | |
| - name: Is ok to force update servo_micro firmware ('sample_fail') | |
| conditions: | |
| - name: Last servo_micro fw updated within 2 weeks ('metrics_found_at_last_time') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Set state:LID_OPEN_FAILED ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Is lid open (Allow to fail) ('servod_lidopen') | |
| recoveries: | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reboot by EC console and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Reboot by DUT's EC UART ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Cold reset the DUT by servod and stop ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Cold reset by servod ('servo_power_state_reset') (ALWAYS_RUN) | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reflash Cr50 fw and stop ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| - name: Is reflash Cr50 was done more 24 hours ago ('sample_fail') | |
| conditions: | |
| - name: Is reflash Cr50 was done within 24 hours ('metrics_found_at_last_time') | |
| dependencies: | |
| - name: Reflash Cr50 fw on DUT ('cros_reflash_cr50_fw') (RUN_ONCE) (time:'2m30s') | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Reset EC from DUT and stop ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: is_servo_type_ccd | |
| dependencies: | |
| - name: cros_reset_ec (ALWAYS_RUN) | |
| dependencies: | |
| - name: DUT is SSHable ('cros_ssh_dut') (ALWAYS_RUN) (time:'15s') | |
| - name: Stop servod (Allow to fail) ('servo_host_servod_stop') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Save UART capture (Allow to fail) ('servod_save_uart_capture') | |
| dependencies: | |
| - name: Stop UART capture (Allow to fail) ('servod_stop_uart_capture') | |
| - name: Verify battery by servo (Allow to fail) ('servo_battery_charging') | |
| conditions: | |
| - name: DUT has CrOS EC ('servo_check_servod_control') | |
| - name: battery_last_charge_readable ('servo_check_servod_control') | |
| - name: Record good servo type ('servo_update_servo_type_label') | |
| dependencies: | |
| - name: Set state:BROKEN ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: Set state:WORKING ('servo_set_servo_state') (ALWAYS_RUN) | |
| - name: bluetooth_peer (Allow to fail) | |
| criticalactions: | |
| - name: 'Set state: BROKEN (''btpeer_state_broken'') (RUN_ONCE)' | |
| - name: Device is pingable ('cros_ping') (ALWAYS_RUN) (time:'15s') | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) | |
| - name: Fetch btpeer image release config from GCS ('btpeer_image_fetch_release_config') (RUN_ONCE) | |
| - name: OS image is up to date ('btpeer_image_assert_expected_installed') | |
| conditions: | |
| - name: Btpeer release process should be image-based ('btpeer_assert_release_process_matches') (RUN_ONCE) | |
| dependencies: | |
| - name: Identify expected image release ('btpeer_image_identify_expected') (RUN_ONCE) | |
| - name: Identify installed image release ('btpeer_image_fetch_installed_uuid') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Provision OS to expected image release ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: AB Partition device ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device is not AB partitioned ('btpeer_has_partitions_with_labels') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Verify device has space for new B partitions ('btpeer_has_partition_room') (ALWAYS_RUN) | |
| - name: Verify device has standard partition scheme ('btpeer_device_has_standard_partitions') (ALWAYS_RUN) | |
| - name: Enable initrd ('btpeer_enable_initrd') (ALWAYS_RUN) (time:'10m0s') | |
| - name: Shrink rootfs ('btpeer_shrink_rootfs') (ALWAYS_RUN) (time:'16m40s') | |
| - name: Disable initrd ('btpeer_disable_initrd') (ALWAYS_RUN) (time:'10m0s') | |
| - name: Create new AB Partitions ('btpeer_partition_device') (ALWAYS_RUN) (time:'16m40s') | |
| - name: Temp Boot into A partition ('btpeer_temp_boot_into_partition') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Enable temp booting ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: btpeer_is_raspi_4b_less_than_revision_14 | |
| dependencies: | |
| - name: btpeer_enable_debug_quirks | |
| - name: Reboot device and wait for SSH ('btpeer_reboot') (ALWAYS_RUN) (time:'5m0s') | |
| - name: Set permanent boot partition as A ('btpeer_set_permanent_boot_partition') (ALWAYS_RUN) (time:'10m0s') | |
| - name: Download expected OS image release to device ('btpeer_download_image') (ALWAYS_RUN) (time:'25m0s') | |
| - name: Flash B partitions with downloaded OS image ('btpeer_provision_device') (ALWAYS_RUN) (time:'40m0s') | |
| - name: Temp Boot into B partition ('btpeer_temp_boot_into_partition') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Enable temp booting ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: btpeer_is_raspi_4b_less_than_revision_14 | |
| dependencies: | |
| - name: btpeer_enable_debug_quirks | |
| - name: Reboot device and wait for SSH ('btpeer_reboot') (ALWAYS_RUN) (time:'5m0s') | |
| - name: Set permanent boot partition as B ('btpeer_set_permanent_boot_partition') (ALWAYS_RUN) (time:'10m0s') | |
| - name: Verify newly installed image has an image UUID ('btpeer_image_fetch_installed_uuid') (ALWAYS_RUN) | |
| - name: Chameleond version is up to date ('sample_pass') | |
| conditions: | |
| - name: Btpeer release process should be chameleond-based ('btpeer_assert_release_process_matches') (RUN_ONCE) | |
| dependencies: | |
| - name: Fetch btpeer chameleond release config from GCS ('btpeer_fetch_btpeer_chameleond_release_config') (RUN_ONCE) | |
| - name: Identify expected chameleond release bundle ('btpeer_identify_expected_chameleond_release_bundle') (RUN_ONCE) | |
| - name: Fetch installed chameleond bundle commit from btpeer ('btpeer_fetch_installed_chameleond_bundle_commit') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Install expected chameleond release bundle and then reboot device ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Install expected chameleond release bundle ('btpeer_install_expected_chameleond_release_bundle') (time:'15m0s') | |
| - name: Reboot device and wait for SSH ('btpeer_reboot') (ALWAYS_RUN) (time:'5m0s') | |
| - name: Btpeer has expected chameleond bundle installed ('btpeer_assert_btpeer_has_expected_chameleond_release_bundle_installed') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Install expected chameleond release bundle and then reboot device ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Install expected chameleond release bundle ('btpeer_install_expected_chameleond_release_bundle') (time:'15m0s') | |
| - name: Reboot device and wait for SSH ('btpeer_reboot') (ALWAYS_RUN) (time:'5m0s') | |
| - name: Chameleond service is running ('btpeer_assert_chameleond_service_is_running') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Reboot device and wait for SSH ('btpeer_reboot') (ALWAYS_RUN) (time:'5m0s') | |
| - name: Device has been rebooted recently ('btpeer_assert_uptime_is_less_than_duration') | |
| recoveries: | |
| - name: Reboot device and wait for SSH ('btpeer_reboot') (ALWAYS_RUN) (time:'5m0s') | |
| - name: 'Set state: WORKING (''btpeer_state_working'') (RUN_ONCE)' | |
| - name: wifi_router (Allow to fail) | |
| criticalactions: | |
| - name: Set WifiRouter state to BROKEN ('wifi_router_set_state') (RUN_ONCE) | |
| - name: Device is ping-able ('cros_ping') (time:'15s') | |
| - name: Identify and set WifiRouter device_type ('wifi_router_identify_device_type') | |
| - name: Check ChromeOS Gale device ('sample_pass') | |
| conditions: | |
| - name: Is ChromeOS Gale ('wifi_router_device_type_in_list') (RUN_ONCE) | |
| dependencies: | |
| - name: Set Gale WifiRouter model and features ('wifi_router_update_model_and_features') | |
| - name: Device is on stable-version ('cros_is_on_stable_version') | |
| recoveries: | |
| - name: Provision Gale device to stable version ('cros_provision') (time:'1h0m0s') | |
| - name: Device has required wifi tools ('cros_is_tool_present') | |
| dependencies: | |
| - name: cros_ssh | |
| recoveries: | |
| - name: Provision Gale device to stable version ('cros_provision') (time:'1h0m0s') | |
| - name: Device has 50 percent tmp diskspace ('cros_has_enough_storage_space_percentage') | |
| recoveries: | |
| - name: Clean up tmp space ('cros_run_shell_command') | |
| dependencies: | |
| - name: Log usage report of tmp space (Allow to fail) ('wifi_router_log_usage_report_of_dir') (ALWAYS_RUN) | |
| - name: Device has 50 percent stateful partition diskspace ('cros_has_enough_storage_space_percentage') | |
| recoveries: | |
| - name: Clean up stateful sub space ('cros_run_shell_command') | |
| dependencies: | |
| - name: Log usage report of stateful partition diskspace (Allow to fail) ('wifi_router_log_usage_report_of_dir') (ALWAYS_RUN) | |
| - name: Check OpenWrt device ('sample_pass') | |
| conditions: | |
| - name: Is OpenWrt ('wifi_router_device_type_in_list') (RUN_ONCE) | |
| dependencies: | |
| - name: Fetch OpenWrt OS image build info from device ('wifi_router_openwrt_fetch_build_info') | |
| - name: Fetch OpenWrt image config from GCS ('wifi_router_openwrt_fetch_config') (RUN_ONCE) | |
| - name: Identify expected OS image for this OpenWrt device ('wifi_router_openwrt_identify_expected_image') (RUN_ONCE) | |
| - name: Device has expected OpenWrt OS image ('wifi_router_openwrt_has_expected_image') | |
| recoveries: | |
| - name: Update OpenWrt OS image with expected image ('wifi_router_openwrt_update_to_expected_image') (ALWAYS_RUN) (time:'10m0s') | |
| - name: Reboot then update OpenWrt OS image with expected image ('sample_pass') | |
| dependencies: | |
| - name: Reboot device ('wifi_router_reboot') (ALWAYS_RUN) (time:'3m20s') | |
| - name: Update OpenWrt OS image with expected image ('wifi_router_openwrt_update_to_expected_image') (ALWAYS_RUN) (time:'10m0s') | |
| - name: Set WifiRouter model and features based on this OpenWrt device ('wifi_router_update_model_and_features') | |
| - name: Check AsusWrt device ('sample_pass') | |
| conditions: | |
| - name: Is AsusWrt ('wifi_router_device_type_in_list') (RUN_ONCE) | |
| dependencies: | |
| - name: Fetch model from AsusWrt device ('wifi_router_asuswrt_fetch_model') | |
| - name: Update model and features based on this AsusWrt device ('wifi_router_update_model_and_features') | |
| - name: Check Ubuntu device ('sample_pass') | |
| conditions: | |
| - name: Is Ubuntu ('wifi_router_device_type_in_list') (RUN_ONCE) | |
| dependencies: | |
| - name: Fetch system product name from Ubuntu device ('wifi_router_ubuntu_fetch_system_product_name') | |
| - name: Fetch network controller name from Ubuntu device ('wifi_router_ubuntu_fetch_network_controller_name') | |
| - name: Update model and features based on this Ubuntu device ('wifi_router_update_model_and_features') | |
| - name: Reboot device ('wifi_router_reboot') (ALWAYS_RUN) (time:'3m20s') | |
| - name: Set WifiRouter state to WORKING ('wifi_router_set_state') (RUN_ONCE) | |
| - name: cros | |
| criticalactions: | |
| - name: 'Set state: repair_failed (''dut_set_state'') (RUN_ONCE)' | |
| - name: Enable verbose network logging for cellular DUTs (Allow to fail) ('sample_pass') | |
| conditions: | |
| - name: Is in cellular pool ('dut_is_in_pool_regex') (RUN_ONCE) | |
| dependencies: | |
| - name: Enable verbose shill logs (Allow to fail) ('cros_set_verbose_shill_logs') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Is shill debug CLI present ('cros_is_tool_present') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Enable verbose ModemManager logs (Allow to fail) ('cros_set_verbose_mm_logs') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Is modem CLI present ('cros_is_tool_present') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Collect logs and crashinfo (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Confirm log collection info does not exist ('cros_confirm_file_not_exists') | |
| dependencies: | |
| - name: Create log collection info ('cros_create_log_collection_info') (RUN_ONCE) | |
| conditions: | |
| - name: Confirm log collection info does not exist ('cros_confirm_file_not_exists') | |
| - name: Collect logs from DUT on /var/log/* (Allow to fail) ('cros_copy_to_logs') (RUN_ONCE) | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Collect logs from DUT on /sys/fs/pstore/* (Allow to fail) ('cros_copy_to_logs') (RUN_ONCE) | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Collect dmesg (Allow to fail) ('cros_dmesg') (RUN_ONCE) | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Collect crash dumps (Allow to fail) ('cros_collect_crash_dumps') (RUN_ONCE) | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Mark labstation as servod is in-use (Allow to fail) ('cros_create_servo_in_use') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: servo_host_is_labstation | |
| dependencies: | |
| - name: Labstation is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: servo_host_is_labstation | |
| - name: Has repair-request for re-image USB-key ('dut_has_any_repair_requests') | |
| recoveries: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Has repair-request for re-image by USB-key ('dut_has_any_repair_requests') | |
| recoveries: | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (with FW update) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode, with force to DEV-mode ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| dependencies: | |
| - name: Set GBB flags to 0x18 by servo (Allow to fail) ('cros_set_gbb_by_servo') (time:'5m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Device is pingable ('cros_ping') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: DUT has board info ('dut_has_board_name') (RUN_ONCE) | |
| - name: DUT has model info ('dut_has_model_name') (RUN_ONCE) | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Pulse GSC_RST_L with servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: servo_has_debug_header | |
| - name: Servo is not C2D2 ('is_servo_c2d2') | |
| - name: Has gsc_reset control ('servod_has') | |
| dependencies: | |
| - name: Assert GSC_RST_L by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has gsc_reset control ('servod_has') | |
| - name: Sleep 1 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'2s') | |
| - name: Deassert GSC_RST_L by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has gsc_reset control ('servod_has') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Reset servo_v4.1 ethernet and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: is_servo_v4p1_by_serial_number | |
| dependencies: | |
| - name: Reset servo_v4.1 ethernet power ('servo_v4p1_network_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Power cycle DUT by RPM and wait ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: RPM config present ('device_has_rpm_info') | |
| dependencies: | |
| - name: rpm_power_cycle | |
| - name: Set servo PD to src (Allow to fail) ('servo_set') (ALWAYS_RUN) | |
| - name: Try cold reset DUT by servo (Allow to fail) ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Trigger kernel panic to reset the whole board and try ssh to DUT ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Trigger kernel panic by servod ('servo_trigger_kernel_panic') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Restore AC detection by EC console and wait for ping ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo recover AC power ('servo_recover_ac_power') (time:'10m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: DUT has CrOS EC ('servo_check_servod_control') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: cros_is_battery_expected | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Battery cut-off by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: is_servo_type_ccd | |
| - name: DUT is G3/S5 powerstate ('servo_power_state_match') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Battery cut-off by servo EC console ('servo_set_ec_uart_cmd') (ALWAYS_RUN) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Try fake disconnect ('servo_fake_disconnect_dut') (ALWAYS_RUN) | |
| conditions: | |
| - name: is_servo_type_ccd | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Check if request labstation reboot ('sample_fail') | |
| conditions: | |
| - name: Check if servo is not connected by hub ('servo_not_connected_by_hub') | |
| dependencies: | |
| - name: Create request to reboot labstation ('labstation_create_reboot_request') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Device Uptime (Allow to fail) ('cros_uptime_print') | |
| - name: Verify access to cache (Allow to fail) ('cache_download_check') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Not Satlab device ('sample_fail') | |
| conditions: | |
| - name: Is Satlab device ('dut_regex_name_match') | |
| - name: Read bootId ('cros_read_bootid') | |
| recoveries: | |
| - name: Sleep 1s (Allow to fail) ('sample_sleep') (ALWAYS_RUN) | |
| - name: Verify internal storage ('sample_pass') | |
| dependencies: | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Kernel does not know issues ('cros_has_critical_kernel_error') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Stateful partition has enough free index nodes ('cros_has_enough_index_nodes') | |
| recoveries: | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Stateful partition has enough free space ('cros_has_enough_storage_space') | |
| recoveries: | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Stateful partition (encrypted) has enough free space ('cros_has_enough_storage_space') | |
| recoveries: | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Set dev_boot_usb is enabled (Allow to fail) ('cros_update_crossystem') (RUN_ONCE) | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Verify if booted from priority kernel ('cros_kernel_priority_has_not_changed') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Simple reboot to right kernel ('cros_kernel_priority_has_not_changed') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Verify rootfs is on fs-verity ('cros_verify_rootfs_verity') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| recoveries: | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode, with force to DEV-mode ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| dependencies: | |
| - name: Set GBB flags to 0x18 by servo (Allow to fail) ('cros_set_gbb_by_servo') (time:'5m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Check KVM is enabled (Allow to fail) ('cros_run_command') (time:'15s') | |
| dependencies: | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Has repair-request for re-provision ('dut_has_any_repair_requests') | |
| recoveries: | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (with FW update) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode, with force to DEV-mode ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| dependencies: | |
| - name: Set GBB flags to 0x18 by servo (Allow to fail) ('cros_set_gbb_by_servo') (time:'5m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Check if last provision was good ('cros_is_last_provision_successful') | |
| dependencies: | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Read OS version ('cros_read_os_version') | |
| dependencies: | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode, with force to DEV-mode ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| dependencies: | |
| - name: Set GBB flags to 0x18 by servo (Allow to fail) ('cros_set_gbb_by_servo') (time:'5m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (with FW update) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode, with force to DEV-mode ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| dependencies: | |
| - name: Set GBB flags to 0x18 by servo (Allow to fail) ('cros_set_gbb_by_servo') (time:'5m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Python is present ('cros_has_python_interpreter_working') | |
| dependencies: | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Read OS version ('cros_read_os_version') | |
| dependencies: | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode, with force to DEV-mode ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| dependencies: | |
| - name: Set GBB flags to 0x18 by servo (Allow to fail) ('cros_set_gbb_by_servo') (time:'5m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Verify that device is not enrolled (Allow to fail) ('cros_is_enrollment_in_clean_state') | |
| dependencies: | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Cleanup the enrollment state and wait for boot (Allow to fail) ('cros_enrollment_cleanup') (time:'10m0s') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Check power sources ('sample_pass') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: cros_is_not_virtual_machine | |
| dependencies: | |
| - name: Power is recognized by DUT ('cros_is_ac_power_connected') | |
| recoveries: | |
| - name: Power cycle DUT by RPM and wait ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: RPM config present ('device_has_rpm_info') | |
| dependencies: | |
| - name: rpm_power_cycle | |
| - name: Set servo PD to src (Allow to fail) ('servo_set') (ALWAYS_RUN) | |
| - name: Try cold reset DUT by servo (Allow to fail) ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Battery is changing or have accepted level ('cros_is_battery_chargable_or_good_level') | |
| conditions: | |
| - name: cros_is_battery_expected | |
| - name: cros_is_not_virtual_machine | |
| - name: Battery is expected on device ('dut_has_battery') | |
| - name: Battery is present on device ('cros_is_battery_present') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Recover by disabling factory settings ('sample_pass') | |
| conditions: | |
| - name: Device without cros EC ('dut_check_board') (RUN_ONCE) | |
| - name: Battery is expected on device ('dut_has_battery') | |
| - name: Battery is present on device ('cros_is_battery_present') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Disable factory settings on the DUT ('cros_run_command') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Shutdown DUT by SSH ('cros_run_command') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Set RPM OFF ('device_rpm_power_off') (ALWAYS_RUN) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Set RPM ON ('device_rpm_power_on') (ALWAYS_RUN) | |
| - name: Set servo PD to src (Allow to fail) ('servo_set') (ALWAYS_RUN) | |
| - name: Power cycle DUT by RPM and wait ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: RPM config present ('device_has_rpm_info') | |
| dependencies: | |
| - name: rpm_power_cycle | |
| - name: Set servo PD to src (Allow to fail) ('servo_set') (ALWAYS_RUN) | |
| - name: Try cold reset DUT by servo (Allow to fail) ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Check TPM statuses ('cros_is_tpm_in_good_status') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: cros_is_not_virtual_machine | |
| - name: cros_is_tpm_present | |
| recoveries: | |
| - name: ChromeOS TMP recovery (not critical) (Allow to fail) ('cros_run_shell_command') | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Read TPM ownership (Allow to fail) ('cros_run_command') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Is hwsec-ownership-id expected ('cros_is_on_expected_version') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Verify tpm_fwver is updated correctly ('cros_match_dev_tpm_firmware_version') | |
| conditions: | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Install OS in recovery mode by booting from servo USB-drive (no storage check) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive (no storage check) ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Update FW from fw-image by servo and wait for boot ('sample_pass') | |
| conditions: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Flash EC (FW) by servo (allowed failed) (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h50m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s') | |
| - name: Disable software write protection via servo (Allow to fail) ('cros_disable_software_write_protection_by_servo') (time:'1m0s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Flash AP (FW) with GBB 0x18 by servo (Allow to fail) ('cros_update_fw_with_fw_image_by_servo') (time:'1h30m0s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Recovery version has firmware image path ('has_stable_version_fw_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Update fingerpprint FW from USB drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'16m40s') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Set fw_wp_state to force_off ('servo_set') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device does not have Intel AMT ('sample_fail') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Boot Flex from USB on next boot ('cros_flex_usb_nextboot') (ALWAYS_RUN) | |
| conditions: | |
| - name: Device has UEFI firmware ('cros_run_command') (ALWAYS_RUN) | |
| - name: Power OFF DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power ON DUT by servo ('servo_set') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive (Flex with AMT) ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Device has Intel AMT ('sample_pass') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Direct USB-drive to DUT ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Print active devices (Allow to fail) ('cros_run_command') (ALWAYS_RUN) | |
| - name: Is Flex booted from USB-drive ('cros_run_command') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Run chromeos-install for Flex ('cros_run_command') (ALWAYS_RUN) (time:'10m0s') | |
| dependencies: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Sleep 10 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'11s') | |
| - name: Power-off the DUT using AMT ('cros_flex_amt_power_off') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Direct USB-drive to servo host ('servo_set') (ALWAYS_RUN) (time:'20s') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Power-on the DUT using AMT ('cros_flex_amt_power_on') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Intel AMT is present ('cros_flex_amt_present') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is Flex device ('dut_check_board') (RUN_ONCE) | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Reset power using servo if booted from USB ('sample_pass') | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| recoveries: | |
| - name: Cold reset by servo and wait for SSH ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Repair by powerwash ('sample_pass') | |
| conditions: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Write factory-install-reset to file system (Allow to fail) ('cros_run_shell_command') | |
| - name: Simple reboot ('cros_run_command') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Boot DUT from USB in DEV mode ('cros_dev_mode_boot_from_servo_usb_drive') (ALWAYS_RUN) (time:'10m50s') | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Run install after boot from USB-drive ('cros_run_chromeos_install_command_after_boot_usbdrive') (ALWAYS_RUN) (time:'20m0s') | |
| - name: Cold reset DUT by servo and wait to boot ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Cold reset DUT by servo ('servo_power_state_reset') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Wait to be pingable (normal boot) ('cros_ping') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| recoveries: | |
| - name: Quick provision OS ('sample_pass') | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| - name: Internal storage is responsive ('cros_is_file_system_writable') | |
| dependencies: | |
| - name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s') | |
| dependencies: | |
| - name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s') | |
| - name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: ChromeOS TMP recovery (not critical) (Allow to fail) ('cros_run_shell_command') | |
| - name: Install OS in recovery mode by booting from servo USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| dependencies: | |
| - name: Servo USB-Key needs to be reflashed ('sample_pass') | |
| conditions: | |
| - name: It is time to update USB-drive image ('cros_is_time_to_force_download_image_to_usbkey') | |
| dependencies: | |
| - name: Download stable image to USB-key (Allow to fail) ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Download stable version OS image to servo usbkey if necessary (allow fail) (Allow to fail) ('sample_pass') (RUN_ONCE) | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Stable version image is missing from servo usbkey ('sample_fail') | |
| conditions: | |
| - name: Servo usbkey has stable image ('servo_usbkey_has_stable_image') | |
| dependencies: | |
| - name: servo_servod_echo_host | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Call servod to download image to USB-key ('servo_download_image_to_usb') (ALWAYS_RUN) (time:'50m0s') | |
| - name: Remove UPDATE_USBKEY_IMAGE repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Boot DUT in recovery and install from USB-drive ('cros_install_in_recovery_mode') (ALWAYS_RUN) (time:'2h13m20s') | |
| - name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s') | |
| - name: Remove REIMAGE_BY_USBKEY repair-request ('dut_remove_repair_requests') (ALWAYS_RUN) | |
| - name: Install OS in DEV mode by USB-drive ('sample_pass') (ALWAYS_RUN) | |
| conditions: | |
| - name: Recovery version has OS image path ('has_stable_version_cros_image') | |
| dependencies: | |
| - name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE) | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |
| conditions: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Is a Chromebook ('dut_check_board') (RUN_ONCE) | |
| - name: Is servo USB key detected ('servo_usbkey_is_detected') | |
| dependencies: | |
| - name: Is servod running ('sample_pass') (ALWAYS_RUN) | |
| dependencies: | |
| - name: Setup has servo info ('dut_servo_host_present') | |
| - name: Verify servod is responsive ('servod_echo') (ALWAYS_RUN) (time:'10s') | |