X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fperformance%2Fperformance_utils.robot;h=8de74c570737fd91e87a41b185ee1558c4a200b1;hb=49285453098700b639f241f1486e20d1a6ddb39d;hp=8f29d975a1ce68a7094dc1dd55dd5e9185b6618d;hpb=d255d2545ee6cdc871bc35314fad72c3c48b225b;p=csit.git diff --git a/resources/libraries/robot/performance/performance_utils.robot b/resources/libraries/robot/performance/performance_utils.robot index 8f29d975a1..8de74c5707 100644 --- a/resources/libraries/robot/performance/performance_utils.robot +++ b/resources/libraries/robot/performance/performance_utils.robot @@ -154,7 +154,7 @@ | | ... | final_trial_duration=${30.0} | | ... | initial_trial_duration=${1.0} | | ... | number_of_intermediate_phases=${2} -| | ... | timeout=${720.0} +| | ... | timeout=${1200.0} | | ... | ppta=${ppta} | | ... | resetter=${resetter} | | ... | traffic_directions=${traffic_directions} @@ -241,7 +241,7 @@ | | ... | final_trial_duration=${10.0} | | ... | initial_trial_duration=${1.0} | | ... | number_of_intermediate_phases=${1} -| | ... | timeout=${720} +| | ... | timeout=${1200} | | ... | ppta=${ppta} | | ... | resetter=${resetter} | | ... | traffic_directions=${traffic_directions} @@ -388,6 +388,7 @@ | | ${transaction_scale} = | Get Transaction Scale | | ${transaction_type} = | Get Transaction Type | | Set Test Variable | \${rate_for_teardown} | ${rate} +| | Set Test Variable | \${runtime_rate} | ${rate} | | FOR | ${action} | IN | @{stat_runtime} | | | Run Keyword | Additional Statistics Action For ${action} | | END @@ -486,7 +487,7 @@ | | ${smt_used}= | Is SMT enabled | ${nodes['${iperf_server_node}']['cpuinfo']} | | ${vm_status} | ${value}= | Run Keyword And Ignore Error | | ... | Get Library Instance | vnf_manager -| | ${vth}= | Evaluate | (${thr_count_int} + 1) +| | ${vth}= | Evaluate | (${dp_count_int} + 1) | | ${cpu_skip_cnt}= | Set Variable If | '${vm_status}' == 'PASS' | | ... | ${CPU_CNT_SYSTEM} | | ... | ${${CPU_CNT_SYSTEM} + ${CPU_CNT_MAIN} + ${cpu_count_int} + ${vth}} @@ -512,9 +513,10 @@ | | ... | ${nodes['${iperf_client_node}']} | | ... | namespace=${iperf_client_namespace} | | ... | default_route=${iperf_client_bind_gw} -| | ${pre_stats}= | Create List -| | ... | clear-show-runtime-with-iperf3 -| | ... | vpp-clear-stats | vpp-enable-packettrace | vpp-enable-elog +| | ${stat_runtime}= | Create List +| | ... | vpp-runtime-iperf3 +| | ${stat_pre_trial}= | Create List +| | ... | vpp-runtime-iperf3 | vpp-clear-stats | vpp-enable-packettrace | | FOR | ${action} | IN | @{stat_runtime} | | | Run Keyword | Additional Statistics Action For ${action} | | END