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.
NOTE: this patch was merged in master combined with another bug
resolution [2] due to the existing problems in the CI. The other part
was already backported in [3].
Reviewed: https:/ /review. opendev. org/702603 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b9f4ce07d6d 2b0e2ef4c7899a8 14862a13e07f45
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit b9f4ce07d6d2b0e 2ef4c7899a81486 2a13e07f45
Author: Slawek Kaplonski <email address hidden>
Date: Wed Sep 4 21:50:01 2019 +0200
[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.
NOTE: this patch was merged in master combined with another bug
resolution [2] due to the existing problems in the CI. The other part
was already backported in [3].
[1] https:/ /review. opendev. org/#/c/ 641907/ /review. opendev. org/#/c/ 680001/ /review. opendev. org/#/c/ 680803/
[2] https:/
[3] https:/
Change-Id: I7a3f20a795c89a b1ab037d046a110 1cd5c0287d6 5a49af2c14cebbe b312615c1d)
Closes-Bug: #1842659
(cherry picked from commit bacc7abf83f1882