xref: /openbmc/openbmc-test-automation/docs/boot_test.md (revision 4cf655c2b6ec928476def5f07ffcf5ac928f5068)
1Boot test is one of the cornerstone of OpenBMC test infrastructure.
2
3The boot plugins are used in the test and as well can be use a stand-alone
4mechanism to test your system to run variety of supported boot sequences.
5
6**Boot test sequence example:**
7
8```
9robot -v OPENBMC_HOST:xx.xx.xx.xx -v OPENBMC_PASSWORD:xxx -v 'boot_stack:<boot1>:<boot2>:<bootn>:' extended/obmc_boot_test.robot
10```
11
12Where <bootx> is the supported boot type listed in the
13[data/boot_lists/All](https://github.com/openbmc/openbmc-test-automation/blob/master/data/boot_lists/All)
14
15**Example:**
16
17```
18robot -v OPENBMC_HOST:xx.xx.xx.xx  -v OPENBMC_PASSWORD:xxx -v 'boot_stack:Redfish Power On:Redfish Power Off' extended/obmc_boot_test.robot
19```
20
21and it will give the following on the console the boot test report:
22
23```
24Boot Type                                Total Pass Fail
25---------------------------------------- ----- ---- ----
26Redfish Power On                             1    1    0
27Redfish Power On (mfg)                       0    0    0
28IPMI Power On                                0    0    0
29IPMI Power On (mfg)                          0    0    0
30Istep Power On                               0    0    0
31Istep Power On (mfg)                         0    0    0
32Redfish Power Off                            1    1    0
33Redfish Power Off (mfg)                      0    0    0
34Redfish Hard Power Off                       0    0    0
35Redfish Hard Power Off (mfg)                 0    0    0
36IPMI Power Off                               0    0    0
37IPMI Power Off (mfg)                         0    0    0
38IPMI Power Soft                              0    0    0
39IPMI Power Soft (mfg)                        0    0    0
40Host Power Off                               0    0    0
41Host Power Off (mfg)                         0    0    0
42APOR                                         0    0    0
43APOR (mfg)                                   0    0    0
44OBMC Reboot (run)                            0    0    0
45OBMC Reboot (run) (mfg)                      0    0    0
46Redfish OBMC Reboot (run)                    0    0    0
47Redfish OBMC Reboot (run) (mfg)              0    0    0
48OBMC Reboot (off)                            0    0    0
49OBMC Reboot (off) (mfg)                      0    0    0
50Redfish OBMC Reboot (off)                    0    0    0
51Redfish OBMC Reboot (off) (mfg)              0    0    0
52PDU AC Cycle (run)                           0    0    0
53PDU AC Cycle (run) (mfg)                     0    0    0
54PDU AC Cycle (off)                           0    0    0
55PDU AC Cycle (off) (mfg)                     0    0    0
56IPMI MC Reset Warm (run)                     0    0    0
57IPMI MC Reset Warm (run) (mfg)               0    0    0
58IPMI MC Reset Warm (off)                     0    0    0
59IPMI MC Reset Warm (off) (mfg)               0    0    0
60IPMI MC Reset Cold (run)                     0    0    0
61IPMI MC Reset Cold (run) (mfg)               0    0    0
62IPMI MC Reset Cold (off)                     0    0    0
63IPMI MC Reset Cold (off) (mfg)               0    0    0
64IPMI Std MC Reset Warm (run)                 0    0    0
65IPMI Std MC Reset Warm (run) (mfg)           0    0    0
66IPMI Std MC Reset Warm (off)                 0    0    0
67IPMI Std MC Reset Warm (off) (mfg)           0    0    0
68IPMI Std MC Reset Cold (run)                 0    0    0
69IPMI Std MC Reset Cold (run) (mfg)           0    0    0
70IPMI Std MC Reset Cold (off)                 0    0    0
71IPMI Std MC Reset Cold (off) (mfg)           0    0    0
72IPMI Power Cycle                             0    0    0
73IPMI Power Cycle (mfg)                       0    0    0
74IPMI Power Reset                             0    0    0
75IPMI Power Reset (mfg)                       0    0    0
76Auto Reboot                                  0    0    0
77Auto Reboot (mfg)                            0    0    0
78Host initd Reset                             0    0    0
79Host initd Reset (mfg)                       0    0    0
80Host Reboot                                  0    0    0
81Host Reboot (mfg)                            0    0    0
82RF SYS GracefulRestart                       0    0    0
83RF SYS GracefulRestart (mfg)                 0    0    0
84RF SYS ForceRestart                          0    0    0
85RF SYS ForceRestart (mfg)                    0    0    0
86Tool Initd MP Reboot                         0    0    0
87Tool Initd MP Reboot (mfg)                   0    0    0
88OPAL TI                                      0    0    0
89OPAL TI (mfg)                                0    0    0
90========================================================
91Totals                                       2    2    0
92```
93