There is a bug in userspace datapath that causes
failures within the LB affinity test [0].
Skip the test until the bug is fixed.

[0] https://bugzilla.redhat.com/2170828
Tested-by: Simon Horman <simon.hor...@corigine.com>
Signed-off-by: Ales Musil <amu...@redhat.com>
---
v3: Rebase on top of current main.
---
 tests/system-kmod-macros.at      | 6 ++++++
 tests/system-ovn.at              | 2 ++
 tests/system-userspace-macros.at | 9 +++++++++
 3 files changed, 17 insertions(+)

diff --git a/tests/system-kmod-macros.at b/tests/system-kmod-macros.at
index 787a59c97..e72a2970b 100644
--- a/tests/system-kmod-macros.at
+++ b/tests/system-kmod-macros.at
@@ -183,3 +183,9 @@ m4_define([OVS_CHECK_KERNEL_EXCL],
     sublevel=$(uname -r | sed -e 's/\./ /g' | awk '{print $ 2}')
     AT_SKIP_IF([ ! ( test $version -lt $1 || ( test $version -eq $1 && test 
$sublevel -lt $2 ) || test $version -gt $3 || ( test $version -eq $3 && test 
$sublevel -gt $4 ) ) ])
 ])
+
+# CHECK_USERSPACE_DATAPATH()
+#
+# Perform requirements checks for running with OvS userspace datapath.
+# Some tests are failing for userspace datapath.
+m4_define([CHECK_USERSPACE_DATAPATH])
diff --git a/tests/system-ovn.at b/tests/system-ovn.at
index 8dc9a5a1d..0ba8a9abe 100644
--- a/tests/system-ovn.at
+++ b/tests/system-ovn.at
@@ -8705,6 +8705,7 @@ AT_KEYWORDS([ovnlb])
 
 CHECK_CONNTRACK()
 CHECK_CONNTRACK_NAT()
+CHECK_USERSPACE_DATAPATH()
 ovn_start
 OVS_TRAFFIC_VSWITCHD_START()
 ADD_BR([br-int])
@@ -9001,6 +9002,7 @@ AT_KEYWORDS([ovnlb])
 
 CHECK_CONNTRACK()
 CHECK_CONNTRACK_NAT()
+CHECK_USERSPACE_DATAPATH()
 ovn_start
 OVS_TRAFFIC_VSWITCHD_START()
 ADD_BR([br-int])
diff --git a/tests/system-userspace-macros.at b/tests/system-userspace-macros.at
index 86ed22622..1dc682783 100644
--- a/tests/system-userspace-macros.at
+++ b/tests/system-userspace-macros.at
@@ -294,3 +294,12 @@ m4_define([OVS_CHECK_KERNEL_EXCL],
 [
     AT_SKIP_IF([:])
 ])
+
+# CHECK_USERSPACE_DATAPATH()
+#
+# Perform requirements checks for running with OvS userspace datapath.
+# Some tests are failing for userspace datapath.
+m4_define([CHECK_USERSPACE_DATAPATH],
+[
+    AT_SKIP_IF([:])
+])
-- 
2.39.2

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to