fetch: src={{home_dir.stdout}}/qtip_result/{{item}} dest=../../{{Dest_dir}}/ramspeed/ramspeed_temp
with_items: copy_log_results.stdout_lines
-
- - name: copy results
- fetch: src=/root/results/{{item}} dest=../../{{Dest_dir}}/ssl
- with_items: files_to_copy.stdout_lines
-
- hosts: 127.0.0.1
connection: local
tasks:
- name: extracting_log
shell: ( find ../../{{Dest_dir}}/ramspeed/ramspeed_temp/ -name "*.log" | xargs cp -t ../../{{Dest_dir}}/ramspeed/logs)
- name: removing ramspeed_log
- shell: rm -rf ../../{{Dest_dir}}/ramspeed/ramspeed_temp
\ No newline at end of file
+ shell: rm -rf ../../{{Dest_dir}}/ramspeed/ramspeed_temp
+++ /dev/null
-
- - hosts: "{{ role }}"
-
- tasks:
- - name: clean
- shell: rm -rf /usr/bin/phoronix-test-suite
- shell: rm -rf /usr/share/doc/phoronix-test-suite/
- shell: rm -rf /usr/share/phoronix-test-suite
- shell: rm -rf /root/photmp/
- - name: clean previous results
- file: path=/root/results path=absent
- - name: make direc
- file: path=/root/photmp/ state=directory
- - name: Fetch Phornonix
- shell: cd /root/photmp/ && wget https://www.dropbox.com/s/5kks513ozxy7vvs/phoronix-suite.tar.gz
- - name: unarchive Phoronix
- shell: cd /root/photmp/ && tar -zxvf phoronix-suite.tar.gz
- - name: Phornonix Dependencies
- shell: yum install php php-xml php-client php-process -y
- - name: Install Phornonix
- shell: cd /root/photmp/phoronix-test-suite-master/&&./install-sh
- - name: batchSetup
- shell: phoronix-test-suite batch-setup
- - name: install
- shell: phoronix-test-suite batch-install ramspeed
- - name: run
- shell: phoronix-test-suite batch-run ramspeed
- - name: making directory
- file: path=/root/results state=directory
- - name: copying result to temp directory
- shell: cp -r /var/lib/phoronix-test-suite/test-results/* /root/results/
- - name: registering files
- shell: (cd /root/results/; find . -maxdepth 1 -type f) | cut -d'/' -f2
- register: files_to_copy
- - name: copy results
- fetch: src=/root/results/{{item}} dest={{Dest_dir}}/dhrystone
- with_items: files_to_copy.stdout_lines
-
Scenario:
- benchmark: whetstone
- host: machine_1,
- server: virtualmachine_1
+ benchmark: ramspeed
+ host: machine_1, machine_2
+ server:
Context:
Host_Machines:
machine_1:
- ip: 172.18.0.16
- pw: Op3nStack
+ ip: 10.20.0.4
+ pw:
role: host
+ machine_2:
+ ip: 10.20.0.5
+ pw:
+ role: host
+
Virtual_Machines:
- virtualmachine_1:
- availability_zone: nova
- public_network: 'net04_ext'
- OS_image: QTIP_CentOS
- flavor: m1.large
- role: server
+
Test_Description:
Test_category: "Compute"
- Benchmark: "whetstone"
+ Benchmark: "dhrystone"
Overview: >
- ''' This test will run the whetstone benchmark in serial on machine_1 and machine_2.\n
+ ''' This test will run the dhrystone benchmark in parallel on machine_1 and machine_2.\n
if you wish to add a virtual machine add the following information under the Virtual_Machine tag
virtualmachine_1:
+++ /dev/null
-Scenario:
- benchmark: ssl
- 1Run: machine_1
- 2Run: virtualmachine_1
-
-Context:
- Host_Machines:
- machine_1:
- ip: 10.20.0.7
- pw: r00tme
- role: 1Run
- Virtual_Machines:
- virtualmachine_1:
- availability_zone: compute1
- public_network: net04_ext
- OS_image: QTIP_Centos
- flavor: m1.large
- role: 1Run
-Test_Description:
- Test_category: "Compute"
- Benchmark: "ssl"
- Overview: >
- '''This test will run the SSL benchmark in serial on virtualmachine_1 and machine_1.
- The Test will run first on the Host_Machine and then on the Virtual Machine.
- if you wish to add a virtual machine add the following information under the Virtual_Machine tag
-
- virtualmachine_1:
- availability_zone:
- public_network:
- OS_image:
- flavor:
- role:
- '''
Scenario:
benchmark: dhrystone
- host: machine_1, machine_2, virtualmachine_1
+ host: machine_1, machine_2
server:
Context:
Host_Machines:
machine_1:
- ip: 172.18.0.16
- pw: Op3nStack
+ ip: 10.20.0.4
+ pw:
role: host
+ machine_2:
+ ip: 10.20.0.5
+ pw:
+ role: host
+
Virtual_Machines:
- virtualmachine_1:
- availability_zone: nova
- public_network: 'net04_ext'
- OS_image: QTIP_CentOS
- flavor: m1.large
- role: server
+
Test_Description:
Test_category: "Compute"
Benchmark: "dhrystone"
Overview: >
- ''' This test will run the dhrystone benchmark in serial on machine_1 and machine_2.\n
+ ''' This test will run the dhrystone benchmark in parallel on machine_1 and machine_2.\n
if you wish to add a virtual machine add the following information under the Virtual_Machine tag
virtualmachine_1:
Scenario:
benchmark: dhrystone
- host: machine_1, machine_2
+ host: virtualmachine_1, virtualmachine_2
server: blakc
Context:
Scenario:
benchmark: dpi
- host: virtualmachine_1
- server: virtualmachine_2
+ host: machine_1,machine_2
Context:
Host_Machines:
machine_1:
- ip: 172.18.0.17
- pw: Op3nStack
- role: 1host
+ ip: 10.20.0.4
+ pw: Op3nStack
+ role: 1host
machine_2:
- ip: 172.18.0.16
- pw: Op3nStack
- role: 1host
+ ip: 10.20.0.5
+ pw: Op3nStack
+ role: 1host
Virtual_Machines:
Test_Description:
Test_category: "Compute"
Scenario:
benchmark: dpi
1Run : virtualmachine_1, virtualmachine_2
- 2Run:
Context:
Host_Machines:
--- /dev/null
+Scenario:
+ benchmark: ssl
+ 1Run: machine_1,machine_2
+
+Context:
+ Host_Machines:
+ machine_1:
+ ip: 10.20.0.4
+ pw:
+ role: 1Run
+ machine_2:
+ ip: 10.20.0.5
+ pw:
+ role: 1Run
+ Virtual_Machines:
+
+
+Test_Description:
+ Test_category: "Compute"
+ Benchmark: "ssl"
+ Overview: >
+ '''This test will run the SSL benchmark in parallel on machine_1 and machine_1.
+ If you wish to add a virtual machine add the following information under the Virtual_Machine tag
+
+ virtualmachine_1:
+ availability_zone:
+ public_network:
+ OS_image:
+ flavor:
+ role:
+ '''
Scenario:
benchmark: ssl
- host: machine_1, machine_2
- server:
+ host: virtualmachine_1, virtualmachine_2
Context:
Host_Machines:
--- /dev/null
+
+Scenario:
+ benchmark: whetstone
+ host: machine_1, machine_2
+
+
+Context:
+ Host_Machines:
+ machine_1:
+ ip: 10.20.0.4
+ pw:
+ role: host
+ machine_2:
+ ip: 10.20.0.5
+ pw:
+ role: host
+ Virtual_Machines:
+
+
+
+Test_Description:
+ Test_category: "Compute"
+ Benchmark: "whetstone"
+ Overview: >
+ ''' This test will run the whetstone benchmark in parallel on machine_1 and machine_2.\n
+ if you wish to add a baremetal machine add the following information under the Virtual_Machine tag
+
+ machine_3:
+ ip:
+ pw:
+ role:
+ '''
+
+
Scenario:
benchmark: whetstone
- host: machine_1, virtualmachine_1
+ host: virtualmachine_1, virtualmachine_1
server:
Context:
Host_Machines:
- machine_1:
- ip: 172.18.0.76
- pw: r00tme
- role: host
- machine_2:
- ip: 172.18.0.75
- pw: r00tme
- role: host
-
+
Virtual_Machines:
virtualmachine_1:
availability_zone: compute1
OS_image: QTIP_CentOS
flavor: m1.large
role: host
+ virtualmachine_2:
+ availability_zone: compute2
+ public_network: 'net04_ext'
+ OS_image: QTIP_CentOS
+ flavor: m1.large
+ role: host
+
Test_Description:
Test_category: "Compute"