From 75ddc9c34e08133ffb618271ca21499365b90ad7 Mon Sep 17 00:00:00 2001 From: Jakub Libosvar Date: Wed, 9 Aug 2017 09:33:12 +0000 Subject: [PATCH] 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 --- neutron/tests/functional/agent/linux/test_netlink_lib.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/neutron/tests/functional/agent/linux/test_netlink_lib.py b/neutron/tests/functional/agent/linux/test_netlink_lib.py index 2468c33f9bc..cea900d0d7d 100644 --- a/neutron/tests/functional/agent/linux/test_netlink_lib.py +++ b/neutron/tests/functional/agent/linux/test_netlink_lib.py @@ -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',