functional: disable netlink tests

Current gate runs with kernel 4.4.0-89. Creating conntrack entries fails
with this version and leaves conntrack in stuck state leading to
functional tests to hang.

This patch proposes to skip those tests that create conntrack entries so
we can enable back the functional job to voting to avoid new regressions
at this suite.

Change-Id: I9f883cea1d101efe6a7214c3a9b679fc32427365
Related-bug: #1709032
This commit is contained in:
Jakub Libosvar 2017-08-09 09:33:12 +00:00
parent 12d6a3ea4c
commit 75ddc9c34e

View File

@ -27,6 +27,15 @@ class NetlinkLibTestCase(functional_base.BaseSudoTestCase):
as expected.
"""
def setUp(self):
super(NetlinkLibTestCase, self).setUp()
self.skipTest(
"Current upstream Neutron infrastructure uses a kernel containing "
"a bug when creating conntrack entries. This skip is a temporary "
"solution to allow upstream CI run functional tests. For more "
"information please see following bug: "
"https://bugs.launchpad.net/linux/+bug/1709032")
def _create_entries(self, zone):
conntrack_cmds = (
['conntrack', '-I', '-p', 'tcp',