diff options
author | Viliam Luc <vluc@cisco.com> | 2022-06-13 13:42:29 +0200 |
---|---|---|
committer | Viliam Luc <vluc@cisco.com> | 2022-06-17 13:10:18 +0200 |
commit | 5c4c05c8ea9f1b07862c09c8d971a3dae3b16adf (patch) | |
tree | 21f42ad2e0be5ec9468ff6d344c4ce9f7f76ec9f /resources/libraries/robot | |
parent | f7ee014dee09b4089924342b0fe5654b2fe91e90 (diff) |
fix: testpmd and l3fwd check state
+ print testpmd and l3fwd pid after start
Testpmd and l3fwd utility can be started but link might not be
ready yet. This fix start the utility on all DUTs and do the
check later.
Signed-off-by: Viliam Luc <vluc@cisco.com>
Change-Id: If476e22f206d9a6a0dd399879a88eafedca92bb6
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r-- | resources/libraries/robot/dpdk/default.robot | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/resources/libraries/robot/dpdk/default.robot b/resources/libraries/robot/dpdk/default.robot index 9fd6379afd..b63f245d07 100644 --- a/resources/libraries/robot/dpdk/default.robot +++ b/resources/libraries/robot/dpdk/default.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2022 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -15,7 +15,9 @@ | Library | resources.libraries.python.InterfaceUtil | Library | resources.libraries.python.CpuUtils | Library | resources.libraries.python.DPDK.TestpmdTest +| Library | resources.libraries.python.DPDK.TestpmdCheck | Library | resources.libraries.python.DPDK.L3fwdTest +| Library | resources.libraries.python.DPDK.L3fwdCheck | Library | Collections *** Keywords *** @@ -50,6 +52,9 @@ | | | ... | ${nodes['${dut}']} | ${${dut}_pf1}[0] | ${${dut}_pf2}[0] | | | ... | ${cpu_dp} | ${dp_count_int} | ${rxq_count_int} | ${jumbo_frames} | | | ... | ${nic_rxq_size} | ${nic_txq_size} +| | FOR | ${dut} | IN | @{duts} +| | | Check testpmd +| | | ... | ${nodes['${dut}']} | | END | Start l3fwd on all DUTs @@ -82,4 +87,7 @@ | | | Start l3fwd | | | ... | ${nodes} | ${nodes['${dut}']} | ${${dut}_pf1}[0] | ${${dut}_pf2}[0] | | | ... | ${cpu_dp} | ${dp_count_int} | ${rxq_count_int} | ${jumbo_frames} +| | FOR | ${dut} | IN | @{duts} +| | | Check l3fwd +| | | ... | ${nodes['${dut}']} | | END |