1d154296fScausten*** Settings *** 2d154296fScausten 34cfb0a5aSGeorge KeishingDocumentation Test file corruption on hard power cycle. 4d154296fScausten 5d154296fScaustenResource ../lib/pdu/pdu.robot 6d154296fScaustenResource ../lib/utils.robot 7d154296fScaustenResource ../lib/connection_client.robot 8d55a4be5SGeorge KeishingResource ../lib/openbmc_ffdc.robot 9d154296fScausten 10d154296fScaustenSuite Setup Open Connection And Log In 11d154296fScaustenSuite Teardown Close All Connections 12eac1af2bSGunnar MillsTest Teardown FFDC On Test Case Fail 13d154296fScausten 14*6fb70d98SMatt FischerTest Tags AC_Cycles 155db43e46SSweta Potthuri 16d154296fScausten*** Test Cases *** 174cfb0a5aSGeorge Keishing 184cfb0a5aSGeorge KeishingTest OpenBMC Buster 19f4a807bfSJoy Onyerikwu [Documentation] Test the OpenBMC buster. 204cfb0a5aSGeorge Keishing Validate Parameters 214cfb0a5aSGeorge Keishing ${output}= Execute Command 224cfb0a5aSGeorge Keishing ... find /var/lib -type f |xargs -n 1 touch 23d154296fScausten PDU Power Cycle 24d154296fScausten Wait For Host To Ping ${OPENBMC_HOST} 25d154296fScausten Sleep 1min 26d154296fScausten 27d154296fScausten # Need to re connect the session 28d154296fScausten Open Connection And Log In 294cfb0a5aSGeorge Keishing ${stdout} ${stderr} ${rc}= Execute Command echo "hello world" 304cfb0a5aSGeorge Keishing ... return_stderr=True return_rc=True 31d154296fScausten Should Be Equal As Integers ${rc} ${0} 32d154296fScausten 33d154296fScausten*** Keywords *** 344cfb0a5aSGeorge Keishing 354cfb0a5aSGeorge KeishingValidate Parameters 36f4a807bfSJoy Onyerikwu [Documentation] Validate the PDU parameters. 374cfb0a5aSGeorge Keishing Should Not Be Empty ${PDU_IP} 384cfb0a5aSGeorge Keishing Should Not Be Empty ${PDU_TYPE} 394cfb0a5aSGeorge Keishing Should Not Be Empty ${PDU_SLOT_NO} 404cfb0a5aSGeorge Keishing Should Not Be Empty ${PDU_USERNAME} 414cfb0a5aSGeorge Keishing Should Not Be Empty ${PDU_PASSWORD} 42