Emmanuel Vazquez | f828151 | 2018-04-16 17:50:51 -0400 | [diff] [blame] | 1 | *** Settings ***
|
| 2 | Documentation Test to stress IO Storage compatibility.
|
| 3 |
|
| 4 | # Test Parameters:
|
| 5 |
|
| 6 | # OS_HOST The OS host name or IP address.
|
| 7 | # OS_USERNAME The OS username to login.
|
| 8 | # OS_PASSWORD The OS password for the OS login.
|
| 9 | # LOOP_COUNT The times loop will be executed delimited by user.
|
| 10 |
|
| 11 | Library ../lib/gen_print.py
|
| 12 | Library ../lib/gen_robot_print.py
|
| 13 | Resource ../syslib/utils_os.robot
|
| 14 |
|
| 15 | Suite Setup Suite Setup Execution |
| 16 | Suite Teardown Suite Teardown Execution
|
| 17 | |
| 18 |
|
| 19 | *** Variables ***
|
| 20 | ${LOOP_COUNT} ${1}
|
| 21 | ${ITERATION} ${0}
|
| 22 | ${HTX_MDT_PROFILE} mdt.hdbuster
|
| 23 |
|
| 24 |
|
| 25 | *** Test Cases ***
|
| 26 |
|
| 27 | IO Storage Compability Stress
|
| 28 | [Documentation] Stress storage cards.
|
| 29 | [Tags] IO_Storage_Compatibility_Stress
|
| 30 |
|
| 31 | Run MDT Profile
|
| 32 | Rprint Timen Running HTX. Please wait.
|
| 33 | Repeat Keyword ${LOOP_COUNT} times
|
| 34 | ... Run Keywords
|
| 35 | ... Set Suite Variable ${ITERATION} ${ITERATION +1} |
| 36 | ... AND Rprint Vars ITERATION |
| 37 | ... AND Loop HTX
|
| 38 | Shutdown HTX Exerciser
|
| 39 |
|
| 40 |
|
| 41 | *** Keywords ***
|
| 42 |
|
| 43 | Loop HTX
|
| 44 | [Documentation] Run HTX for an hour and check status every 10 minutes.
|
| 45 | Repeat Keyword 1 hour
|
| 46 | ... Run Keywords Check HTX Run Status
|
| 47 | ... AND Sleep 10 min
|
| 48 |
|
| 49 |
|
| 50 | Suite Setup Execution
|
| 51 | [Documentation] Start setup tasks.
|
| 52 | |
| 53 | Create Default MDT Profile
|
| 54 |
|
| 55 |
|
| 56 | Suite Teardown Execution
|
| 57 | [Documentation] Execute suite teardown tasks.
|
| 58 |
|
| 59 | Collect HTX Log Files
|
| 60 | FFDC On Test Case Fail |