yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83344
[Bug 1888213] Re: [FT] neutron.tests.functional.agent.linux.test_iptables.IptablesManagerNonRootTestCase test cases always failing
Reviewed: https://review.opendev.org/741957
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=bc99e56515537210a35988d3fbdec0669469d0b3
Submitter: Zuul
Branch: master
commit bc99e56515537210a35988d3fbdec0669469d0b3
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Mon Jul 20 14:12:06 2020 +0000
Import "oslo_config.cfg" before "eventlet"
Eventlet will patch the "os" library and how it works.
If "oslo_config.cfg" is called after "eventlet":
- "oslo_config.cfg" imports "stevedore"
- "stevedore" imports "importlib_metadata"
- this library will try to use "os.open" library, but patched
- "eventlet" imports "oslo_service"
- "oslo_service" imports "oslo_logging"
- "oslo_logging" imports "oslo_config.cfg", but at this point,
the instance cfg.CONF does not exist yet
If "oslo_config.cfg" is imported before calling eventlet,
"oslo_logging" is not called and there is no circular import.
Closes-Bug: #1888213
[1]I8b08f289d446f4775eac1e1a91997fa96f25f641
Change-Id: Idcc04f46b2a01e24dfd56cef8121694439e0339e
** 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/1888213
Title:
[FT]
neutron.tests.functional.agent.linux.test_iptables.IptablesManagerNonRootTestCase
test cases always failing
Status in neutron:
Fix Released
Bug description:
Test cases failing:
- test_binary_name
- test_binary_name_eventlet_spawn
Those tests are blocking the CI.
Logs:
https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_9c1/735802/3/check
/neutron-functional/9c1f55b/testr_results.html
Snippet: http://paste.openstack.org/show/796114/
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1888213/+subscriptions
References