Modules were renamed around kernel 4.18. New name doesn't have the protocol version. Also, we need to load the netlink module to have access to conntrack dumps.
While these modules are likely to always be present and not actually be unloadable due to being in use by many different things in the system, they may not be loaded in minimalistic environments like virtme-ng. And tests fail without them. Signed-off-by: Ilya Maximets <[email protected]> --- tests/system-kmod-macros.at | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/system-kmod-macros.at b/tests/system-kmod-macros.at index 421bec677..9a4607ef7 100644 --- a/tests/system-kmod-macros.at +++ b/tests/system-kmod-macros.at @@ -63,8 +63,13 @@ m4_define([CONFIGURE_VETH_OFFLOADS], # Perform requirements checks for running conntrack tests, and flush the # kernel conntrack tables when the test is finished. # +# nf_conntrack_ipv[46] are old names in kernels before 4.18. These will +# fail on newer kernels, while nf_conntrack will fail on older ones. But +# these failures do not affect the test execution. +# m4_define([CHECK_CONNTRACK], - [m4_foreach([mod], [[nf_conntrack_ipv4], [nf_conntrack_ipv6]], + [m4_foreach([mod], [[nf_conntrack_ipv4], [nf_conntrack_ipv6], + [nf_conntrack], [nf_conntrack_netlink]], [modprobe mod || echo "Module mod not loaded." on_exit 'modprobe -r mod' ]) -- 2.54.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
