yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #88106
[Bug 1958513] [NEW] [test]The unit test file ovn_l3.test_plugin cannot be run alone
Public bug reported:
python3 -m testtools.run neutron.tests.unit.services.ovn_l3.test_plugin.TestOVNL3RouterPlugin.test_schedule_unhosted_gateways
/usr/lib64/python3.6/runpy.py:125: RuntimeWarning: 'testtools.run' found in sys.modules after import of package 'testtools', but prior to execution of 'testtools.run'; this may result in unpredictable behaviour
warn(RuntimeWarning(msg))
Tests running...
======================================================================
ERROR: neutron.tests.unit.services.ovn_l3.test_plugin.TestOVNL3RouterPlugin.test_schedule_unhosted_gateways
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/neutron/neutron/tests/unit/services/ovn_l3/test_plugin.py", line 61, in setUp
cfg.CONF.set_override('max_header_size', 38, group='ml2_type_geneve')
File "/usr/local/lib/python3.6/site-packages/oslo_config/cfg.py", line 2077, in __inner
result = f(self, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/oslo_config/cfg.py", line 2460, in set_override
opt_info = self._get_opt_info(name, group)
File "/usr/local/lib/python3.6/site-packages/oslo_config/cfg.py", line 2869, in _get_opt_info
group = self._get_group(group)
File "/usr/local/lib/python3.6/site-packages/oslo_config/cfg.py", line 2838, in _get_group
raise NoSuchGroupError(group_name)
oslo_config.cfg.NoSuchGroupError: no such group [ml2_type_geneve]
Ran 1 test in 0.074s
FAILED (failures=1)
Should add from neutron.plugins.ml2.drivers import type_geneve
** Affects: neutron
Importance: Undecided
Status: In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1958513
Title:
[test]The unit test file ovn_l3.test_plugin cannot be run alone
Status in neutron:
In Progress
Bug description:
python3 -m testtools.run neutron.tests.unit.services.ovn_l3.test_plugin.TestOVNL3RouterPlugin.test_schedule_unhosted_gateways
/usr/lib64/python3.6/runpy.py:125: RuntimeWarning: 'testtools.run' found in sys.modules after import of package 'testtools', but prior to execution of 'testtools.run'; this may result in unpredictable behaviour
warn(RuntimeWarning(msg))
Tests running...
======================================================================
ERROR: neutron.tests.unit.services.ovn_l3.test_plugin.TestOVNL3RouterPlugin.test_schedule_unhosted_gateways
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/neutron/neutron/tests/unit/services/ovn_l3/test_plugin.py", line 61, in setUp
cfg.CONF.set_override('max_header_size', 38, group='ml2_type_geneve')
File "/usr/local/lib/python3.6/site-packages/oslo_config/cfg.py", line 2077, in __inner
result = f(self, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/oslo_config/cfg.py", line 2460, in set_override
opt_info = self._get_opt_info(name, group)
File "/usr/local/lib/python3.6/site-packages/oslo_config/cfg.py", line 2869, in _get_opt_info
group = self._get_group(group)
File "/usr/local/lib/python3.6/site-packages/oslo_config/cfg.py", line 2838, in _get_group
raise NoSuchGroupError(group_name)
oslo_config.cfg.NoSuchGroupError: no such group [ml2_type_geneve]
Ran 1 test in 0.074s
FAILED (failures=1)
Should add from neutron.plugins.ml2.drivers import type_geneve
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1958513/+subscriptions