aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vpp/perf/__init__.robot
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-07-01 06:13:54 +0000
committerPeter Mikus <pmikus@cisco.com>2018-07-02 09:10:09 +0000
commita28f1efe6803b70c3e2d2bdb74d55c88ffa8f9e1 (patch)
treecc87a4d85f4f5312ceba68724d2e752666233df0 /tests/vpp/perf/__init__.robot
parent8a5ef28ce07926ea81337ef7a997a2cf19e3cb4a (diff)
Compatibility fixes with Ubuntu 18.04
Currently we are using ip:port socket to for VPP to listen for incoming connections. There is only one place in code this socket is used for detection if VPP is responding after restart. This patch is supposed to change ip:port to sock:file which is default preffered way in VPP. This way we can start using vppctl. netcat on the other side with ip:port remains hanged in console for infinite time not returning back. There is also need to check whether uio_module is loaded and eventually load it. As uio_pci_generic is not working there, we will fallback to main igb_uio (uio_pci_generic being only lightweight subset of igb_uio). This patch also add additional verbose output to console during setup to better understand if failure happens during copy/extract/setup. Change-Id: I0b8a3b76dce3316496a3ad928f58718b6e73057d Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'tests/vpp/perf/__init__.robot')
-rw-r--r--tests/vpp/perf/__init__.robot4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/vpp/perf/__init__.robot b/tests/vpp/perf/__init__.robot
index 642906dd22..60410160ac 100644
--- a/tests/vpp/perf/__init__.robot
+++ b/tests/vpp/perf/__init__.robot
@@ -19,6 +19,8 @@
| Library | resources.libraries.python.CpuUtils
| Suite Setup | Run Keywords | Setup performance global Variables
| ... | AND | Setup Framework | ${nodes}
+| ... | AND | Kernel module verify on all DUTs | ${nodes}
+| ... | ${uio_driver} | force_load=${True}
| ... | AND | Setup All DUTs | ${nodes}
| ... | AND | Show Vpp Version On All Duts | ${nodes}
| ... | AND | Get CPU Layout from all nodes | ${nodes}
@@ -53,6 +55,6 @@
| | Set Global Variable | ${qemu_build} | ${True}
| | Set Global Variable | ${pkt_trace} | ${False}
| | Set Global Variable | ${dut_stats} | ${True}
-| | Set Global Variable | ${uio_driver} | uio_pci_generic
+| | Set Global Variable | ${uio_driver} | igb_uio
| | @{plugins_to_enable}= | Create List | dpdk_plugin.so
| | Set Global Variable | @{plugins_to_enable}