xref: /openbmc/openbmc-test-automation/tools/myffdc.robot (revision 8db0e1b588e8ba109e8c4bb0c847a08ff12ca591)
1*** Settings ***
2Documentation      This module is for triggering data collection on demand
3...                by manually running this robot suite.
4...                Usage:
5...                python -m robot -v OPENBMC_HOST:xx.xx.xx.xx myffdc.robot
6...                Logs will be generated as shown below
7...                logs
8...                └── 20161020045522673810_Myffdc
9...                    └── 20161020045522673810_MyFFDCLogs
10...                        ├── 20161020045522673810_MyFFDCLogs
11...                        ├── 20161020045522673810_BMC_dmesg
12...                        ├── 20161020045522673810_BMC_inventory
13...                        ├── 20161020045522673810_BMC_journalctl.log
14...                        ├── 20161020045522673810_BMC_led
15...                        ├── 20161020045522673810_BMC_proc_list
16...                        ├── 20161020045522673810_BMC_record_log
17...                        ├── 20161020045522673810_BMC_sensor_list
18...                        └── 20161020045522673810_ffdc_report.txt
19
20Resource           ../lib/openbmc_ffdc.robot
21
22Test Teardown      Gather FFDC
23
24*** Test Cases ***
25
26My FFDC Logs
27    [Documentation]  This test is needed to satisfy FFDC initial setup auto
28    ...              variables required for FFDC collection.
29    Log To Console   Manual FFDC collection
30
31** Keywords ***
32
33Gather FFDC
34    Run Keyword And Ignore Error   Log FFDC If Test Case Failed
35