From 39aedd8ec2dd0313a097d78046445be11c7bc6d7 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Fri, 29 Apr 2016 23:31:32 +0300 Subject: GA fix for python3 --- .../automation/regression/setups/trex25/benchmark.yaml | 18 ++++++++++-------- .../stl/trex_stl_lib/utils/GAObjClass.py | 2 +- 2 files changed, 11 insertions(+), 9 deletions(-) (limited to 'scripts') diff --git a/scripts/automation/regression/setups/trex25/benchmark.yaml b/scripts/automation/regression/setups/trex25/benchmark.yaml index 756c1501..8ef7e0c7 100644 --- a/scripts/automation/regression/setups/trex25/benchmark.yaml +++ b/scripts/automation/regression/setups/trex25/benchmark.yaml @@ -179,15 +179,17 @@ test_CPU_benchmark: cpu_util : 1 bw_per_core : 1 - - name : stl/udp_1pkt_simple.py - kwargs : {packet_len: 9000, packet_count: 10} - cpu_util : 1 - bw_per_core : 1 +# problem stabilizing CPU utilization at this setup +# - name : stl/udp_1pkt_simple.py +# kwargs : {packet_len: 9000, packet_count: 10} +# cpu_util : 1 +# bw_per_core : 1 - - name : stl/udp_1pkt_simple.py - kwargs : {packet_len: 9000, packet_count: 100} - cpu_util : 1 - bw_per_core : 1 +# problem stabilizing CPU utilization at this setup +# - name : stl/udp_1pkt_simple.py +# kwargs : {packet_len: 9000, packet_count: 100} +# cpu_util : 1 +# bw_per_core : 1 # not enough memory + queue full if memory increase # - name : stl/udp_1pkt_simple.py diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py index 3101b45d..164aae7a 100755 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/GAObjClass.py @@ -200,7 +200,7 @@ class GAmanager: # print items def reportBatched(self,batched): - req = Request(url_batched, data=batched) + req = Request(url_batched, data=batched.encode('ascii')) urlopen(req) #requests.post(url_batched,data=batched) -- cgit 1.2.3-korg