Add smoke, components, features and performance test suite for Yatdstick 53/24953/4
authorJingLu5 <lvjing5@huawei.com>
Mon, 28 Nov 2016 03:03:08 +0000 (11:03 +0800)
committerJingLu5 <lvjing5@huawei.com>
Fri, 16 Dec 2016 03:16:57 +0000 (11:16 +0800)
JIRA: YARDSTICK-417

This patch adds a smoke test suite for Yardstick. The smoke test suite consists
of 3 test cases: TC002 Ping, TC005 Fio, TC012 LMbench.

3 test suites for components, features and performance tiers are also provided.

Change-Id: Ic5223c1401270d126aabb4bf062e40da9464e18f
Signed-off-by: JingLu5 <lvjing5@huawei.com>
tests/opnfv/test_suites/opnfv_components.yaml [new file with mode: 0644]
tests/opnfv/test_suites/opnfv_features.yaml [new file with mode: 0644]
tests/opnfv/test_suites/opnfv_performance.yaml [new file with mode: 0644]
tests/opnfv/test_suites/opnfv_smoke.yaml [new file with mode: 0644]

diff --git a/tests/opnfv/test_suites/opnfv_components.yaml b/tests/opnfv/test_suites/opnfv_components.yaml
new file mode 100644 (file)
index 0000000..ff4923e
--- /dev/null
@@ -0,0 +1,16 @@
+---
+# Yardstick components task suite
+
+schema: "yardstick:suite:0.1"
+
+name: "opnfv_yardstick-components"
+test_cases_dir: "tests/opnfv/test_cases/"
+test_cases:
+-
+    file_name: opnfv_yardstick_tc074.yaml
+    constraint:
+        installer: compass
+        pod: huawei-pod1
+    task_args:
+        huawei-pod1: '{"public_network": "ext-net",
+        "StorPerf_ip": "192.168.200.1"}'
diff --git a/tests/opnfv/test_suites/opnfv_features.yaml b/tests/opnfv/test_suites/opnfv_features.yaml
new file mode 100644 (file)
index 0000000..3621f13
--- /dev/null
@@ -0,0 +1,52 @@
+---
+# Yardstick features task suite
+
+schema: "yardstick:suite:0.1"
+
+name: "opnfv_yardstick-features"
+test_cases_dir: "tests/opnfv/test_cases/"
+test_cases:
+-
+    file_name: opnfv_yardstick_tc027.yaml
+    constraint:
+        installer: compass,fuel
+        pod: huawei-pod1,lf-pod2
+    task_args:
+        huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml"}'
+        lf-pod2: '{"pod_info": "etc/yardstick/nodes/fuel_baremetal/pod.yaml", "openrc":"/root/openrc", "external_network":"admin_floating_net"}'
+-
+    file_name: opnfv_yardstick_tc045.yaml
+    constraint:
+        installer: fuel
+-
+    file_name: opnfv_yardstick_tc046.yaml
+    constraint:
+        installer: fuel
+-
+    file_name: opnfv_yardstick_tc047.yaml
+    constraint:
+        installer: fuel
+-
+    file_name: opnfv_yardstick_tc048.yaml
+    constraint:
+        installer: fuel
+-
+    file_name: opnfv_yardstick_tc049.yaml
+    constraint:
+        installer: fuel
+-
+    file_name: opnfv_yardstick_tc050.yaml
+    constraint:
+        installer: fuel
+-
+    file_name: opnfv_yardstick_tc051.yaml
+    constraint:
+        installer: fuel
+-
+    file_name: opnfv_yardstick_tc052.yaml
+    constraint:
+        installer: fuel
+-
+    file_name: opnfv_yardstick_tc053.yaml
+    constraint:
+        installer: fuel
diff --git a/tests/opnfv/test_suites/opnfv_performance.yaml b/tests/opnfv/test_suites/opnfv_performance.yaml
new file mode 100644 (file)
index 0000000..71b1e2e
--- /dev/null
@@ -0,0 +1,62 @@
+---
+# Yardstick performance task suite
+
+schema: "yardstick:suite:0.1"
+
+name: "opnfv_yardstick-performance"
+test_cases_dir: "tests/opnfv/test_cases/"
+test_cases:
+-
+    file_name: opnfv_yardstick_tc002.yaml
+-
+    file_name: opnfv_yardstick_tc005.yaml
+-
+    file_name: opnfv_yardstick_tc010.yaml
+-
+    file_name: opnfv_yardstick_tc011.yaml
+-
+    file_name: opnfv_yardstick_tc012.yaml
+-
+    file_name: opnfv_yardstick_tc014.yaml
+-
+    file_name: opnfv_yardstick_tc037.yaml
+-
+    file_name: opnfv_yardstick_tc043.yaml
+    constraint:
+        installer: compass
+        pod: huawei-pod1
+    task_args:
+        huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+        "host": "node4.LF","target": "node5.LF"}'
+-
+    file_name: opnfv_yardstick_tc055.yaml
+    constraint:
+        installer: compass
+        pod: huawei-pod1
+    task_args:
+        huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+        "host": "node5.yardstick-TC055"}'
+-
+    file_name: opnfv_yardstick_tc063.yaml
+    constraint:
+        installer: compass
+        pod: huawei-pod1
+    task_args:
+        huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+        "host": "node5.yardstick-TC063"}'
+-
+    file_name: opnfv_yardstick_tc069.yaml
+-
+    file_name: opnfv_yardstick_tc070.yaml
+-
+    file_name: opnfv_yardstick_tc071.yaml
+-
+    file_name: opnfv_yardstick_tc072.yaml
+-
+    file_name: opnfv_yardstick_tc075.yaml
+    constraint:
+        installer: compass
+        pod: huawei-pod1
+    task_args:
+        huawei-pod1: '{"pod_info": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
+        "host": "node1.LF"}'
diff --git a/tests/opnfv/test_suites/opnfv_smoke.yaml b/tests/opnfv/test_suites/opnfv_smoke.yaml
new file mode 100644 (file)
index 0000000..f773bec
--- /dev/null
@@ -0,0 +1,14 @@
+---
+# Yardstick smoke task suite
+
+schema: "yardstick:suite:0.1"
+
+name: "opnfv_yardstick-smoke"
+test_cases_dir: "tests/opnfv/test_cases/"
+test_cases:
+-
+  file_name: opnfv_yardstick_tc002.yaml
+-
+  file_name: opnfv_yardstick_tc005.yaml
+-
+  file_name: opnfv_yardstick_tc012.yaml