From 4f239b0cf87c486fb75303b585eaaec73bc60464 Mon Sep 17 00:00:00 2001 From: MofassirArif Date: Mon, 15 Feb 2016 23:36:15 -0800 Subject: qtip: add user name in case of apex and make the changes in ansible playbooks to cater for apex. Also reduce the verbosity for runnning ansbile plays. Change-Id: Id3a6da7bea3ede99f8a23e5fd0a2801987f9565b Signed-off-by: MofassirArif (cherry picked from commit 4dbb3e08adaaa90a0483681dc51393de56359c85) --- benchmarks/playbooks/dhrystone.yaml | 2 +- benchmarks/playbooks/dpi.yaml | 2 +- benchmarks/playbooks/fio.yaml | 2 +- benchmarks/playbooks/iperf.yaml | 6 +-- benchmarks/playbooks/netperf.yaml | 3 ++ benchmarks/playbooks/ramspeed.yaml | 2 +- benchmarks/playbooks/ssl.yaml | 2 +- benchmarks/playbooks/whetstone.yaml | 2 +- data/hosts | 6 +-- data/my_key.pem | 50 +++++++++++----------- foo | 9 ---- func/driver.py | 2 +- .../dell-us-deploying-bm3/network/iperf_bm.yaml | 4 +- 13 files changed, 43 insertions(+), 49 deletions(-) delete mode 100644 foo diff --git a/benchmarks/playbooks/dhrystone.yaml b/benchmarks/playbooks/dhrystone.yaml index 224dbbf4..3ea04382 100644 --- a/benchmarks/playbooks/dhrystone.yaml +++ b/benchmarks/playbooks/dhrystone.yaml @@ -8,7 +8,7 @@ - hosts: "{{role}}" become: yes - become_user: "{{username}}" + remote_user: "{{username}}" tasks: - name: checking_home directory shell: sudo echo $HOME diff --git a/benchmarks/playbooks/dpi.yaml b/benchmarks/playbooks/dpi.yaml index 1f7fee54..9c462a1f 100644 --- a/benchmarks/playbooks/dpi.yaml +++ b/benchmarks/playbooks/dpi.yaml @@ -8,7 +8,7 @@ - hosts: "{{role}}" become: yes - become_user: "{{username}}" + remote_user: "{{username}}" tasks: - name: echo shell: echo $USER diff --git a/benchmarks/playbooks/fio.yaml b/benchmarks/playbooks/fio.yaml index 9532b166..e9028cd0 100644 --- a/benchmarks/playbooks/fio.yaml +++ b/benchmarks/playbooks/fio.yaml @@ -9,7 +9,7 @@ - hosts: "{{role}}" become: yes - become_user: "{{username}}" + remote_user: "{{username}}" tasks: - name: checking_home directory shell: echo $HOME diff --git a/benchmarks/playbooks/iperf.yaml b/benchmarks/playbooks/iperf.yaml index 9bd0f1e2..4199b621 100644 --- a/benchmarks/playbooks/iperf.yaml +++ b/benchmarks/playbooks/iperf.yaml @@ -13,7 +13,7 @@ - hosts: "{{role}}" become: yes - become_user: "{{username}}" + remote_user: "{{username}}" tasks: - name: Rolename set_fact: @@ -81,14 +81,14 @@ when: rolename == "1-server" - name: Running Iperf on Host - shell: iperf3 --time {{duration}} -b {{bandwidthGbps}}G -c {{ip1}} -J -O10 >> ./qtip_result/iperf_raw.json + shell: iperf3 --time {{duration}} -b 0 G -c {{ip1}} -J -O10 >> {{home_dir.stdout}}/qtip_result/iperf_raw.json ignore_errors: yes with_items: - "{{ip1}}" when: rolename == "2-host" and "{{privateip1}}" == "NONE" - name: Running Iperf on Host - shell: iperf3 --time {{duration}} -b{{bandwidthGbps}}G -c {{privateip1}} -J -O10 >> ./qtip_result/iperf_raw.json + shell: iperf3 --time {{duration}} -b 0 G -c {{privateip1}} -J -O10 >> {{home_dir.stdout}}/qtip_result/iperf_raw.json ignore_errors: yes with_items: - "{{ip1}}" diff --git a/benchmarks/playbooks/netperf.yaml b/benchmarks/playbooks/netperf.yaml index 12943bcc..30f4b574 100644 --- a/benchmarks/playbooks/netperf.yaml +++ b/benchmarks/playbooks/netperf.yaml @@ -12,6 +12,9 @@ - hosts: "{{role}}" + become: yes + remote_user: "{{username}}" + tasks: - name: Rolename set_fact: diff --git a/benchmarks/playbooks/ramspeed.yaml b/benchmarks/playbooks/ramspeed.yaml index e59ed10e..b515111c 100644 --- a/benchmarks/playbooks/ramspeed.yaml +++ b/benchmarks/playbooks/ramspeed.yaml @@ -9,7 +9,7 @@ - hosts: "{{role}}" become: yes - become_user: "{{username}}" + remote_user: "{{username}}" tasks: - name: checking_home directory shell: echo $HOME diff --git a/benchmarks/playbooks/ssl.yaml b/benchmarks/playbooks/ssl.yaml index 4be9c1d8..507eb56f 100644 --- a/benchmarks/playbooks/ssl.yaml +++ b/benchmarks/playbooks/ssl.yaml @@ -7,7 +7,7 @@ file: path={{workingdir}}/{{Dest_dir}}/ssl/ssl_temp state=directory - hosts: "{{role}}" become: yes - become_user: "{{username}}" + remote_user: "{{username}}" tasks: - name: checking_home directory shell: sudo echo $HOME diff --git a/benchmarks/playbooks/whetstone.yaml b/benchmarks/playbooks/whetstone.yaml index 50c439d4..b76c3063 100644 --- a/benchmarks/playbooks/whetstone.yaml +++ b/benchmarks/playbooks/whetstone.yaml @@ -9,7 +9,7 @@ - hosts: "{{role}}" become: yes - become_user: "{{username}}" + remote_user: "{{username}}" tasks: - name: storing_home shell: echo $HOME diff --git a/data/hosts b/data/hosts index ec2e4b80..1d3f32d8 100644 --- a/data/hosts +++ b/data/hosts @@ -1,4 +1,4 @@ -[1-server] -10.20.0.5 [2-host] -10.20.0.4 +172.18.1.65 +[1-server] +172.18.1.66 diff --git a/data/my_key.pem b/data/my_key.pem index f162b9c1..b47325a5 100644 --- a/data/my_key.pem +++ b/data/my_key.pem @@ -1,27 +1,27 @@ -----BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEAvm5/TTQQatG6a+gqC6M2vMOXXjlIYNYbXIcVYIxq1+2dmxir -pxlvYvrFIE3oS/swHWCF+lFqCELdSWufWoxP20iC/Wx0kBa3fXaeOWDFHivs/ZTj -SrE1kHQ+oUJnzwSe+3+l7KK7YoB3vyaddC+wBGpGtOuEBdhRLsxxotukZ0iKa6bK -IuqUTnYRUDi4zSgP6YQHAaTitBj2kx3xJjE/o0IE7eP+lyoalMy24As+sil8g3OV -JoI6Dzp4wE+7UYBfCe9RpKKxEiuwyeQkQ82dZ73LM4aV7bUbsSPSm9LmhVxFAdzz -zYGMoO7Ai9/8gu0wOUnEooB6kFKNXrbZckdq9QIDAQABAoIBAGlYuWXdOoPNWCLf -wXrEpMBSN4exir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gE +Euf+93VoV2M46A9d1oXVDO6qL/U/FCTJmr0tW1X5tMmgXKHiM15Zp5bfPYzQsSoL +7x6v+M+26uJHPWmSTmJDOBe7gFbcIIzacJficSqGhR3Dm3GBqaUgw3tl7KfBeR1T +hpLovRthcJChLij174fB2nUtUQ6jhziqml5dB+h/AoGAWv35yl2q//AXw7iAEu+t +G59lP14EtnOhUDMwyLiym6F5yrvH5xq2/U/Rlpa0+aXo0MLsH8HM2J2/h9M5eHAk +H/t8D8rdcTUYqrPolypu7cVi3jtSqmbeCA73Eaf87NxgM4Iwb4mXY6oKHJ5aCK2T +Y9xbITXlm/iWP3uJGPrA4pkCgYEAimynWP/P6uVndTfxApGC4eRsqtAFmMkq+7q6 +6Kn3SC0kvVXKRg7yVh3eKkAdrNLRibPwrWBD5h1FuYxsKCAlN0QmEeamD3cQ3+pd +egAxKaknf03cylVePvXJ1CDaA8+WLoGb5RhFqClraezisV5jg6TZt7bBHkx2TPVl +GGFyE6kCgYEAnYNXrBfmyJDb737e8Aca3fEGXhJHNUKbTMp62CGj2oe1AzDly4ab +k2c4ID9IukmjljZ2G911BdSa2D9V7Aj5D02g5bmvi5e4zjZYiwxK4j5Gd4zEje4w +G4l3ndezp6O6KfMvEqGdC7njK31yUy7991lqqpg4skYfhryPyUAH/TY= -----END RSA PRIVATE KEY----- diff --git a/foo b/foo deleted file mode 100644 index d09a8b90..00000000 --- a/foo +++ /dev/null @@ -1,9 +0,0 @@ -results/compute_result.json -results/network_result.json -results/storage_result.json -{'compute_result.json': 'compute_test_suite'} -http://213.77.62.197/results -Compute benchmark suite -None -dell-us-testing-1 -{'project_name': 'qtip', 'creation_date': '2016-01-13T11:31:55.997833', 'version': 'test', 'pod_name': 'dell-us-testing-1', 'installer': 'fuel', 'case_name': 'Compute benchmark suite', 'details': '{\n "index": 0.8449014369484681, \n "suite results": {\n "DPI": {\n "1. Index": 0.9808497536945814, \n "2. Results": {\n "Baremetal1": {\n "1 Time of Report": "2016-01-06T10:29:03.293658", \n "2 System Information": {\n "1_Hostname": "node-41.domain.tld", \n "2_Product": "PowerEdge M620 serial: F1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.766 MHz Graphics", \n "6_CPU_Usage": "10.1%", \n "7_Memory Usage": "23284.2/112767.3MB", \n "8_Disk usage": "598.9GB (5.7% used)"\n }, \n "3 DPI result": {\n "DPI_benchmark(Gb/s)": 7.679, \n "DPI_benchmark(M pps)": 0.818\n }\n }, \n "Baremetal2": {\n "1 Time of Report": "2016-01-06T10:29:03.272836", \n "2 System Information": {\n "1_Hostname": "node-40.domain.tld", \n "2_Product": "PowerEdge M620 serial: C1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.851 MHz Graphics", \n "6_CPU_Usage": "0.5%", \n "7_Memory Usage": "1434.2/128895.3MB", \n "8_Disk usage": "598.9GB (0.5% used)"\n }, \n "3 DPI result": {\n "DPI_benchmark(Gb/s)": 8.25, \n "DPI_benchmark(M pps)": 0.879\n }\n }\n }\n }, \n "Dhrystone": {\n "1. Index": 0.8039476778552496, \n "2. Results": {\n "Baremetal1": {\n "1 Time of Report": "2016-01-06T07:36:28.806876", \n "2 System Information": {\n "1_Hostname": "node-41.domain.tld", \n "2_Product": "PowerEdge M620 serial: F1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.766 MHz Graphics", \n "6_CPU_Usage": "10.1%", \n "7_Memory Usage": "23455.8/112767.3MB", \n "8_Disk usage": "598.9GB (5.7% used)"\n }, \n "3 Dhrystone result": {\n "1.Number of CPU(s) in system": "24", \n "2.Single CPU test": {\n "1.Number of parallell test(s)": "1", \n "2.Index score": "2130.6"\n }, \n "3.Multi CPU test": {\n "1.Number of parallell test(s)": "24", \n "2.Index score": "30836.0"\n }\n }\n }, \n "Baremetal2": {\n "1 Time of Report": "2016-01-06T10:13:07.955685", \n "2 System Information": {\n "1_Hostname": "node-40.domain.tld", \n "2_Product": "PowerEdge M620 serial: C1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.851 MHz Graphics", \n "6_CPU_Usage": "0.5%", \n "7_Memory Usage": "1410.1/128895.3MB", \n "8_Disk usage": "598.9GB (0.5% used)"\n }, \n "3 Dhrystone result": {\n "1.Number of CPU(s) in system": "24", \n "2.Single CPU test": {\n "1.Number of parallell test(s)": "1", \n "2.Index score": "2571.2"\n }, \n "3.Multi CPU test": {\n "1.Number of parallell test(s)": "24", \n "2.Index score": "32389.8"\n }\n }\n }, \n "Baremetal3": {\n "1 Time of Report": "2016-01-06T10:13:07.976784", \n "2 System Information": {\n "1_Hostname": "node-41.domain.tld", \n "2_Product": "PowerEdge M620 serial: F1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.766 MHz Graphics", \n "6_CPU_Usage": "10.1%", \n "7_Memory Usage": "23274.4/112767.3MB", \n "8_Disk usage": "598.9GB (5.7% used)"\n }, \n "3 Dhrystone result": {\n "1.Number of CPU(s) in system": "24", \n "2.Single CPU test": {\n "1.Number of parallell test(s)": "1", \n "2.Index score": "2285.4"\n }, \n "3.Multi CPU test": {\n "1.Number of parallell test(s)": "24", \n "2.Index score": "31259.5"\n }\n }\n }, \n "Baremetal4": {\n "1 Time of Report": "2016-01-06T07:36:28.782429", \n "2 System Information": {\n "1_Hostname": "node-40.domain.tld", \n "2_Product": "PowerEdge M620 serial: C1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.851 MHz Graphics", \n "6_CPU_Usage": "0.5%", \n "7_Memory Usage": "1409.9/128895.3MB", \n "8_Disk usage": "598.9GB (0.5% used)"\n }, \n "3 Dhrystone result": {\n "1.Number of CPU(s) in system": "24", \n "2.Single CPU test": {\n "1.Number of parallell test(s)": "1", \n "2.Index score": "2712.7"\n }, \n "3.Multi CPU test": {\n "1.Number of parallell test(s)": "24", \n "2.Index score": "32450.4"\n }\n }\n }, \n "Virtual Machine 1": {\n "1 Time of Report": "2016-01-06T07:44:51.059493", \n "2 System Information": {\n "1_Hostname": "instance1", \n "2_Product": "OpenStack Nova v: 2014.2.2 serial: cfb53fc0-9d58-4499-bf27-68a03a3fabcb", \n "3_OS Distribution": "CentOS Linux release 7.1.1503 (Core)", \n "4_Kernel": "3.10.0-229.7.2.el7.x86_64 x86_64 (64 bit)", \n "5_CPU": "4 Single core Intel Xeon E312xx (Sandy Bridge)s (-SMP-) speed", \n "6_CPU_Usage": "11.9%", \n "7_Memory Usage": "172.7/7984.5MB", \n "8_Disk usage": "85.9GB (1.7% used)"\n }, \n "3 Dhrystone result": {\n "1.Number of CPU(s) in system": "4", \n "2.Single CPU test": {\n "1.Number of parallell test(s)": "1", \n "2.Index score": "2744.4"\n }, \n "3.Multi CPU test": {\n "1.Number of parallell test(s)": "4", \n "2.Index score": "8134.9"\n }\n }\n }, \n "Virtual Machine 2": {\n "1 Time of Report": "2016-01-06T07:44:51.052127", \n "2 System Information": {\n "1_Hostname": "instance2", \n "2_Product": "OpenStack Nova v: 2014.2.2 serial: eaa09aac-c5b6-4030-95c4-9ff8d98d66d8", \n "3_OS Distribution": "CentOS Linux release 7.1.1503 (Core)", \n "4_Kernel": "3.10.0-229.7.2.el7.x86_64 x86_64 (64 bit)", \n "5_CPU": "4 Single core Intel Xeon E312xx (Sandy Bridge)s (-SMP-) speed", \n "6_CPU_Usage": "15.5%", \n "7_Memory Usage": "172.8/7984.5MB", \n "8_Disk usage": "85.9GB (1.7% used)"\n }, \n "3 Dhrystone result": {\n "1.Number of CPU(s) in system": "4", \n "2.Single CPU test": {\n "1.Number of parallell test(s)": "1", \n "2.Index score": "2734.2"\n }, \n "3.Multi CPU test": {\n "1.Number of parallell test(s)": "4", \n "2.Index score": "6714.0"\n }\n }\n }\n }\n }, \n "RamSpeed": {\n "1. Index": 0.8108060107793202, \n "2. Results": {\n "Baremetal1": {\n "1 Time of Report": "2016-01-12T12:02:29.731423", \n "2 System Information": {\n "1_Hostname": "node-40.domain.tld", \n "2_Product": "PowerEdge M620 serial: C1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.851 MHz Graphics", \n "6_CPU_Usage": "0.5%", \n "7_Memory Usage": "1419.3/128895.3MB", \n "8_Disk usage": "598.9GB (0.5% used)"\n }, \n "3 RamSpeed result": {\n "1. INTmem bandwidth": {\n "1. Copy (MB/s)": "11606.89", \n "2. Add (MB/s)": "12206.35", \n "3. Scale (MB/s)": "11890.48", \n "4. Triad (MB/s)": "12063.59", \n "5. Average (MB/s)": "11941.83"\n }, \n "2. FLOATmem bandwidth": {\n "1. Copy (MB/s)": "7872.50", \n "2. Add (MB/s)": "10733.12", \n "3. Scale (MB/s)": "8025.65", \n "4. Triad (MB/s)": "10746.75", \n "5. Average (MB/s)": "9344.50"\n }\n }\n }, \n "Baremetal2": {\n "1 Time of Report": "2016-01-12T12:02:29.753152", \n "2 System Information": {\n "1_Hostname": "node-41.domain.tld", \n "2_Product": "PowerEdge M620 serial: F1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.766 MHz Graphics", \n "6_CPU_Usage": "10.1%", \n "7_Memory Usage": "22910.5/112767.3MB", \n "8_Disk usage": "598.9GB (5.7% used)"\n }, \n "3 RamSpeed result": {\n "1. INTmem bandwidth": {\n "1. Copy (MB/s)": "6475.10", \n "2. Add (MB/s)": "7517.29", \n "3. Scale (MB/s)": "7576.99", \n "4. Triad (MB/s)": "7353.62", \n "5. Average (MB/s)": "7230.75"\n }, \n "2. FLOATmem bandwidth": {\n "1. Copy (MB/s)": "5172.89", \n "2. Add (MB/s)": "8093.70", \n "3. Scale (MB/s)": "5239.64", \n "4. Triad (MB/s)": "7299.85", \n "5. Average (MB/s)": "6451.52"\n }\n }\n }\n }\n }, \n "SSL": {\n "1. Index": 0.8447691829905376, \n "2. Results": {\n "Baremetal1": {\n "1 Time of Report": "2016-01-06T10:26:17.402083", \n "2 System Information": {\n "1_Hostname": "node-40.domain.tld", \n "2_Product": "PowerEdge M620 serial: C1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.851 MHz Graphics", \n "6_CPU_Usage": "0.5%", \n "7_Memory Usage": "1410.1/128895.3MB", \n "8_Disk usage": "598.9GB (0.5% used)"\n }, \n "3 SSL result": {\n "1. Version": [\n "OpenSSL 1.0.2e 3 Dec 2015"\n ], \n "2. RSA signatures": {\n "1. 512 bits (sign/s)": "16732.5", \n "2. 1024 bits (sign/s)": "5456.2", \n "3. 2048 bits (sign/s)": "770.9", \n "4. 4096 bits (sign/s)": "105.1"\n }, \n "3. AES-128-cbc throughput": {\n "1. 16 Bytes block (B/sec)": "475911.73k", \n "2. 64 Bytes block (B/sec)": "576737.74k", \n "3. 256 Bytes block (B/sec)": "588061.78k", \n "4. 1024 Bytes block (B/sec)": "590354.09k", \n "5. 8192 Bytes block (B/sec)": "591104.68k"\n }\n }\n }, \n "Baremetal2": {\n "1 Time of Report": "2016-01-06T10:26:17.418950", \n "2 System Information": {\n "1_Hostname": "node-41.domain.tld", \n "2_Product": "PowerEdge M620 serial: F1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.766 MHz Graphics", \n "6_CPU_Usage": "10.1%", \n "7_Memory Usage": "23265.8/112767.3MB", \n "8_Disk usage": "598.9GB (5.7% used)"\n }, \n "3 SSL result": {\n "1. Version": [\n "OpenSSL 1.0.2e 3 Dec 2015"\n ], \n "2. RSA signatures": {\n "1. 512 bits (sign/s)": "14564.1", \n "2. 1024 bits (sign/s)": "4717.7", \n "3. 2048 bits (sign/s)": "716.4", \n "4. 4096 bits (sign/s)": "98.7"\n }, \n "3. AES-128-cbc throughput": {\n "1. 16 Bytes block (B/sec)": "429887.75k", \n "2. 64 Bytes block (B/sec)": "564057.37k", \n "3. 256 Bytes block (B/sec)": "580601.94k", \n "4. 1024 Bytes block (B/sec)": "579937.28k", \n "5. 8192 Bytes block (B/sec)": "580299.43k"\n }\n }\n }\n }\n }, \n "Whetstone": {\n "1. Index": 0.7841345594226515, \n "2. Results": {\n "Baremetal1": {\n "1 Time of Report": "2016-01-06T10:17:54.933960", \n "2 System Information": {\n "1_Hostname": "node-40.domain.tld", \n "2_Product": "PowerEdge M620 serial: C1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.851 MHz Graphics", \n "6_CPU_Usage": "0.5%", \n "7_Memory Usage": "1418.8/128895.3MB", \n "8_Disk usage": "598.9GB (0.5% used)"\n }, \n "3 Whetstone result": {\n "1.Number of CPU(s) in system": "24", \n "2.Single CPU test": {\n "1.Number of parallell test(s)": "1", \n "2.Index score": "708.4"\n }, \n "3.Multi CPU test": {\n "1.Number of parallell test(s)": "24", \n "2.Index score": "13472.0"\n }\n }\n }, \n "Baremetal2": {\n "1 Time of Report": "2016-01-06T10:17:54.952956", \n "2 System Information": {\n "1_Hostname": "node-41.domain.tld", \n "2_Product": "PowerEdge M620 serial: F1V6WW1", \n "3_OS Distribution": "Ubuntu 14.04 trusty", \n "4_Kernel": "3.13.0-68-generic x86_64 (64 bit)", \n "5_CPU": "2 Hexa core Intel Xeon CPU E5-2640 0s (-HT-MCP-SMP-) clocked at 2499.766 MHz Graphics", \n "6_CPU_Usage": "10.1%", \n "7_Memory Usage": "23274.2/112767.3MB", \n "8_Disk usage": "598.9GB (5.7% used)"\n }, \n "3 Whetstone result": {\n "1.Number of CPU(s) in system": "24", \n "2.Single CPU test": {\n "1.Number of parallell test(s)": "1", \n "2.Index score": "638.9"\n }, \n "3.Multi CPU test": {\n "1.Number of parallell test(s)": "24", \n "2.Index score": "13618.4"\n }\n }\n }\n }\n }\n }\n}'} diff --git a/func/driver.py b/func/driver.py index 240e5b27..94fc1432 100644 --- a/func/driver.py +++ b/func/driver.py @@ -56,5 +56,5 @@ class Driver: index= index+1 dic_json = json.dumps(dict(self.dic_json.items())) print dic_json - run_play = 'ansible-playbook ./benchmarks/playbooks/{0} --private-key=./data/QtipKey -i ./data/hosts --extra-vars \'{1}\' -v'.format(benchmark_name, dic_json) + run_play = 'ansible-playbook ./benchmarks/playbooks/{0} --private-key=./data/QtipKey -i ./data/hosts --extra-vars \'{1}\''.format(benchmark_name, dic_json) status = os.system(run_play) diff --git a/test_cases/dell-us-deploying-bm3/network/iperf_bm.yaml b/test_cases/dell-us-deploying-bm3/network/iperf_bm.yaml index 0a5be9af..4c64dd16 100644 --- a/test_cases/dell-us-deploying-bm3/network/iperf_bm.yaml +++ b/test_cases/dell-us-deploying-bm3/network/iperf_bm.yaml @@ -11,11 +11,11 @@ Scenario: Context: Host_Machines: machine_1: - ip: 10.20.0.5 + ip: 10.20.0.4 pw: role: 1-server machine_2: - ip: 10.20.0.4 + ip: 10.20.0.5 pw: role: 2-host -- cgit 1.2.3-korg