blob: 5e9538663c996378f7bc3bbc9703b4722bb97a30 [file] [log] [blame]
Jay Azurine4c52eb2016-08-16 20:51:10 -05001*** Settings ***
2Documentation This testsuite updates the PNOR image on the host for
3... hostboot CI purposes.
4
5Resource ../lib/utils.robot
6Resource ../lib/connection_client.robot
7
8*** Variables ***
9
10*** Test Cases ***
11
12Host BIOS Update And Boot
13 [Tags] open-power
14 [Documentation] This test updates the PNOR image on the host (BIOS), and
15 ... validates that hosts boots normally.
16 Reach System Steady State
17 Update PNOR Image
18 Validate IPL
19
20*** Keywords ***
21
22Reach System Steady State
23 [Documentation] Reboot the BMC, power off the Host and clear any previous
24 ... events
25 Trigger Warm Reset
26 Initiate Power Off
27 Clear BMC Record Log
28
29Update PNOR Image
30 [Documentation] Copy the PNOR image to the BMC /tmp dir and flash it.
31 Copy PNOR to BMC
32 ${pnor_path} ${pnor_basename}= Split Path ${PNOR_IMAGE_PATH}
33 Flash PNOR /tmp/${pnor_basename}
34 Wait Until Keyword Succeeds 7 min 10 sec Is PNOR Flash Done
35
36Validate IPL
37 [Documentation] Power the host on, and validate the IPL
38 Initiate Power On
39 Wait Until Keyword Succeeds 10 min 30 sec Is System State Host Booted
40
41