Comment 10 for bug 1842659

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/stein)

Reviewed: https://review.opendev.org/702603
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=b9f4ce07d6d2b0e2ef4c7899a814862a13e07f45
Submitter: Zuul
Branch: stable/stein

commit b9f4ce07d6d2b0e2ef4c7899a814862a13e07f45
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/
    [2] https://review.opendev.org/#/c/680001/
    [3] https://review.opendev.org/#/c/680803/

    Change-Id: I7a3f20a795c89ab1ab037d046a1101cd5c0287d6
    Closes-Bug: #1842659
    (cherry picked from commit bacc7abf83f18825a49af2c14cebbeb312615c1d)