yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09672
[Bug 1279742] [NEW] Tests from TestL3GwModeMixin failing when running alone
Public bug reported:
TestL3GwModeMixin unit tests class from tests/unit/test_extension_ext_gw_mode.py module
fails when running alone.
No plugin_core is defined for its tests.
When running with other tests, somehow it succeeds. It may be because of
other test/s bug where core_plugin setup is not cleaned properly.
This bug was found within a commit of https://review.openstack.org/#/c/63510 patch
New tests of this patch flood up this issue:
FAIL: neutron.tests.unit.test_extension_ext_gw_mode.TestL3GwModeMixin.test_update_router_gw_with_gw_info_none
tags: worker-1
----------------------------------------------------------------------
Empty attachments:
pythonlogging:''
stderr
stdout
Traceback (most recent call last):
File "neutron/tests/unit/test_extension_ext_gw_mode.py", line 227, in test_update_router_gw_with_gw_info_none
self._test_update_router_gw(None, True)
File "neutron/tests/unit/test_extension_ext_gw_mode.py", line 214, in _test_update_router_gw
self.context, self.router.id, gw_info)
File "neutron/db/l3_gwmode_db.py", line 62, in _update_router_gw_info
context, router_id, info, router=router)
File "neutron/db/l3_db.py", line 204, in _update_router_gw_info
l3_port_check=False)
TypeError: delete_port() got an unexpected keyword argument 'l3_port_check'
stub plugin for this test class should be the same stub plugin as other test classes in the module: tests/unit/test_l3_plugin.pyTestL3NatBasePlugin
which overrides the delete_port() function.
** Affects: neutron
Importance: Undecided
Assignee: Evgeny Fedoruk (evgenyf)
Status: New
** Tags: unittest
** Changed in: neutron
Assignee: (unassigned) => Evgeny Fedoruk (evgenyf)
** Tags added: unittest
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1279742
Title:
Tests from TestL3GwModeMixin failing when running alone
Status in OpenStack Neutron (virtual network service):
New
Bug description:
TestL3GwModeMixin unit tests class from tests/unit/test_extension_ext_gw_mode.py module
fails when running alone.
No plugin_core is defined for its tests.
When running with other tests, somehow it succeeds. It may be because
of other test/s bug where core_plugin setup is not cleaned properly.
This bug was found within a commit of https://review.openstack.org/#/c/63510 patch
New tests of this patch flood up this issue:
FAIL: neutron.tests.unit.test_extension_ext_gw_mode.TestL3GwModeMixin.test_update_router_gw_with_gw_info_none
tags: worker-1
----------------------------------------------------------------------
Empty attachments:
pythonlogging:''
stderr
stdout
Traceback (most recent call last):
File "neutron/tests/unit/test_extension_ext_gw_mode.py", line 227, in test_update_router_gw_with_gw_info_none
self._test_update_router_gw(None, True)
File "neutron/tests/unit/test_extension_ext_gw_mode.py", line 214, in _test_update_router_gw
self.context, self.router.id, gw_info)
File "neutron/db/l3_gwmode_db.py", line 62, in _update_router_gw_info
context, router_id, info, router=router)
File "neutron/db/l3_db.py", line 204, in _update_router_gw_info
l3_port_check=False)
TypeError: delete_port() got an unexpected keyword argument 'l3_port_check'
stub plugin for this test class should be the same stub plugin as other test classes in the module: tests/unit/test_l3_plugin.pyTestL3NatBasePlugin
which overrides the delete_port() function.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1279742/+subscriptions
Follow ups
References