Home
last modified time | relevance | path

Searched refs:BuiltIn (Results 1 – 25 of 39) sorted by relevance

12

/openbmc/openbmc-test-automation/lib/
H A Dopenbmc_ffdc.py13 from robot.libraries.BuiltIn import BuiltIn
51 OPENBMC_HOST = BuiltIn().get_variable_value("${OPENBMC_HOST}")
90 BuiltIn().set_global_variable("${LOG_PREFIX}", LOG_PREFIX)
102 BuiltIn().fail(error_message)
139 FFDC_TIME = BuiltIn().run_keyword(*cmd_buf)
140 BuiltIn().set_global_variable("${FFDC_TIME}", FFDC_TIME)
142 ffdc_dir_path_style = BuiltIn().get_variable_value(
173 BuiltIn().fail(error_message)
186 FFDC_TIME = BuiltIn().get_variable_value("${FFDC_TIME}")
190 OPENBMC_NICKNAME = BuiltIn().get_variable_value(
[all …]
H A Dbmc_ssh_utils.py11 from robot.libraries.BuiltIn import BuiltIn
50 ssh_port = BuiltIn().get_variable_value("${SSH_PORT}", default="22")
51 openbmc_username = BuiltIn().get_variable_value(
54 openbmc_password = BuiltIn().get_variable_value(
78 ) or BuiltIn().get_variable_value("${USER_TYPE}", default="")
136 os_username = BuiltIn().get_variable_value(
140 os_password = BuiltIn().get_variable_value(
201 xcat_username = BuiltIn().get_variable_value(
204 xcat_password = BuiltIn().get_variable_value(
265 device_username = BuiltIn().get_variable_value(
[all …]
H A Dstate.py40 from robot.libraries.BuiltIn import BuiltIn
429 BuiltIn().fail(gp.sprint_error(error_message))
499 BuiltIn().fail(gp.sprint_error(error_message))
505 BuiltIn().fail(gp.sprint_error(error_message))
511 BuiltIn().fail(gp.sprint_error(error_message))
523 BuiltIn().fail(gp.sprint_error(error_message))
625 BuiltIn().fail(gp.sprint_error(error_message))
631 BuiltIn().fail(gp.sprint_error(error_message))
637 BuiltIn().fail(gp.sprint_error(error_message))
1145 BuiltIn().fail(message)
[all …]
H A Dipmi_client.py11 from robot.libraries.BuiltIn import BuiltIn
15 ipmi_cipher_suite = BuiltIn().get_variable_value("${IPMI_CIPHER_LEVEL}", "17")
16 ipmi_timeout = BuiltIn().get_variable_value("${IPMI_TIMEOUT}", "3")
17 ipmi_port = BuiltIn().get_variable_value("${IPMI_PORT}", "623")
18 ipmi_username = BuiltIn().get_variable_value("${IPMI_USERNAME}", "root")
19 ipmi_password = BuiltIn().get_variable_value("${IPMI_PASSWORD}", "0penBmc")
20 ipmi_host = BuiltIn().get_variable_value("${OPENBMC_HOST}")
153 ipmi_user_options = BuiltIn().get_variable_value(
H A Dobmc_boot_test.py35 from robot.libraries.BuiltIn import BuiltIn
300 BuiltIn().set_log_level("NONE")
306 BuiltIn().set_global_variable(
309 BuiltIn().set_global_variable(
312 BuiltIn().set_global_variable(
316 BuiltIn().set_global_variable(
365 BuiltIn().set_log_level("NONE")
373 BuiltIn().set_global_variable(
583 BuiltIn().set_global_variable(
1174 BuiltIn().fail(message)
[all …]
H A Dbmc_redfish.py16 from robot.libraries.BuiltIn import BuiltIn
18 MTLS_ENABLED = BuiltIn().get_variable_value("${MTLS_ENABLED}")
94 BuiltIn().log_to_console(str(except_type))
95 BuiltIn().log_to_console(str(except_value))
98 BuiltIn().log_to_console(e_message)
105 BuiltIn().log_to_console(str(except_type))
106 BuiltIn().log_to_console(str(except_value))
109 BuiltIn().log_to_console(e_message)
115 BuiltIn().log_to_console(str(except_type))
116 BuiltIn().log_to_console(str(except_value))
[all …]
H A Dgen_robot_utils.py10 from robot.libraries.BuiltIn import BuiltIn
61 pre_var_dict = BuiltIn().get_variables()
63 BuiltIn().import_resource(path)
66 post_var_dict = BuiltIn().get_variables()
74 BuiltIn().set_global_variable(
H A Dos_utils_keywords.py10 from robot.libraries.BuiltIn import BuiltIn
38 BuiltIn().log(timeout)
39 BuiltIn().log(interval)
42 status = BuiltIn().run_keyword_and_return_status(name, *args)
46 BuiltIn().log("Failed as expected")
50 BuiltIn().log("Max retry timeout")
53 BuiltIn().log(time.time())
H A Dutils.py16 from robot.libraries.BuiltIn import BuiltIn
53 BuiltIn().get_variable_value("${power_policy_setup}", default=0)
55 bmc_power_policy_method = BuiltIn().get_variable_value(
79 BuiltIn().set_global_variable(
82 BuiltIn().set_global_variable("${ALWAYS_POWER_ON}", "ALWAYS_POWER_ON")
83 BuiltIn().set_global_variable(
88 BuiltIn().set_global_variable(
91 BuiltIn().set_global_variable("${power_policy_setup}", 1)
110 valid_power_policy_vars = BuiltIn().get_variable_value(
H A Dgen_robot_keyword.py8 from robot.libraries.BuiltIn import BuiltIn
60 status, ret_values = BuiltIn().run_keyword_and_ignore_error(
69 BuiltIn().log_to_console(ret_values, stream="STDERR")
72 BuiltIn().fail(ret_values)
H A Dstate_map.py13 from robot.libraries.BuiltIn import BuiltIn
22 BuiltIn().import_resource("state_manager.robot")
23 BuiltIn().import_resource("rest_client.robot")
27 ) or BuiltIn().get_variable_value("${PLATFORM_ARCH_TYPE}", default="power")
H A Ddump_utils.py15 from robot.libraries.BuiltIn import BuiltIn
58 BuiltIn().log_to_console(output)
90 BuiltIn().fail(gp.sprint_error(message))
100 BuiltIn().fail(gp.sprint_error(message))
H A Dlogging_utils.py12 from robot.libraries.BuiltIn import BuiltIn
30 BuiltIn().get_variable_value("${REDFISH_SUPPORT_TRANS_STATE}", default=0)
118 error_logs = BuiltIn().run_keyword("Get Error Logs")
H A Dcode_update_utils.py14 from robot.libraries.BuiltIn import BuiltIn
64 BuiltIn().fail(
96 BuiltIn().fail("Did not find any non-running BMC images.")
144 BuiltIn().fail(message)
189 BuiltIn().log_to_console(member.name)
334 BuiltIn().fail("Found invalid BMC Image: " + image_dir)
H A Djobs_processing.py13 from robot.libraries.BuiltIn import BuiltIn
30 status = BuiltIn().run_keyword_and_return_status(keyword_name)
80 status = BuiltIn().run_keyword_and_return_status(keyword_name, *args)
H A Dbmc_redfish_utils.py12 from robot.libraries.BuiltIn import BuiltIn
14 MTLS_ENABLED = BuiltIn().get_variable_value("${MTLS_ENABLED}")
26 self._redfish_ = BuiltIn().get_library_instance("redfish")
42 BuiltIn().set_global_variable(
73 BuiltIn().log_to_console(
136 BuiltIn().log_to_console(valid_path_list)
322 BuiltIn().log_to_console(
H A Dopenbmc_ffdc_list.py10 from robot.libraries.BuiltIn import BuiltIn
193 BuiltIn().get_variable_value(
241 ) or BuiltIn().get_variable_value("${SYSTEM_ID}", default="system")
290 ) or BuiltIn().get_variable_value("${PLATFORM_ARCH_TYPE}", default="power")
H A Dgen_robot_print.py12 from robot.libraries.BuiltIn import BuiltIn
41 var_value = BuiltIn().get_variable_value("${" + str(var_name) + "}")
H A Dredfish_plus.py13 from robot.libraries.BuiltIn import BuiltIn
15 host = BuiltIn().get_variable_value("${OPENBMC_HOST}")
16 MTLS_ENABLED = BuiltIn().get_variable_value("${MTLS_ENABLED}")
17 CERT_DIR_PATH = BuiltIn().get_variable_value("${CERT_DIR_PATH}")
18 VALID_CERT = BuiltIn().get_variable_value("${VALID_CERT}")
H A Dgen_robot_valid.py12 from robot.libraries.BuiltIn import BuiltIn
27 var_value = BuiltIn().get_variable_value("${" + var_name + "}")
33 BuiltIn().fail(error_message)
73 BuiltIn().fail(error_message)
/openbmc/openbmc-test-automation/extended/
H A Drun_keyword.py12 from robot.libraries.BuiltIn import BuiltIn
93 BuiltIn().import_library(lib_file_path)
117 output = BuiltIn().run_keyword(*cmd_buf)
120 BuiltIn().set_global_variable("${" + var_name + "}", output)
133 lib_file_path = BuiltIn().get_variable_value("${lib_file_path}")
134 keyword_string = BuiltIn().get_variable_value("${keyword_string}")
135 quiet = int(BuiltIn().get_variable_value("${quiet}"))
136 test_mode = int(BuiltIn().get_variable_value("${test_mode}"))
/openbmc/openbmc-test-automation/data/
H A Dipmi_raw_cmd_table.py10 from robot.libraries.BuiltIn import BuiltIn
226 + BuiltIn().get_variable_value("${CHANNEL_NUMBER}")
232 + BuiltIn().get_variable_value("${CHANNEL_NUMBER}")
238 + BuiltIn().get_variable_value("${CHANNEL_NUMBER}")
H A Dvariables.py9 from robot.libraries.BuiltIn import BuiltIn
68 REDFISH_SYSTEM_ID = BuiltIn().get_variable_value(
192 REDFISH_MANAGERS_ID = BuiltIn().get_variable_value(
221 REDFISH_CHASSIS_ID = BuiltIn().get_variable_value(
278 AUTH_SUFFIX = ":" + BuiltIn().get_variable_value(
H A Dplatform_variables.py11 from robot.libraries.BuiltIn import BuiltIn
/openbmc/openbmc-test-automation/bin/plug_ins/Soft_errors/
H A Dcp_post_boot86 from robot.libraries.BuiltIn import BuiltIn
89 BuiltIn().get_variable_value(

12