summaryrefslogtreecommitdiffstats
path: root/tests/integration/compute.yaml
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-07 17:05:24 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-07 17:07:27 +0800
commit9972903bcd841e2733c7f842f8471fff9a928a2a (patch)
treef53d2e249927bb1a38eb0d74350f25df1a2093b7 /tests/integration/compute.yaml
parenta4878f6c98855f5392324e0e72df3e2711022dd9 (diff)
Add todo items for integration
Change-Id: I15cc5f81cc4aee27d536e8f654aa36c16c27c72b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/integration/compute.yaml')
-rw-r--r--tests/integration/compute.yaml22
1 files changed, 21 insertions, 1 deletions
diff --git a/tests/integration/compute.yaml b/tests/integration/compute.yaml
index 4cb71e9f..576c6a19 100644
--- a/tests/integration/compute.yaml
+++ b/tests/integration/compute.yaml
@@ -8,6 +8,7 @@
##############################################################################
---
+# Prepare connection to SUT (System Under Test)
- hosts: fuel-master
gather_facts: no
tasks:
@@ -20,13 +21,32 @@
ansible_user: root
ansible_ssh_common_args: '-o StrictHostKeyChecking=No -o ProxyJump=fuel-master'
with_items: "{{ hosts.compute }}"
+
+# Execute compute benchmark plan and collect data
+# - system information
+# - test condition
+# - performance metrics
- hosts: compute
tasks:
- name: check ssh connection
ping:
- - include: tasks/inxi.yaml
+ # collect system information
+ - name: collect system information
+ include: tasks/inxi.yaml
+
+# TODO(yujunz) Calculate QPI from composed metrics
+# e.g.
+# qpi:
+# score: 2048
+# spec: compute
+# metrics: # values, not spec
+# - ref_metric_a
+# - ref_metric_b
+
+# Generate and publish report
- hosts: local
tasks:
- name: create system information report
local_action: template src=templates/inxi-system-info.j2 dest=reports/inxi-system-info
delegate_to: localhost
+ # TODO(yujunz) push test result to testapi