aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/performance/performance_actions.robot
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/robot/performance/performance_actions.robot')
-rw-r--r--resources/libraries/robot/performance/performance_actions.robot100
1 files changed, 34 insertions, 66 deletions
diff --git a/resources/libraries/robot/performance/performance_actions.robot b/resources/libraries/robot/performance/performance_actions.robot
index de7c63200a..36f126b9ec 100644
--- a/resources/libraries/robot/performance/performance_actions.robot
+++ b/resources/libraries/robot/performance/performance_actions.robot
@@ -26,9 +26,9 @@
| | Run Keyword If | ${extended_debug}==${True}
| | ... | Perf Stat On All DUTs | ${nodes} | cpu_list=${cpu_alloc_str}
-| Additional Statistics Action For trex-runtime
+| Additional Statistics Action For bpf-runtime
| | [Documentation]
-| | ... | Additional Statistics Action for T-Rex telemetry counters with
+| | ... | Additional Statistics Action for linux bundle counters with
| | ... | running traffic.
| |
| | ... | See documentation of the called keyword for required test variables.
@@ -58,44 +58,20 @@
| | ... | duration_limit=${0.0}
| | ... | ramp_up_duration=${ramp_up_duration}
| | ... | ramp_up_rate=${ramp_up_rate}
-| | Sleep | 1s
+| | Run Telemetry On All DUTs
+| | ... | ${nodes} | profile=bpf_runtime.yaml
+| | ... | rate=${telemetry_rate} | export=${False}
| | Stop traffic on tg
-| Additional Statistics Action For infra-warmup
+| Additional Statistics Action For noop
| | [Documentation]
-| | ... | Additional Statistics Action for infra warmup.
-| |
-| | ... | See documentation of the called keyword for required test variables.
+| | ... | Additional Statistics Action for no operation.
| |
-| | ${ppta} = | Get Packets Per Transaction Aggregated
-| | ${ramp_up_duration} = | Get Ramp Up Duration
-| | ${ramp_up_rate} = | Get Ramp Up Rate
-| | ${runtime_duration} = | Get Runtime Duration
-| | ${runtime_rate} = | Get Runtime Rate
-| | ${traffic_directions} = | Get Traffic Directions
-| | ${transaction_duration} = | Get Transaction Duration
-| | ${transaction_scale} = | Get Transaction Scale
-| | ${transaction_type} = | Get Transaction Type
-| | ${use_latency} = | Get Use Latency
-| | Send traffic on tg
-| | ... | duration=${5}
-| | ... | rate=${253}
-| | ... | frame_size=${frame_size}
-| | ... | traffic_profile=${traffic_profile}
-| | ... | async_call=${False}
-| | ... | ppta=${ppta}
-| | ... | use_latency=${False}
-| | ... | traffic_directions=${traffic_directions}
-| | ... | transaction_duration=${transaction_duration}
-| | ... | transaction_scale=${transaction_scale}
-| | ... | transaction_type=${transaction_type}
-| | ... | duration_limit=${0.0}
-| | ... | ramp_up_duration=${ramp_up_duration}
-| | ... | ramp_up_rate=${ramp_up_rate}
+| | No operation
-| Additional Statistics Action For vpp-runtime
+| Additional Statistics Action For perf-stat-runtime
| | [Documentation]
-| | ... | Additional Statistics Action for clear and show runtime counters with
+| | ... | Additional Statistics Action for linux bundle counters with
| | ... | running traffic.
| |
| | ... | See documentation of the called keyword for required test variables.
@@ -112,7 +88,7 @@
| | ${use_latency} = | Get Use Latency
| | ${node_arch} = | Get Node Arch | ${nodes[u'DUT1']}
| | ${profile} = | Set Variable If | "${node_arch}" == "aarch64"
-| | ... | vppctl_runtime_arm.yaml | vppctl_runtime.yaml
+| | ... | perf_stat_runtime_arm.yaml | perf_stat_runtime.yaml
| | Send traffic on tg
| | ... | duration=${-1}
| | ... | rate=${runtime_rate}
@@ -130,12 +106,12 @@
| | ... | ramp_up_rate=${ramp_up_rate}
| | Run Telemetry On All DUTs
| | ... | ${nodes} | profile=${profile}
-| | ... | rate=${telemetry_rate} | export=${telemetry_export}
+| | ... | rate=${telemetry_rate} | export=${False}
| | Stop traffic on tg
-| Additional Statistics Action For bpf-runtime
+| Additional Statistics Action For trex-runtime
| | [Documentation]
-| | ... | Additional Statistics Action for linux bundle counters with
+| | ... | Additional Statistics Action for T-Rex telemetry counters with
| | ... | running traffic.
| |
| | ... | See documentation of the called keyword for required test variables.
@@ -165,14 +141,27 @@
| | ... | duration_limit=${0.0}
| | ... | ramp_up_duration=${ramp_up_duration}
| | ... | ramp_up_rate=${ramp_up_rate}
-| | Run Telemetry On All DUTs
-| | ... | ${nodes} | profile=bpf_runtime.yaml
-| | ... | rate=${telemetry_rate} | export=${False}
+| | Sleep | 1s
| | Stop traffic on tg
-| Additional Statistics Action For perf-stat-runtime
+| Additional Statistics Action For vpp-clear-stats
| | [Documentation]
-| | ... | Additional Statistics Action for linux bundle counters with
+| | ... | Additional Statistics Action for clear VPP statistics.
+| |
+| | Run Telemetry On All DUTs
+| | ... | ${nodes} | profile=vppctl_clear_stats.yaml
+| | ... | export=${False}
+
+| Additional Statistics Action For vpp-enable-packettrace
+| | [Documentation]
+| | ... | Additional Statistics Action for enable VPP packet trace.
+| |
+| | Run Keyword If | ${extended_debug}==${True}
+| | ... | VPP Enable Traces On All DUTs | ${nodes} | fail_on_error=${False}
+
+| Additional Statistics Action For vpp-runtime
+| | [Documentation]
+| | ... | Additional Statistics Action for clear and show runtime counters with
| | ... | running traffic.
| |
| | ... | See documentation of the called keyword for required test variables.
@@ -189,7 +178,7 @@
| | ${use_latency} = | Get Use Latency
| | ${node_arch} = | Get Node Arch | ${nodes[u'DUT1']}
| | ${profile} = | Set Variable If | "${node_arch}" == "aarch64"
-| | ... | perf_stat_runtime_arm.yaml | perf_stat_runtime.yaml
+| | ... | vppctl_runtime_arm.yaml | vppctl_runtime.yaml
| | Send traffic on tg
| | ... | duration=${-1}
| | ... | rate=${runtime_rate}
@@ -207,7 +196,7 @@
| | ... | ramp_up_rate=${ramp_up_rate}
| | Run Telemetry On All DUTs
| | ... | ${nodes} | profile=${profile}
-| | ... | rate=${telemetry_rate} | export=${False}
+| | ... | rate=${telemetry_rate} | export=${telemetry_export}
| | Stop traffic on tg
| Additional Statistics Action For vpp-runtime-iperf3
@@ -239,27 +228,6 @@
| | ... | rate=${telemetry_rate} | export=${telemetry_export}
| | iPerf Client Stop Remote Exec | ${nodes['${iperf_client_node}']} | ${pids}
-| Additional Statistics Action For noop
-| | [Documentation]
-| | ... | Additional Statistics Action for no operation.
-| |
-| | No operation
-
-| Additional Statistics Action For vpp-clear-stats
-| | [Documentation]
-| | ... | Additional Statistics Action for clear VPP statistics.
-| |
-| | Run Telemetry On All DUTs
-| | ... | ${nodes} | profile=vppctl_clear_stats.yaml
-| | ... | export=${False}
-
-| Additional Statistics Action For vpp-enable-packettrace
-| | [Documentation]
-| | ... | Additional Statistics Action for enable VPP packet trace.
-| |
-| | Run Keyword If | ${extended_debug}==${True}
-| | ... | VPP Enable Traces On All DUTs | ${nodes} | fail_on_error=${False}
-
| Additional Statistics Action For vpp-show-packettrace
| | [Documentation]
| | ... | Additional Statistics Action for show VPP packet trace.