neutron/neutron/tests
Slawek Kaplonski bacc7abf83 Make Neutron gate great again
This is combined patch to fix couple of issues which
we recently had in gate.

1. [Functional tests] Fix SIGHUP handling tests

Tests in neutron.functional.test_server module are testing how
PluginWorker, WSGIWorker and RPCWorker are handling SIGHUP signal.

Recently this was changed in Oslo.service with [1] and our tests
were failing because they were still expecting that after sending
SIGHUP to the process, stop() and than start() method will be called.

But as our services uses "mutate" as restart method, since [1] such
process don't executes stop() and start() after SIGHUP. It now executes
only reset() method.
This patch reflects that change in Neutron functional tests.

2. Veth pair "IFLA_LINK" populated since kernel 4.15.0-60-generic

Since kernel_version=4.15.0-60-generic, "iproute2" provides the veth
pair index, even if the pair interface is in other namespace. In
previous versions, the parameter 'IFLA_LINK' was not present. We need
to handle both cases

[1] https://review.opendev.org/#/c/641907/

Co-Authored-By: Rodolfo Alonso Hernandez <ralonsoh@redhat.com>

Change-Id: I7a3f20a795c89ab1ab037d046a1101cd5c0287d6
Closes-Bug: #1842659
Closes-Bug: #1842482
2019-09-06 07:44:29 +00:00
..
common Kill all processes running in a namespace before deletion 2019-08-21 09:03:54 +00:00
contrib Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Remove L3 IP QoS cache when router is down 2019-08-16 23:36:27 +08:00
functional Make Neutron gate great again 2019-09-06 07:44:29 +00:00
unit Merge "Add VLAN type conntrack direct flow" 2019-08-30 16:17:09 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py fix indentation of WarningsFixture use 2019-07-25 07:50:11 -06:00
post_mortem_debug.py
tools.py consume WarningsFixture from neutron-lib 2019-07-09 08:32:33 -06:00