- name: copying consolidated report script
copy: src=./result_transform/final_report.py dest={{home_dir.stdout}}/qtip_result/
- name: making consolidated report
- shell: cd $HOME/qtip_result && python final_report.py Dhrystone
+ shell: cd $HOME/qtip_result && python final_report.py Dhrystone {{fname}}
- name: making directory
file: path={{home_dir.stdout}}/qtip_result/log state=directory
- name: copying result to temp directory
- name: copy report formation script
copy: src=./result_transform/final_report.py dest={{home_dir.stdout}}/qtip_result
- name: consolidating report
- shell: cd $HOME/qtip_result && python final_report.py DPI
+ shell: cd $HOME/qtip_result && python final_report.py DPI {{fname}}
- name: registering files
shell: (cd $HOME/qtip_result/; find . -maxdepth 1 -name "*.json") | cut -d'/' -f2
register: files_to_copy
- name: copy report formation script
copy: src=./result_transform/final_report.py dest={{home_dir.stdout}}/qtip_result
- name: consolidating report
- shell: cd $HOME/qtip_result && python final_report.py FIO
+ shell: cd $HOME/qtip_result && python final_report.py FIO {{fname}}
- name: registering files
shell: (cd $HOME/qtip_result/; find . -maxdepth 1 -name "*.json") | cut -d'/' -f2
register: files_to_copy
copy: src=./result_transform/final_report.py dest={{home_dir.stdout}}/qtip_result
when: rolename =="2-host" and "{{ip2}}" == ''
- name: consolidating report
- shell: cd $HOME/qtip_result && python final_report.py IPERF
+ shell: cd $HOME/qtip_result && python final_report.py IPERF {{fname}}
when: rolename =="2-host" and "{{ip2}}" == ''
- name: Files to Copy
shell: (cd $HOME/qtip_result/; find . -maxdepth 1 -name "*.json") | cut -d'/' -f2
shell: rm -rf {{workingdir}}/{{Dest_dir}}/iperf/iperf_raw.json
when: rolename == "2-host"
- name: removing iperf_temp
- shell: rm -rf {{workingdir}}/{{Dest_dir}}/iperf/iperf_temp
\ No newline at end of file
+ shell: rm -rf {{workingdir}}/{{Dest_dir}}/iperf/iperf_temp
- name: copy report formation script
copy: src=./result_transform/final_report.py dest={{home_dir.stdout}}/qtip_result
- name: consolidating report
- shell: cd $HOME/qtip_result && python final_report.py RamSpeed
+ shell: cd $HOME/qtip_result && python final_report.py RamSpeed {{fname}}
- name: registering files
shell: (cd $HOME/qtip_result/; find . -maxdepth 1 -name "*.json") | cut -d'/' -f2
register: files_to_copy
host_name = (os.popen("hostname").read().rstrip())
benchmark_name = str(sys.argv[1])
+testcase_name = str(sys.argv[2])
report_time_stamp = str(datetime.datetime.utcnow().isoformat())
final_dict = {}
-final_dict['1 Time of Report'] = report_time_stamp
-final_dict['2 System Information'] = sys_info_dict
-final_dict['3 ' + benchmark_name + ' result'] = result_dict
+final_dict['1 Testcase Name'] = testcase_name
+final_dict['2 Time of Report'] = report_time_stamp
+final_dict['3 System Information'] = sys_info_dict
+final_dict['4 ' + benchmark_name + ' result'] = result_dict
with open('./' + host_name + '-' + report_time_stamp + '.json', 'w+') as result_json:
json.dump(final_dict, result_json, indent=4, sort_keys=True)
- name: copy report formation script
copy: src=./result_transform/final_report.py dest={{home_dir.stdout}}/qtip_result
- name: consolidating report
- shell: cd $HOME/qtip_result && python final_report.py SSL
+ shell: cd $HOME/qtip_result && python final_report.py SSL {{fname}}
- name: registering files
shell: (cd $HOME/qtip_result/; find . -maxdepth 1 -name "*.json") | cut -d'/' -f2
register: files_to_copy
- name: copying consolidated report script
copy: src=./result_transform/final_report.py dest={{home_dir.stdout}}/qtip_result/
- name: making consolidated report
- shell: cd $HOME/qtip_result && python final_report.py Whetstone
+ shell: cd $HOME/qtip_result && python final_report.py Whetstone {{fname}}
- name: making directory
file: path={{home_dir.stdout}}/qtip_result/log state=directory
- name: copying result to temp directory
-[host]
-172.18.1.65
-172.18.1.66
+[1host]
+10.20.0.5
+10.20.0.4
+++ /dev/null
-#!/bin/sh
-export LC_ALL=C
-export OS_NO_CACHE='true'
-export OS_TENANT_NAME='admin'
-export OS_USERNAME='admin'
-export OS_PASSWORD='admin'
-export OS_AUTH_URL='http://172.18.1.5:5000/v2.0'
-export OS_AUTH_STRATEGY='keystone'
-export OS_REGION_NAME='RegionOne'
-export CINDER_ENDPOINT_TYPE='internalURL'
-export GLANCE_ENDPOINT_TYPE='internalURL'
-export KEYSTONE_ENDPOINT_TYPE='internalURL'
-export NOVA_ENDPOINT_TYPE='internalURL'
-export NEUTRON_ENDPOINT_TYPE='internalURL'
-export OS_ENDPOINT_TYPE='internalURL'
-export MURANO_REPO_URL='http://storage.apps.openstack.org/'
dpi_bm.yaml\r
dpi_vm.yaml\r
ssl_bm.yaml\r
-ssl_vm.yaml
\ No newline at end of file
+ssl_vm.yaml\r