/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_disable.robot | 15 [Teardown] Run Keywords FFDC On Test Case Fail 16 ... AND Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access on 19 Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access off 20 Run Keyword and Expect Error *Unable to establish IPMI* 21 ... Run External IPMI Standard Command lan print ${CHANNEL_NUMBER} 24 Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access on 35 [Teardown] Run Keywords FFDC On Test Case Fail 36 ... AND Run Inband IPMI Standard Command lan set ${CHANNEL_NUMBER} access on 39 ${resp}= Run Keyword and Ignore Error 40 ... Run External IPMI Standard Command lan set ${CHANNEL_NUMBER} access off [all …]
|
H A D | test_ipmi_sol.robot | 30 ${msg}= Run Keyword Run External IPMI Standard Command 45 ${msg}= Run Keyword Run External IPMI Standard Command 55 ${msg}= Run Keyword And Expect Error * Run External IPMI Standard Command 78 ${msg}= Run Keyword And Expect Error * Run External IPMI Standard Command 90 ${msg}= Run Keyword And Expect Error * Run External IPMI Standard Command 102 ${msg}= Run Keyword And Expect Error * Run External IPMI Standard Command 114 ${msg}= Run Keyword And Expect Error * Run External IPMI Standard Command 126 ${msg}= Run Keyword And Expect Error * Run External IPMI Standard Command 144 ${status}= Run Keyword And Return Status Wait Until Keyword Succeeds 10 mins 15 secs 147 Run Keyword If '${status}' == 'False' [all …]
|
H A D | test_ipmi_user.robot | 43 [Teardown] Run Keywords FFDC On Test Case Fail AND 50 Run IPMI Standard Command user enable ${random_userid} 64 [Teardown] Run Keywords FFDC On Test Case Fail AND 70 Run IPMI Standard Command 72 Run IPMI Standard Command user enable ${random_userid} 94 [Teardown] Run Keywords FFDC On Test Case Fail AND 107 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command 123 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command 133 [Teardown] Run Keywords FFDC On Test Case Fail AND 140 ${msg}= Run Keyword And Expect Error * Run IPMI Standard Command [all …]
|
H A D | test_ipmi_cold_reset.robot | 47 Run IPMI Command ${IPMI_RAW_CMD['Cold Reset']['reset'][0]} 55 ${resp}= Run IPMI Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 64 ${resp}= Run Keyword and Expect Error *Request data length invalid* 65 ... Run IPMI Command ${IPMI_RAW_CMD['Cold Reset']['reset'][0]} 0x00 94 Run IPMI Command ${IPMI_RAW_CMD['Cold Reset']['reset'][0]} 102 ... Run IPMI Standard Command sensor | grep -i "${sensor_name}" 117 ... Run IPMI Standard Command sensor 134 ${discrete_sensor_status}= Run Keyword And Return Status Should Contain ${sensor} discrete 166 ${lower_non_recoverable_threshold_status}= Run Keyword And Return Status Should Not Contain 168 Run Keyword If '${lower_non_recoverable_threshold_status}' == 'True' [all …]
|
H A D | test_ipmi_sel.robot | 47 ${resp}= Run IPMI Standard Command sel elist last 1 54 Run IPMI Standard Command sel clear 59 ${resp}= Run IPMI Standard Command sel list 72 [Teardown] Run Keywords FFDC On Test Case Fail AND Run IPMI Standard Command sel clear 80 ${resp}= Run IPMI Standard Command sel elist last 1 83 Run Keywords Should Contain ${resp} system hardware failure AND 90 [Teardown] Run Keywords FFDC On Test Case Fail AND Run IPMI Standard Command sel clear 109 ${resp}= Run IPMI Standard Command sel elist 139 ${resp}= Run IPMI Command 145 Run IPMI Command [all …]
|
H A D | test_ipmi_watchdog.robot | 124 Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Set'][72]} 127 ${resp}= Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Get'][0]} 146 ${resp}= Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Get'][0]} 152 Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Reset'][0]} 175 Run Keyword and Expect Error *Invalid data field* 176 ... Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Set'][78]} 193 Run Keyword and Expect Error *Request data length* 194 ... Run IPMI Command ${IPMI_RAW_CMD['Watchdog']['Reset'][3]} 197 Run IPMI Standard Command mc reset cold -N 10 -R 1 202 Run Keyword and Expect Error *Unknown* [all …]
|
H A D | test_ipmi_device_id.robot | 33 ${resp}= Run IPMI Command 42 # Run IPMI Get Device ID command with invalid request data byte. 43 ${resp}= Run Keyword and Expect Error *Request data length invalid* 44 ... Run IPMI Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 0x00 54 ${resp}= Run IPMI Command 61 Run Keyword And Continue On Failure Should Not Be Equal ${resp[0]} 00 69 Run Keyword And Continue On Failure Should Be Equal As Strings ${device_rev[1:4]} 000 78 Run Keyword And Continue On Failure Should Be Equal As Integers 84 Run Keyword And Continue On Failure Should Be Equal As Integers 88 Run Keyword And Continue On Failure Should Be Equal ${resp[4]} 02 [all …]
|
H A D | test_ipmi_poh_counter.robot | 51 ${resp}= Run External IPMI Raw Command 61 ${resp}= Run Keyword and Expect Error *Request data length invalid* 62 ... Run External IPMI Raw Command ${IPMI_RAW_CMD['Get']['POH_Counter'][0]} 0x00 70 ${poh_counter_1}= Run Get POH Command And Return Counter Reading 76 ${poh_counter_2}= Run Get POH Command And Return Counter Reading 89 ${poh_counter_1}= Run Get POH Command And Return Counter Reading 98 ${poh_counter_2}= Run Get POH Command And Return Counter Reading 110 ${poh_counter_1}= Run Get POH Command And Return Counter Reading 119 ${poh_counter_2}= Run Get POH Command And Return Counter Reading 129 Run Get POH Command And Return Counter Reading [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_utils.robot | 20 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 23 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Cold Reset']['reset'][0]} 29 ... Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device ID']['Get'][0]} 32 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Device GUID']['Get'][0]} 35 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_ip'][0]} 38 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_ip_src'][0]} 41 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['lan_parameters']['get_dot1q'][0]} 44 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['SDR_Info']['get'][0]} 47 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['Chassis_status']['get'][0]} 50 Run Inband IPMI Raw Command ${IPMI_RAW_CMD['SEL_Info']['get'][0]} [all …]
|
H A D | connection_client.robot | 32 ${has_host}= Run Keyword and Return Status 34 Run Keyword If ${has_host} == ${FALSE} 37 Run Keyword If 42 ${has_port}= Run Keyword and Return Status 48 Run Keyword If '${SSH_PORT}' != '${EMPTY}' and ${has_port} == ${FALSE} 49 ... Run Keywords 52 ... ELSE Run Keyword SSHLibrary.Open connection &{connection_args} 59 Run Keyword If '${SSH_PORT}' == '${EMPTY}' scp.Open connection ${OPENBMC_HOST} 61 ... ELSE Run Keyword scp.Open connection ${OPENBMC_HOST} port=${SSH_PORT} 84 Run Keyword If '${host}' == '${EMPTY}' Should Not Be Equal ${alias} None [all …]
|
H A D | dmtf_redfishtool_utils.robot | 27 ${rc} ${cmd_output}= Run and Return RC and Output ${cmd} 28 Run Keyword If ${rc} != 0 Is HTTP error Expected ${cmd_output} ${expected_error} 46 ${rc} ${cmd_output}= Run and Return RC and Output ${cmd} 47 Run Keyword If ${rc} != 0 Is HTTP error Expected ${cmd_output} ${expected_error} 66 ${rc} ${cmd_output}= Run and Return RC and Output ${cmd} 67 Run Keyword If ${rc} != 0 Is HTTP error Expected ${cmd_output} ${expected_error} 84 ${rc} ${cmd_output}= Run and Return RC and Output ${cmd} 85 Run Keyword If ${rc} != 0 Is HTTP error Expected ${cmd_output} ${expected_error} 99 ${cmd_rsp_status}= Run Keyword And Return Status Should Not Be Empty ${cmd_rsp} 102 ${rsp_status}= Run Keyword And Return Status Should Be Empty ${matches} [all …]
|
H A D | ipmi_client.robot | 31 Run IPMI Command 32 [Documentation] Run the raw IPMI command. 43 ${resp}= Run Keyword If '${IPMI_COMMAND}' == 'External' 44 ... Run External IPMI Raw Command ${command} ${fail_on_err} &{options} 46 ... Run Inband IPMI Raw Command ${command} 48 ... Run Dbus IPMI RAW Command ${command} 53 Run IPMI Standard Command 54 [Documentation] Run the standard IPMI command. 67 ${resp}= Run Keyword If '${IPMI_COMMAND}' == 'External' 68 … ... Run External IPMI Standard Command ${command} ${fail_on_err} ${expected_rc} &{options} [all …]
|
H A D | state_manager.robot | 28 Run Keyword If '${wait}' == '${0}' Return From Keyword 48 Run Keyword If '${wait}' == '${0}' Return From Keyword 50 ${status}= Run Keyword And Return Status Wait For PowerOff 52 Run Keyword if '${status}' == '${False}' Hard Power Off 75 Run Keyword If '${wait}' == '${0}' Return From Keyword 78 ... 1 min 10 sec Run Keywords Is Chassis Off AND Is Host Off 93 Run Keyword If '${wait}' == '${0}' Return From Keyword 176 ${status}= Run Keyword And Return Status Should Be Equal 184 ${resp}= Run Keyword And Return Status Is Host Quiesced 185 Run Keyword If '${resp}' == 'True' [all …]
|
/openbmc/openbmc-test-automation/lib/pdu/ |
H A D | cyber.robot | 14 ${connection_status}= Run Keyword And Return Status 38 [Teardown] Run Keyword ${lib_name}.Close All Connections 142 Run Keyword ${lib_name}.Read 143 Run Keyword ${lib_name}.Write 1 146 Run Keyword ${lib_name}.Read 147 Run Keyword ${lib_name}.Write 2 152 Run Keyword ${lib_name}.Read 153 Run Keyword ${lib_name}.Write 1 156 Run Keyword ${lib_name}.Read 157 Run Keyword ${lib_name}.Write ${outlet} [all …]
|
/openbmc/openbmc-test-automation/systest/ |
H A D | htx_softbootme_test.robot | 21 Suite Setup Run Keyword And Ignore Error Start SOL Console Logging 43 # Run test 44 Repeat Keyword ${HTX_LOOP} times Run HTX Soft Bootme Exerciser 50 Run HTX Soft Bootme Exerciser 51 [Documentation] Run HTX Soft Bootme Exerciser. 55 # - Run HTX exerciser. 77 Run Keyword If '${HTX_MDT_PROFILE}' == 'mdt.bu' 80 Run MDT Profile 82 Run Soft Bootme ${BOOTME_PERIOD} 86 ... Run Keyword And Return Status Ping Host ${OS_HOST} [all …]
|
H A D | gpu_stress_test.robot | 13 # In summary: Run HTX for $HTX_DURATION, looping 23 Suite Setup Run Keyword Start SOL Console Logging 50 Run Keyword If '${num_os_gpus}' != '${num_bmc_gpus}' 63 Run Keyword If '${status}' == 'True' 78 # - Run GPU specific HTX exerciser 87 Run Key U Sleep \ 15s 97 Run Keyword If '${HTX_MDT_PROFILE}' == 'mdt.bu' 100 Run MDT Profile 116 Run Keyword If ${power} > ${power_max} Fail 121 Run Keyword If ${temperature} > ${temperature_max} Fail msg=${err_msg} [all …]
|
H A D | htx_hardbootme_test.robot | 14 # In summary: Run HTX for $HTX_DURATION, looping 50 Suite Setup Run Keyword And Ignore Error Start SOL Console Logging 84 Run Keyword If '${PREV_INV_FILE_PATH}' != 'NONE' 106 Repeat Keyword ${HTX_LOOP} times Run HTX Exerciser 112 Run HTX Exerciser 113 [Documentation] Run HTX exerciser. 120 # - Run HTX exerciser. 133 Run Keyword ${rest_keyword} Power On stack_mode=skip 134 Run Key U Sleep \ 15s 139 Run Keyword If '${CHECK_INVENTORY}' == 'True' [all …]
|
H A D | network_stability_test.robot | 23 # Run the network stress test HTX_LOOP times in loop. 35 # - Run HTX exerciser 45 Run Keyword If '${HTX_MDT_PROFILE}' == 'mdt.bu' 48 Run MDT Profile 51 ${status}= Run Until Keyword Fails ${HTX_DURATION} ${HTX_INTERVAL} 54 Run Keyword If '${status}' == 'False' 65 Check HTX Run Status 88 Run Keyword If '${status}' == 'True' 99 Run Keyword If '${TEST_STATUS}' == 'FAIL' and ${HTX_KEEP_RUNNING} == ${0}
|
/openbmc/openbmc-test-automation/extended/ |
H A D | standby_bmc.robot | 48 Run Keyword And Ignore Error Powercycle System Via PDU 50 ${ping_status}= Run Keyword And Return Status 54 #Run Keyword if ${ping_status} == ${True} MTU Ping Test 56 Run Keyword if ${ping_status} == ${False} 61 Run Keyword If ${REDFISH_SUPPORTED} 78 ${ready_status}= Run Keyword And Return Status Is BMC Ready 79 Run Keyword If '${ready_status}' == '${False}' 84 Run Keyword And Ignore Error Set BMC Power Policy ${ALWAYS_POWER_OFF} 85 Run Keyword And Ignore Error Delete All Error Logs 86 Run Keyword And Ignore Error Delete All Dumps [all …]
|
H A D | test_bios_update.robot | 44 Run Keyword If '${PREV_TEST_STATUS}' == 'PASS' Validate Power On 52 Run Key U OBMC Boot Test \ REST Power Off 53 Run Key Delete Error logs 58 Run Key Copy PNOR to BMC 60 Run Key Flash PNOR \ /tmp/${pnor_basename} 61 Run Key Wait Until Keyword Succeeds \ 15 min \ 10 sec \ Is PNOR Flash Done 69 Run Key Start SOL Console Logging 70 Run Key U OBMC Boot Test \ REST Power On 77 Run Key ${keyword_buf} 84 Run Key FFDC On Test Case Fail
|
/openbmc/openbmc-test-automation/security/ |
H A D | test_bmc_connections.robot | 66 ${status}= Run Keyword If ${iter} % 100 == 0 Run Keyword And Return Status 68 Run Keyword If ${status} == False Append To List ${fail_list} ${iter} 82 [Teardown] Run Keywords Process.Terminate All Processes AND 91 …${status}= Run Keyword And Return Status SSHLibrary.Login ${OPENBMC_USERNAME} ${OPENBMC_PASSW… 122 ${status}= Run Keyword If ${iter} % 100 == 0 Run Keyword And Return Status 124 Run Keyword If ${status} == False Append To List ${fail_list} ${iter} 144 Run Keyword and Ignore Error 148 ${status}= Run keyword If ${iter} % ${100} == ${0} Run Keyword And Return Status 150 Run Keyword If ${status} == ${False} Append To List ${ssh_status_list} ${status} 175 Run Keyword And Ignore Error Login to GUI With Incorrect Credentials [all …]
|
/openbmc/openbmc-test-automation/ipmi/dcmi/ |
H A D | test_dcmi_asset_tag.robot | 23 Run Keyword Run IPMI Standard Command dcmi set_asset_tag ${random_string} 25 ${asset_tag}= Run Keyword Run IPMI Standard Command dcmi asset_tag 35 ${resp}= Run IPMI Standard Command 45 Run Keyword Run IPMI Standard Command dcmi set_asset_tag ${random_string} 57 Run Keyword And Continue On Failure 72 ${resp}= Run Keyword And Expect Error * 73 ... Run IPMI Command ${cmd} 83 Run Keyword And Continue On Failure 101 ${ret}= Run IPMI Command ${cmd} 113 ${ret}= Run IPMI Command ${cmd} [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/security_and_access_menu/ |
H A D | test_policies_sub_menu.robot | 9 Suite Setup Run Keywords Launch Browser And Login GUI AND Redfish.Login 81 [Teardown] Run Keywords Enable SSH Protocol ${True} AND 86 ${status}= Run Keyword And Return Status 100 ${status}= Run Keyword And Return Status 102 ... Run IPMI Standard Command sel info 115 ... Run IPMI Standard Command sel info 139 Wait Until Keyword Succeeds 2 min 30 sec Run IPMI Standard Command sel info 146 … [Teardown] Run Keywords Wait Until Keyword Succeeds 2 min 15 sec Enable SSH Protocol ${True} 153 ${status}= Run Keyword And Return Status 164 …[Teardown] Run Keywords Wait Until Keyword Succeeds 2 min 15 sec Enable IPMI Protocol ${True} [all …]
|
/openbmc/openbmc-test-automation/redfish/extended/ |
H A D | test_service_restart_policy.robot | 89 ${service_status}= Run Keyword And Return Status Check Service Autorestart ${service} 90 Run Keyword If ${service_status} == False 97 …Run Keyword If ${length_incorrect_autorestart_policy} != 0 and ${length_incorrect_autorestart_pol… 98 ... Run Keywords Log ${incorrect_auto_restart_policy_services} AND 101 ... Run Keywords Log ${incorrect_auto_restart_policy_services} AND 102 …... Run Keyword And Continue On Failure Fail msg=Listed services are having incorrect auto-re… 113 ${main_pid_status}= Run Keyword And Return Status Should Not Be Equal ${0} ${Old_MainPID} 114 … ${active_state_status}= Run Keyword And Return Status Should Be Equal active ${ActiveState} 115 Run Keyword If ${main_pid_status} == False or ${active_state_status} == False 116 ... Run Keywords Append To List ${service_not_started} ${service} AND Continue For Loop [all …]
|
/openbmc/openbmc-test-automation/redfish/managers/ |
H A D | test_multiple_interfaces.robot | 3 ... Run on setup with both eth0 and eth1 in static mode. 24 Test Setup Run Keywords Redfish.Login AND Redfish1.Login 25 Test Teardown Run Keywords FFDC On Test Case Fail AND Redfish.Logout AND Redfish1.Logout 26 Suite Teardown Run Keywords Redfish1.Logout AND Redfish.Logout 49 [Teardown] Run Keywords 67 [Setup] Run Keywords Set Test Variable ${CHANNEL_NUMBER} ${SECONDARY_CHANNEL_NUMBER} 69 [Teardown] Run Keywords Redfish.Logout AND Redfish.Login AND 102 [Setup] Run Keywords Redfish.Login AND 149 Run IPMI ${OPENBMC_HOST_1} power on 150 ${status1}= Run IPMI ${OPENBMC_HOST} power status [all …]
|