Public bug reported:
When I tested UT in my local environment, following error occurred.
However, now all UT has passed on gerrit using master branch of neutron.
It maybe referring neutron version is a little old. Therefore, let's
skip until new version of neutron has been released.
[Error]
2019-02-20 03:12:11
neutron_fwaas.tests.unit.services.logapi.agents.l3.test_fwg_log.FWaaSL3LoggingExtensionInitializeTestCase.test_initialize_subscribed_to_rpc
2019-02-20 03:12:11
-------------------------------------------------------------------------------------------------------------------------------------------
2019-02-20 03:12:11
2019-02-20 03:12:11 Captured traceback:
2019-02-20 03:12:11 ~~~~~~~~~~~~~~~~~~~
2019-02-20 03:12:11 b'Traceback (most recent call last):'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/.tox/py35/lib/python3.5/site-packages/neutron/tests/base.py",
line 150, in func'
2019-02-20 03:12:11 b' return f(self, *args, **kwargs)'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/.tox/py35/lib/python3.5/site-packages/mock/mock.py",
line 1305, in patched'
2019-02-20 03:12:11 b' return func(*args, **keywargs)'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/neutron_fwaas/tests/unit/services/logapi/agents/l3/test_fwg_log.py",
line 41, in test_initialize_subscribed_to_rpc'
2019-02-20 03:12:11 b' self.connection, lib_const.L3_AGENT_MODE)'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/neutron_fwaas/services/logapi/agents/l3/fwg_log.py",
line 35, in initialize'
2019-02-20 03:12:11 b' self._register_rpc_consumers()'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/.tox/py35/lib/python3.5/site-packages/neutron/services/logapi/agent/l3/base.py",
line 50, in _register_rpc_consumers'
2019-02-20 03:12:11 b' self._connection = n_rpc.Connection()'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/.tox/py35/lib/python3.5/site-packages/neutron_lib/rpc.py",
line 343, in __init__'
2019-02-20 03:12:11 b' super(Connection, self).__init__()'
2019-02-20 03:12:11 b'TypeError: super() argument 1 must be type, not
MagicMock'
2019-02-20 03:12:11 b''
** Affects: neutron
Importance: Undecided
Status: New
** Tags: fwaas
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1816944
Title:
fwaas - Failure UT on local environment due to neutron version
Status in neutron:
New
Bug description:
When I tested UT in my local environment, following error occurred.
However, now all UT has passed on gerrit using master branch of
neutron. It maybe referring neutron version is a little old.
Therefore, let's skip until new version of neutron has been released.
[Error]
2019-02-20 03:12:11
neutron_fwaas.tests.unit.services.logapi.agents.l3.test_fwg_log.FWaaSL3LoggingExtensionInitializeTestCase.test_initialize_subscribed_to_rpc
2019-02-20 03:12:11
-------------------------------------------------------------------------------------------------------------------------------------------
2019-02-20 03:12:11
2019-02-20 03:12:11 Captured traceback:
2019-02-20 03:12:11 ~~~~~~~~~~~~~~~~~~~
2019-02-20 03:12:11 b'Traceback (most recent call last):'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/.tox/py35/lib/python3.5/site-packages/neutron/tests/base.py",
line 150, in func'
2019-02-20 03:12:11 b' return f(self, *args, **kwargs)'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/.tox/py35/lib/python3.5/site-packages/mock/mock.py",
line 1305, in patched'
2019-02-20 03:12:11 b' return func(*args, **keywargs)'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/neutron_fwaas/tests/unit/services/logapi/agents/l3/test_fwg_log.py",
line 41, in test_initialize_subscribed_to_rpc'
2019-02-20 03:12:11 b' self.connection, lib_const.L3_AGENT_MODE)'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/neutron_fwaas/services/logapi/agents/l3/fwg_log.py",
line 35, in initialize'
2019-02-20 03:12:11 b' self._register_rpc_consumers()'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/.tox/py35/lib/python3.5/site-packages/neutron/services/logapi/agent/l3/base.py",
line 50, in _register_rpc_consumers'
2019-02-20 03:12:11 b' self._connection = n_rpc.Connection()'
2019-02-20 03:12:11 b' File
"/tmp/workspace/neutron-fwaas/.tox/py35/lib/python3.5/site-packages/neutron_lib/rpc.py",
line 343, in __init__'
2019-02-20 03:12:11 b' super(Connection, self).__init__()'
2019-02-20 03:12:11 b'TypeError: super() argument 1 must be type, not
MagicMock'
2019-02-20 03:12:11 b''
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1816944/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp