Since 4a6a4734622e ("netlink-socket: Log extack error messages in
netlink transactions."), tests fail on older systems that don't support
NETLINK_EXT_ACK.  It's not really an issue, so we can just ignore the
log.

CC: Paolo Valerio <[email protected]>
CC: Eelco Chaudron <[email protected]>
Signed-off-by: Dumitru Ceara <[email protected]>
---
 tests/ofproto-macros.at | 2 ++
 tests/ovs-vswitchd.at   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at
index 736d9809cb32..7051d95396ff 100644
--- a/tests/ofproto-macros.at
+++ b/tests/ofproto-macros.at
@@ -175,6 +175,7 @@ m4_define([_OVS_VSWITCHD_START],
 /dpdk|INFO|DPDK Disabled - Use other_config:dpdk-init to enable/d
 /netlink_socket|INFO|netlink: could not enable listening to all nsid/d
 /probe tc:/d
+/setting extended ack support failed/d
 /tc: Using policy/d']])
 ])
 
@@ -239,6 +240,7 @@ check_logs () {
 /timeval.*context switches: [[0-9]]* voluntary, [[0-9]]* involuntary/d
 /ovs_rcu.*blocked [[0-9]]* ms waiting for .* to quiesce/d
 /Dropped [[0-9]]* log messages/d
+/setting extended ack support failed/d
 /|WARN|/p
 /|ERR|/p
 /|EMER|/p" ${logs}
diff --git a/tests/ovs-vswitchd.at b/tests/ovs-vswitchd.at
index bba4fea2bce9..977b2eba1f26 100644
--- a/tests/ovs-vswitchd.at
+++ b/tests/ovs-vswitchd.at
@@ -121,6 +121,7 @@ OVS_APP_EXIT_AND_WAIT_BY_TARGET(["`pwd`"/unixctl2], 
[ovs-vswitchd-2.pid])
 # the process.
 AT_CHECK([sed -n "
 /|ERR|another ovs-vswitchd process is running/d
+/setting extended ack support failed/d
 /|WARN|/p
 /|ERR|/p
 /|EMER|/p" fakelog
@@ -148,6 +149,7 @@ AT_CHECK([grep "wakeup due to" ovs-vswitchd.log], [ignore])
 
 # check the log, should not see any WARN/ERR/EMER log.
 AT_CHECK([sed -n "
+/setting extended ack support failed/d
 /|WARN|/p
 /|ERR|/p
 /|EMER|/p" ovs-vswitchd.log
-- 
2.27.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to