fwaas - Failure UT on local environment due to neutron version

Bug #1816944 reported by Yushiro FURUKAWA
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Low
Yushiro FURUKAWA

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''

Tags: fwaas
Changed in neutron:
assignee: nobody → Yushiro FURUKAWA (y-furukawa-2)
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-fwaas (master)

Fix proposed to branch: master
Review: https://review.openstack.org/638382

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-fwaas (master)

Change abandoned by Yushiro FURUKAWA (<email address hidden>) on branch: master
Review: https://review.openstack.org/638382
Reason: It worked without this patch!! Sorry!!

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Bug closed due to lack of activity, please feel free to reopen if needed.

Changed in neutron:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.