diff options
author | Jan Gelety <jgelety@cisco.com> | 2020-01-22 16:38:39 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2020-02-10 13:33:34 +0000 |
commit | b968e370fe2737233f138ffd67a5bff75a6de091 (patch) | |
tree | 0d34bfd9d941c7fd40106f6a08a4586cc28b55b5 /resources/libraries/python | |
parent | c34b584bec20a3239b204d9bb4e8b8e5ccfad6f2 (diff) |
FIX: Detection if l2fwd/l3fwd is up/down
Change-Id: Ide5de222e8314a0ea0be59f9a478f8d59147f722
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/DPDK/DPDKTools.py | 2 | ||||
-rw-r--r-- | resources/libraries/python/DPDK/L2fwdTest.py | 2 | ||||
-rw-r--r-- | resources/libraries/python/DPDK/L3fwdTest.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/DPDK/DPDKTools.py b/resources/libraries/python/DPDK/DPDKTools.py index ecb23fb4c3..868d2d886d 100644 --- a/resources/libraries/python/DPDK/DPDKTools.py +++ b/resources/libraries/python/DPDK/DPDKTools.py @@ -86,7 +86,7 @@ class DPDKTools: f"/cleanup_dpdk.sh {if1_driver} {pci_address1} {if2_driver} " \ f"{pci_address2}" - ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=600) + ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=1200) if ret_code != 0: raise RuntimeError( f"Failed to cleanup the dpdk at node {dut_node[u'host']}" diff --git a/resources/libraries/python/DPDK/L2fwdTest.py b/resources/libraries/python/DPDK/L2fwdTest.py index 56a055cfc5..de275f94af 100644 --- a/resources/libraries/python/DPDK/L2fwdTest.py +++ b/resources/libraries/python/DPDK/L2fwdTest.py @@ -52,7 +52,7 @@ class L2fwdTest: f"/run_l2fwd.sh {cpu_cores} {nb_cores} {queue_nums} {jumbo} " \ f"{arch}" - ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=600) + ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=1800) if ret_code != 0: raise RuntimeError( f"Failed to execute l2fwd test at node {dut_node['host']}" diff --git a/resources/libraries/python/DPDK/L3fwdTest.py b/resources/libraries/python/DPDK/L3fwdTest.py index 0a045c01bf..18becabd9b 100644 --- a/resources/libraries/python/DPDK/L3fwdTest.py +++ b/resources/libraries/python/DPDK/L3fwdTest.py @@ -73,7 +73,7 @@ class L3fwdTest: f"\"{port_config.rstrip(u',')}\" " \ f"{adj_mac0} {adj_mac1} {u'yes' if jumbo_frames else u'no'}" - ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=600) + ret_code, _, _ = ssh.exec_command_sudo(cmd, timeout=1800) if ret_code != 0: raise Exception( f"Failed to execute l3fwd test at node {dut_node[u'host']}" |