neutron/neutron/tests/functional
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
..
agent Delay HA router transition from "backup" to "master" 2019-08-27 16:47:00 +00:00
api Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
cmd Fix neutron-status upgrade check CLI tool 2019-03-21 15:01:50 +00:00
common All functional tests logs results now 2018-11-21 19:58:18 +00:00
db Force "network_id" in "subnet" DB registers 2019-08-19 16:32:42 +00:00
pecan_wsgi Add logging for functional tests 2018-12-17 12:47:48 +01:00
plugins use neutron_lib's portbindings api-def 2017-03-31 09:16:22 -06:00
privileged Make Neutron gate great again 2019-09-06 07:44:29 +00:00
sanity All functional tests logs results now 2018-11-21 19:58:18 +00:00
scheduler Merge "Remove 'gateway_external_network_id' config option" 2019-08-05 12:40:08 +00:00
services Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
tests make net_helpers functions work on OpenSUSE 2017-09-20 09:59:44 -07:00
__init__.py tests: removed 'retargetable' framework 2017-05-02 16:45:49 +00:00
base.py Do not use privsep context when listing the namespaces in functional 2019-07-04 15:12:04 +00:00
constants.py TrunkManager for the OVS agent 2016-08-24 02:52:17 -04:00
requirements.txt Don't return null-byte separated string from ExternalProcess.cmdline() 2017-03-08 07:50:51 +00:00
test_server.py Make Neutron gate great again 2019-09-06 07:44:29 +00:00
test_service.py Modify api and rpc default number of workers 2019-02-19 13:24:01 -07:00