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_BMC_journalctl.txt
11...                        ├── 20161020045522673810_BMC_proc_list.txt
12...                        ├── 20161020045522673810_BMC_dmesg.txt
13...                        ├── 20161020045522673810_BMC_inventory.txt
14...                        ├── 20161020045522673810_BMC_led.txt
15...                        ├── 20161020045522673810_BMC_record_log.txt
16...                        ├── 20161020045522673810_BMC_sensor_list.txt
17...                        ├── 20161020045522673810_BMC_general.txt
18...                        ├── 20161020045522673810_OS_dmesg.txt
19...                        ├── 20161020045522673810_OS_msglog.txt
20...                        ├── 20161020045522673810_OS_cpufrequency.txt
21...                        ├── 20161020045522673810_OS_boot.txt
22...                        ├── 20161020045522673810_OS_isusb.txt
23...                        ├── 20161020045522673810_OS_kern.txt
24...                        ├── 20161020045522673810_OS_authlog.txt
25...                        ├── 20161020045522673810_OS_syslog.txt
26...                        ├── 20161020045522673810_OS_info.txt
27...                        ├── 20161020045522673810_OS_rsct.txt
28...                        └── 20161020045522673810_OS_secure.txt
29
30
31Resource           ../lib/openbmc_ffdc.robot
32
33Test Teardown      Gather FFDC
34
35*** Test Cases ***
36
37My FFDC Logs
38    [Documentation]  This test is needed to satisfy FFDC initial setup auto
39    ...              variables required for FFDC collection.
40    Log To Console   Manual FFDC collection
41
42** Keywords ***
43
44Gather FFDC
45    [Documentation]  Call point to call FFDC robot or FFDC script..
46    Run Keyword If  ${FFDC_DEFAULT} == ${1}  FFDC    # Keyword from openbmc_ffdc.py
47    ...    ELSE  ffdc_robot_script_cli               # Keyword from ffdc_cli_robot_script.py
48
49
50