yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #79867
[Bug 1842659] Re: Funtional tests of start and restart services failing 100% times
Reviewed: https://review.opendev.org/680001
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=bacc7abf83f18825a49af2c14cebbeb312615c1d
Submitter: Zuul
Branch: master
commit bacc7abf83f18825a49af2c14cebbeb312615c1d
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date: Wed Sep 4 21:50:01 2019 +0200
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@xxxxxxxxxx>
Change-Id: I7a3f20a795c89ab1ab037d046a1101cd5c0287d6
Closes-Bug: #1842659
Closes-Bug: #1842482
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1842659
Title:
Funtional tests of start and restart services failing 100% times
Status in neutron:
Fix Released
Bug description:
Tests like:
neutron.tests.functional.test_server.TestPluginWorker.test_start
neutron.tests.functional.test_server.TestRPCServer.test_restart_rpc_on_sighup_multiple_workers
neutron.tests.functional.test_server.TestWsgiServer.test_restart_wsgi_on_sighup_multiple_workers
are now failing 100% of times since today.
Example of failures:
https://storage.gra1.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/logs_17/679917/1/check
/neutron-functional-python27/caf3c2b/testr_results.html.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1842659/+subscriptions
References