summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDumitru Ceara <dceara@redhat.com>2022-02-25 16:38:06 +0100
committerIlya Maximets <i.maximets@ovn.org>2022-03-11 21:14:51 +0100
commitb1e783dde42dc589d416753ae3d6c8585b7fb7da (patch)
tree37121b0285e05c3807e852377a6a7479aac24f1f
parent8d480c5cec76492735719180cd431eb2b2fae4d6 (diff)
downloadopenvswitch-b1e783dde42dc589d416753ae3d6c8585b7fb7da.tar.gz
tests: Ignore log about failing to set NETLINK_EXT_ACK.
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. Signed-off-by: Dumitru Ceara <dceara@redhat.com> Acked-by: Eelco Chaudron <echaudro@redhat.com> Acked-by: Paolo Valerio <pvalerio@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
-rw-r--r--tests/ofproto-macros.at2
-rw-r--r--tests/ovs-vswitchd.at2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at
index 736d9809c..7051d9539 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 bba4fea2b..977b2eba1 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