neutron/neutron/tests/fullstack
Rodolfo Alonso Hernandez 56f2bf37d1 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
(cherry picked from commit bc99e56515)
2020-11-10 07:57:19 +00:00
..
cmd Import "oslo_config.cfg" before "eventlet" 2020-11-10 07:57:19 +00:00
resources Increase TestDhcpAgentHA.agent_down_time to 30 seconds 2019-09-06 11:02:22 +00:00
README Moved fullstack test doc content to TESTING.rst 2015-12-03 17:02:54 -05:00
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Check the namespace is ready in test_mtu_update tests 2019-09-16 09:30:43 +00:00
test_connectivity.py Disable IPv6 forwarding by default on HA routers 2018-05-31 20:19:21 +00:00
test_dhcp_agent.py Increase waiting time for network rescheduling 2020-04-07 20:19:15 +00:00
test_firewall.py fullstack: Migration from iptables_hybrid to openvswitch 2018-04-26 16:44:24 +00:00
test_l3_agent.py Check the namespace is ready in test_mtu_update tests 2019-09-16 09:30:43 +00:00
test_mtu.py Skip MTU check during deletion of Networks 2018-06-21 14:25:22 +00:00
test_port_shut_down.py [OVS] Shut down the port on changing the admin-state to false 2018-01-04 01:44:01 -05:00
test_ports_rebind.py Make port binding attempt after agent is revived 2018-10-23 12:23:40 +02:00
test_qos.py Clear residual qos rules after l2-agent restarts. 2019-01-22 12:59:24 +00:00
test_securitygroup.py [Fullstack] Mark securitygroups tests as unstable 2018-09-17 10:43:02 +00:00
test_trunk.py Fullstack: init trunk agent's driver only when necessary 2017-11-03 16:49:12 +00:00
utils.py fullstack: Remove ovsdb_interface config opt 2017-09-27 07:03:17 +00:00

README

Please see neutron/TESTING.rst.