aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2020-01-22 16:38:39 +0100
committerJan Gelety <jgelety@cisco.com>2020-02-10 13:33:52 +0000
commit10d67066f2699e37a8c50e435a1765c8f08d9d9e (patch)
treeb858158568b02f12718ba29f8e968772f96bb43a /resources
parent8df65dede6e31c18f9c33456431d779329701253 (diff)
FIX: Detection if l2fwd/l3fwd is up/down
Change-Id: Ide5de222e8314a0ea0be59f9a478f8d59147f722 Signed-off-by: Jan Gelety <jgelety@cisco.com> (cherry picked from commit b968e370fe2737233f138ffd67a5bff75a6de091)
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/DPDK/DPDKTools.py2
-rw-r--r--resources/libraries/python/DPDK/L2fwdTest.py2
-rw-r--r--resources/libraries/python/DPDK/L3fwdTest.py2
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']}"