blob: 1804fe8ab8d5013ec110c541c9275c092d0215bd [file]
plans:
- name: servo
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: cros
criticalactions:
- name: 'Set state: needs_deploy (''dut_set_state'') (RUN_ONCE)'
- name: Check stable versions exist ('sample_pass')
conditions:
- name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE)
dependencies:
- 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: Check stable firmware version exists ('has_stable_version_fw_version')
conditions:
- name: Is a Chromebook ('dut_check_board') (RUN_ONCE)
- name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE)
- name: Download stable version OS image to servo usbkey if necessary ('sample_pass')
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: Device is pingable before deploy ('cros_ping') (time:'15s')
recoveries:
- 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: 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: DUT is on test channel OS ('cros_is_os_test_channel')
dependencies:
- name: Device is pingable before deploy ('cros_ping') (time:'15s')
recoveries:
- 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: 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: Device NOT booted from USB-drive ('sample_fail') (ALWAYS_RUN)
conditions:
- name: Is a Chromebook ('dut_check_board') (RUN_ONCE)
- name: Device booted from USB-drive ('cros_booted_from_external_storage') (ALWAYS_RUN)
recoveries:
- name: Set default boot as disk and reboot ('sample_pass') (ALWAYS_RUN)
dependencies:
- name: Set default boot as disk ('cros_update_crossystem')
- name: Simple reboot ('cros_run_command') (ALWAYS_RUN)
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
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 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: 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: 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: Install OS in DEV mode with fresh image ('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: 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: 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: Collect firmware target (Allow to fail) ('cros_collect_firmware_target') (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')
- name: Is crosid readable ('cros_run_command')
conditions:
- name: Is a Chromebook ('dut_check_board') (RUN_ONCE)
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Is crosid present ('cros_run_command')
recoveries:
- name: Repair by Reboot ('sample_pass') (ALWAYS_RUN)
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: 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: Remove whitelabel_tag from vpd and reboot ('sample_pass') (ALWAYS_RUN)
conditions:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Is a Chromebook ('dut_check_board') (RUN_ONCE)
dependencies:
- name: Delete whitelabel_tag from vpd ('cros_run_command') (ALWAYS_RUN)
dependencies:
- name: Is a Chromebook ('dut_check_board') (RUN_ONCE)
- 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')
recoveries:
- name: Sleep 1s (Allow to fail) ('sample_sleep') (ALWAYS_RUN)
- 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: DUT has correct cros image version ('cros_is_on_stable_version')
conditions:
- name: Is it first deployment task ('sample_fail') (ALWAYS_RUN)
conditions:
- name: Is HWID known ('dut_has_hwid') (ALWAYS_RUN)
- name: Is serial-number known ('dut_has_serial_number') (ALWAYS_RUN)
- 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: Has a stable-version service ('has_stable_version_service_path') (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 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: Install OS in DEV mode with fresh image ('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: 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: 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: Install OS in DEV mode, with force to DEV-mode with test firmware ('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)
- 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)
dependencies:
- name: Flash EC (FW) by servo ('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: Sleep 60 seconds (Allow to fail) ('sample_sleep') (ALWAYS_RUN) (time:'1m10s')
- 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: DUT has expected dev firmware ('cros_has_dev_signed_firmware') (time:'10m0s')
conditions:
- name: Is a Chromebook ('dut_check_board') (RUN_ONCE)
- name: Device not in MP Signed AP FW pool ('dut_not_in_pool')
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: Update DUT firmware with factory mode and restart by servo ('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: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Collect HWID into inventory ('sample_pass') (RUN_ONCE)
dependencies:
- name: Read HWID from DUT ('cros_update_hwid_to_inventory') (ALWAYS_RUN)
conditions:
- name: Not Satlab device ('sample_fail')
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Read HWID from DUT (Satlab) (Allow to fail) ('cros_update_hwid_to_inventory') (ALWAYS_RUN)
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Disable software-controlled write-protect for 'internal' (Allow to fail) ('cros_disable_fprom_write_protect') (ALWAYS_RUN) (time:'5m0s')
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Disable software-controlled write-protect for 'ec' (Allow to fail) ('cros_disable_fprom_write_protect') (ALWAYS_RUN) (time:'5m0s')
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Try to update FW from firmware image with factory mode (Allow to fail) ('cros_update_firmware_from_firmware_image') (ALWAYS_RUN) (time:'2h0m0s')
conditions:
- name: has_stable_version_fw_image
- name: Try to update FW from OS image with factory mode (Allow to fail) ('cros_run_firmware_update') (ALWAYS_RUN) (time:'15m0s')
conditions:
- name: Missing stable fw image ('sample_fail')
conditions:
- name: has_stable_version_fw_image
- 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: Update DUT firmware with factory mode and restart by host ('sample_pass') (ALWAYS_RUN)
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Collect HWID into inventory ('sample_pass') (RUN_ONCE)
dependencies:
- name: Read HWID from DUT ('cros_update_hwid_to_inventory') (ALWAYS_RUN)
conditions:
- name: Not Satlab device ('sample_fail')
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Read HWID from DUT (Satlab) (Allow to fail) ('cros_update_hwid_to_inventory') (ALWAYS_RUN)
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Disable software-controlled write-protect for 'internal' (Allow to fail) ('cros_disable_fprom_write_protect') (ALWAYS_RUN) (time:'5m0s')
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Disable software-controlled write-protect for 'ec' (Allow to fail) ('cros_disable_fprom_write_protect') (ALWAYS_RUN) (time:'5m0s')
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Try to update FW from firmware image with factory mode (Allow to fail) ('cros_update_firmware_from_firmware_image') (ALWAYS_RUN) (time:'2h0m0s')
conditions:
- name: has_stable_version_fw_image
- name: Try to update FW from OS image with factory mode (Allow to fail) ('cros_run_firmware_update') (ALWAYS_RUN) (time:'15m0s')
conditions:
- name: Missing stable fw image ('sample_fail')
conditions:
- name: has_stable_version_fw_image
- 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: DUT has expected firmware version ('sample_pass') (ALWAYS_RUN)
conditions:
- name: Is it first deployment task ('sample_fail') (ALWAYS_RUN)
conditions:
- name: Is HWID known ('dut_has_hwid') (ALWAYS_RUN)
- name: Is serial-number known ('dut_has_serial_number') (ALWAYS_RUN)
- name: Is a Chromebook ('dut_check_board') (RUN_ONCE)
- name: Collect HWID into inventory ('sample_pass') (RUN_ONCE)
dependencies:
- name: Read HWID from DUT ('cros_update_hwid_to_inventory') (ALWAYS_RUN)
conditions:
- name: Not Satlab device ('sample_fail')
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Read HWID from DUT (Satlab) (Allow to fail) ('cros_update_hwid_to_inventory') (ALWAYS_RUN)
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Device not in MP Signed AP FW pool ('dut_not_in_pool')
- name: Has a stable-version service ('has_stable_version_service_path') (RUN_ONCE)
- name: Check stable firmware version exists ('has_stable_version_fw_version')
conditions:
- name: Is a Chromebook ('dut_check_board') (RUN_ONCE)
- 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)
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: DUT has expected RO firmware version ('cros_is_on_ro_firmware_stable_version') (ALWAYS_RUN)
recoveries:
- name: Fix FW on the DUT to match stable-version and wait to boot ('sample_pass')
dependencies:
- name: Fix FW on the DUT to match stable-version (Allow to fail) ('cros_update_firmware_from_firmware_image') (time:'2h0m0s')
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)
dependencies:
- name: Provision OS if needed ('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: DUT not on stable version ('cros_not_on_stable_version')
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s')
- name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN)
- name: Disable software-controlled write-protect for 'internal' (Allow to fail) ('cros_disable_fprom_write_protect') (ALWAYS_RUN) (time:'5m0s')
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Disable software-controlled write-protect for 'ec' (Allow to fail) ('cros_disable_fprom_write_protect') (ALWAYS_RUN) (time:'5m0s')
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- 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: 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: DUT has expected RW firmware version ('cros_is_on_rw_firmware_stable_version') (ALWAYS_RUN)
recoveries:
- name: Fix FW on the DUT to match stable-version and wait to boot ('sample_pass')
dependencies:
- name: Fix FW on the DUT to match stable-version (Allow to fail) ('cros_update_firmware_from_firmware_image') (time:'2h0m0s')
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)
dependencies:
- name: Provision OS if needed ('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: DUT not on stable version ('cros_not_on_stable_version')
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Call provision for DUT ('cros_provision') (ALWAYS_RUN) (time:'1h0m0s')
- name: Remove PROVISION repair-request ('dut_remove_repair_requests') (ALWAYS_RUN)
- name: Disable software-controlled write-protect for 'internal' (Allow to fail) ('cros_disable_fprom_write_protect') (ALWAYS_RUN) (time:'5m0s')
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- name: Disable software-controlled write-protect for 'ec' (Allow to fail) ('cros_disable_fprom_write_protect') (ALWAYS_RUN) (time:'5m0s')
dependencies:
- name: Device is SSHable ('cros_ssh') (ALWAYS_RUN) (time:'15s')
- 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: 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: Deployment checks ('sample_pass')
conditions:
- name: Not Satlab device ('sample_fail')
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Is it first deployment task ('sample_fail') (ALWAYS_RUN)
conditions:
- name: Is HWID known ('dut_has_hwid') (ALWAYS_RUN)
- name: Is serial-number known ('dut_has_serial_number') (ALWAYS_RUN)
dependencies:
- name: Verify battery charging level ('cros_battery_changable_to_expected_level') (time:'2h30m0s')
conditions:
- name: Is not in audio box ('sample_fail')
conditions:
- name: dut_is_in_audio_box
- name: Battery is expected on device ('dut_has_battery')
- name: Battery is present on device ('cros_is_battery_present') (ALWAYS_RUN)
dependencies:
- name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s')
- name: Verify boot in recovery mode ('cros_install_in_recovery_mode') (time:'25m0s')
dependencies:
- name: Is servod running ('sample_pass') (ALWAYS_RUN)
dependencies:
- name: Setup has servo info ('dut_servo_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 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: 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: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s')
- name: Verify RPM config ('sample_pass')
conditions:
- name: 'RPM set state: MISSING_CONFIG (''set_rpm_state'')'
- name: RPM config present ('device_has_rpm_info')
- name: Not a Dolos pool ('dut_not_in_pool')
dependencies:
- name: Audit RPM config (with battery) ('rpm_audit_with_battery') (time:'10m0s')
conditions:
- name: Battery is present on device ('cros_is_battery_present') (ALWAYS_RUN)
dependencies:
- name: 'RPM set state: WRONG_CONFIG (''set_rpm_state'')'
- name: Audit RPM config (without battery) ('rpm_audit_without_battery') (time:'10m0s')
conditions:
- name: No Battery is present on device ('sample_fail')
conditions:
- name: Battery is present on device ('cros_is_battery_present') (ALWAYS_RUN)
dependencies:
- name: 'RPM set state: WRONG_CONFIG (''set_rpm_state'')'
- name: Wait to be SSHable (normal boot) ('cros_ssh') (ALWAYS_RUN) (time:'2m30s')
- name: Collect DUT labels ('sample_pass')
dependencies:
- name: Collect HWID into inventory ('sample_pass') (RUN_ONCE)
dependencies:
- name: Read HWID from DUT ('cros_update_hwid_to_inventory') (ALWAYS_RUN)
conditions:
- name: Not Satlab device ('sample_fail')
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Read HWID from DUT (Satlab) (Allow to fail) ('cros_update_hwid_to_inventory') (ALWAYS_RUN)
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Read DUT serial-number from DUT ('cros_update_serial_number_inventory') (ALWAYS_RUN)
conditions:
- name: Not Satlab device ('sample_fail')
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Read DUT serial-number from DUT (Satlab) (Allow to fail) ('cros_update_serial_number_inventory') (ALWAYS_RUN)
conditions:
- name: Is Satlab device ('dut_regex_name_match')
- name: Read device SKU (Allow to fail) ('cros_update_device_sku')
conditions:
- name: Is a Chromebook ('dut_check_board') (RUN_ONCE)
- name: dut_does_not_have_device_sku ('sample_fail')
conditions:
- name: dut_has_device_sku
- name: servo_type_label (Allow to fail) ('servo_update_servo_type_label')
- name: Read RO_VPD from DUT ('cros_update_ro_vpd_inventory')
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 cellular labels (Allow to fail) ('sample_pass')
conditions:
- name: Is in cellular pool ('dut_is_in_pool_regex') (RUN_ONCE)
dependencies:
- name: Update cellular modem labels ('cros_update_cellular_modem_labels') (RUN_ONCE)
conditions:
- name: Is in cellular pool ('dut_is_in_pool_regex') (RUN_ONCE)
- name: has_cellular_info
dependencies:
- name: Cellular modem is up ('cros_audit_cellular_modem') (time:'3m0s')
conditions:
- name: Is in cellular pool ('dut_is_in_pool_regex') (RUN_ONCE)
- name: cros_has_mmcli
- name: has_cellular_info
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: Update cellular sim labels ('cros_update_cellular_sim_labels') (RUN_ONCE) (time:'6m0s')
conditions:
- name: Is in cellular pool ('dut_is_in_pool_regex') (RUN_ONCE)
- name: has_cellular_info
- name: Is not starfish device ('carrier_not_in') (RUN_ONCE)
conditions:
- name: Is in cellular pool ('dut_is_in_pool_regex') (RUN_ONCE)
- name: has_cellular_info
dependencies:
- name: Cellular modem is up ('cros_audit_cellular_modem') (time:'3m0s')
conditions:
- name: Is in cellular pool ('dut_is_in_pool_regex') (RUN_ONCE)
- name: cros_has_mmcli
- name: has_cellular_info
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: cros_has_only_one_sim_profile
- name: DUT verify ('sample_pass')
dependencies:
- 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: 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)