blob: e5a6c940c9c5a140854a23a4a7de1f87c77e6bc6 [file] [log] [blame]
Emmanuel Vazquezf8281512018-04-16 17:50:51 -04001*** Settings ***
2Documentation 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
11Library ../lib/gen_print.py
12Library ../lib/gen_robot_print.py
13Resource ../syslib/utils_os.robot
14
15Suite Setup Suite Setup Execution
16Suite 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
27IO 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
43Loop 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
50Suite Setup Execution
51 [Documentation] Start setup tasks.
52
53 Create Default MDT Profile
54
55
56Suite Teardown Execution
57 [Documentation] Execute suite teardown tasks.
58
59 Collect HTX Log Files
60 FFDC On Test Case Fail