blob: da591120a922456826d6d6c07ec705c788a9cab0 [file] [log] [blame]
Michael Walshb5839d02017-04-12 16:11:20 -05001*** Settings ***
2Documentation This file is resourced by obmc_boot_test.py to set initial
3... variable values, etc.
4
5Resource ../lib/openbmc_ffdc.robot
6Library ../lib/state.py
7
8Library ../lib/obmc_boot_test.py
9
10*** Variables ***
11# Initialize program parameters variables.
12# Create parm_list containing all of our program parameters. This is used by
13# 'Rqprint Pgm Header'
14@{parm_list} openbmc_nickname openbmc_host openbmc_username
15... openbmc_password os_host os_username os_password pdu_host
16... pdu_username pdu_password pdu_slot_no openbmc_serial_host
17... openbmc_serial_port stack_mode boot_stack boot_list max_num_tests
18... plug_in_dir_paths status_file_path openbmc_model boot_pass boot_fail
19... ffdc_dir_path_style ffdc_check state_change_timeout power_on_timeout
20... power_off_timeout ffdc_only boot_fail_threshold test_mode quiet
21... debug
22
23# Initialize each program parameter.
24${openbmc_host} ${EMPTY}
25${openbmc_nickname} ${openbmc_host}
26${openbmc_username} root
27${openbmc_password} 0penBmc
28${os_host} ${EMPTY}
29${os_username} root
30${os_password} P@ssw0rd
31${pdu_host} ${EMPTY}
32${pdu_username} admin
33${pdu_password} admin
34${pdu_slot_no} ${EMPTY}
35${openbmc_serial_host} ${EMPTY}
36${openbmc_serial_port} ${EMPTY}
37${stack_mode} normal
38${boot_stack} ${EMPTY}
39${boot_list} ${EMPTY}
40${max_num_tests} 0
41${plug_in_dir_paths} ${EMPTY}
42${status_file_path} ${EMPTY}
43${openbmc_model} ${EMPTY}
44# The reason boot_pass and boot_fail are parameters is that it is possible to
45# be called by a program that has already done some tests. This allows us to
46# keep the grand total.
47${boot_pass} ${0}
48${boot_fail} ${0}
49${ffdc_dir_path_style} ${EMPTY}
50${ffdc_check} ${EMPTY}
51${state_change_timeout} 3 mins
52${power_on_timeout} 14 mins
53${power_off_timeout} 2 mins
54${ffdc_only} ${0}
55# If the number of boot failures, exceeds boot_fail_threshold, this program
56# returns non-zero.
57${boot_fail_threshold} ${1000000}
58${test_mode} 0
59${quiet} 0
60${debug} 0
61
62# Flag variables.
63# test_really_running is needed by DB_Logging plug-in.
64${test_really_running} ${1}
65