summaryrefslogtreecommitdiffstats
path: root/benchmarks/perftest/fio.yaml
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2016-11-03 11:13:04 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2016-11-03 11:13:04 +0800
commitf0f95b1d320a744b258a609f051d807f83dea09c (patch)
treebe7843baca91e6d2b7f969af24cf01cdc3a2cf42 /benchmarks/perftest/fio.yaml
parent268c946642da7cce5801be983a032ea3993a0850 (diff)
Fix typo and bugs in perftest
Change-Id: I36dfb9c2d69cd071cfb8567c5c965144288b3407 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'benchmarks/perftest/fio.yaml')
-rw-r--r--benchmarks/perftest/fio.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/benchmarks/perftest/fio.yaml b/benchmarks/perftest/fio.yaml
index 94a4c80d..23f2b202 100644
--- a/benchmarks/perftest/fio.yaml
+++ b/benchmarks/perftest/fio.yaml
@@ -20,16 +20,16 @@
register: home_dir
- name: cleaning fio directory
- file: path=$HOME/fio state=absent
+ file: path={{home_dir.stdout}}/fio state=absent
- name: cleaning previous results
- file: path=$HOME/qtip_result state=absent
+ file: path={{home_dir.stdout}}/qtip_result state=absent
- name: making fio temporary directory
- file: path=$HOME/fio state=directory
+ file: path={{home_dir.stdout}}/fio state=directory
- name: making results temporary directory
- file: path=$HOME/qtip_result state=directory
+ file: path={{home_dir.stdout}}/qtip_result state=directory
- include: ./common/sys_proxy_pbook.yaml
@@ -61,7 +61,7 @@
shell: cd $HOME/fio/fio-2.1.10 && sudo ./fio --output-format=json --output=$HOME/qtip_result/fio_result.json fio_test_job
- name: Fetching result transformation script
- copy: src={{workingdir}}/utils/fio_transform.py dest={{home_dir.stdout}}/qtip_result
+ copy: src={{workingdir}}/utils/transform/fio_transform.py dest={{home_dir.stdout}}/qtip_result
- name: Transforming result
shell: cd $HOME/qtip_result && sudo python fio_transform.py
@@ -89,10 +89,10 @@
with_items: "{{copy_log_results.stdout_lines}}"
- name: cleaning fio
- file: path=$HOME/fio state=absent
+ file: path={{home_dir.stdout}}/fio state=absent
- name: cleaning_qtip_result
- file: path=$HOME/qtip_result
+ file: path={{home_dir.stdout}}/qtip_result state=absent
- hosts: localhost
connection: local
@@ -109,4 +109,4 @@
shell: ( find {{workingdir}}/{{Dest_dir}}/fio/fio_temp/ -name "*.log" | xargs cp -t {{workingdir}}/{{Dest_dir}}/fio/logs)
- name: removing fio_log
- file: {{workingdir}}/{{Dest_dir}}/fio/fio_temp state=absent
+ file: path={{workingdir}}/{{Dest_dir}}/fio/fio_temp state=absent