diff options
author | 2025-02-05 14:45:31 +0100 | |
---|---|---|
committer | 2025-02-05 14:45:31 +0100 | |
commit | d9701475f4a4809eb8b32ea04a9c05e2cf74ee94 (patch) | |
tree | c48558289c8643d57880a72454bb88a65a4a5d93 /resources/libraries/robot/hoststack/hoststack.robot | |
parent | 528fa294d4e60c6c9dbc122057f95160a3becd8a (diff) |
fix(hoststack): Base ldpreload path on CPU arch
Without this, Nginx drop all packets on 2n-grc.
+ Also fix iperf3, even though we do not have working 3n ARM testbed.
- If something else breaks Nginx, failed requests still count as real.
Change-Id: Ib8d13986d2d58aaf3f63e70152bec45b303475f0
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/robot/hoststack/hoststack.robot')
-rw-r--r-- | resources/libraries/robot/hoststack/hoststack.robot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/robot/hoststack/hoststack.robot b/resources/libraries/robot/hoststack/hoststack.robot index d5cbd0bce0..643a67cd85 100644 --- a/resources/libraries/robot/hoststack/hoststack.robot +++ b/resources/libraries/robot/hoststack/hoststack.robot @@ -544,7 +544,7 @@ | | Set To Dictionary | ${iperf3_client_attr} | ip_address | | ... | ${dut2_if1_ip4_addr} | | Configure VPP Hoststack Attributes on all DUTs -| | ${iperf3_server}= | Get Iperf3 Command | ${iperf3_server_attr} +| | ${iperf3_server}= | Get Iperf3 Command | ${iperf3_server_attr} | ${dut2} | | ${skip_cnt}= | Evaluate | | ... | ${CPU_CNT_SYSTEM} + ${CPU_CNT_MAIN} + ${vpp_hoststack_attr}[phy_cores] | | ${numa}= | Get interfaces numa node | ${dut2} | ${dut2_if1} @@ -557,7 +557,7 @@ | | ... | ${dut2} | ${dut2_if1} | ${dut2_if1_ip4_addr} | ${dut2_if1_ip4_prefix} | | ... | ${iperf3_server_attr}[namespace] | ${core_list} | | ... | ${iperf3_server_attr}[cfg_vpp_feature] | ${iperf3_server} -| | ${iperf3_client}= | Get Iperf3 Command | ${iperf3_client_attr} +| | ${iperf3_client}= | Get Iperf3 Command | ${iperf3_client_attr} | ${dut1} | | ${numa}= | Get interfaces numa node | ${dut1} | ${dut1_if1} | | ${core_list}= | Cpu list per node str | ${dut1} | ${numa} | | ... | skip_cnt=${skip_cnt} | cpu_cnt=${iperf3_client_attr}[cpu_cnt] @@ -619,7 +619,7 @@ | | ${cpu_idle_list}= | Get Slice From List | ${cpu_idle} | | ... | ${${skip_cnt} + ${attr}[cpu_cnt]} | | ${nginx_server}= | Get Nginx Command | ${attr} -| | ... | ${nginx_version} | ${packages_dir} +| | ... | ${nginx_version} | ${packages_dir} | ${DUT1} | | Start Hoststack Test Program | | ... | ${DUT1} | ${attr}[namespace] | ${core_list} | | ... | ${nginx_server} |