From c90360642e3032c73b7d17844eb6b019b618fc5b Mon Sep 17 00:00:00 2001 From: Nauman_Ahad Date: Tue, 2 Feb 2016 12:45:40 +0500 Subject: Fixed issue with SSL and IPERF Recent patches incorporating sudo led to an error Change-Id: If0e3316fbebce774db43f5fdcb3ea5e322a28222 Signed-off-by: Nauman_Ahad --- benchmarks/playbooks/iperf.yaml | 6 +++--- benchmarks/playbooks/ssl.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'benchmarks') diff --git a/benchmarks/playbooks/iperf.yaml b/benchmarks/playbooks/iperf.yaml index 773961fe..9bd0f1e2 100644 --- a/benchmarks/playbooks/iperf.yaml +++ b/benchmarks/playbooks/iperf.yaml @@ -75,20 +75,20 @@ when: ansible_os_family == "RedHat" - name: Running iperf on server - shell: sudo iperf3 -s + shell: iperf3 -s async: 400 poll: 0 when: rolename == "1-server" - name: Running Iperf on Host - shell: sudo iperf3 --time {{duration}} -b {{bandwidthGbps}}G -c {{ip1}} -J -O10 >> ./qtip_result/iperf_raw.json + shell: iperf3 --time {{duration}} -b {{bandwidthGbps}}G -c {{ip1}} -J -O10 >> ./qtip_result/iperf_raw.json ignore_errors: yes with_items: - "{{ip1}}" when: rolename == "2-host" and "{{privateip1}}" == "NONE" - name: Running Iperf on Host - shell: sudo iperf3 --time {{duration}} -b{{bandwidthGbps}}G -c {{privateip1}} -J -O10 >> ./qtip_result/iperf_raw.json + shell: iperf3 --time {{duration}} -b{{bandwidthGbps}}G -c {{privateip1}} -J -O10 >> ./qtip_result/iperf_raw.json ignore_errors: yes with_items: - "{{ip1}}" diff --git a/benchmarks/playbooks/ssl.yaml b/benchmarks/playbooks/ssl.yaml index 942fba50..4be9c1d8 100644 --- a/benchmarks/playbooks/ssl.yaml +++ b/benchmarks/playbooks/ssl.yaml @@ -62,7 +62,7 @@ copy: src=./result_transform/ssl/ssl_transform.py dest={{home_dir.stdout}}/qtip_result - name: Transforming result - shell: sudo cd $HOME/qtip_result && python ssl_transform.py + shell: cd $HOME/qtip_result && python ssl_transform.py - name: copy report formation script copy: src=./result_transform/final_report.py dest={{home_dir.stdout}}/qtip_result -- cgit 1.2.3-korg