[openstack-dev] [Neutron] Troubleshooting OVS RPC API unit test error
Collins, Sean (Contractor)
Sean_Collins2 at cable.comcast.com
Mon Nov 11 14:23:34 UTC 2013
Hi,
I'm experiencing an issue where I run the unit tests on my local
machine and the unit tests pass, while on the Jenkins system they
fail with a very strange error.
2013-11-11 13:16:04.132 |
2013-11-11 13:16:04.132 | Traceback (most recent call last):
2013-11-11 13:16:04.132 | File "/home/jenkins/workspace/gate-neutron-python26/neutron/tests/unit/openvswitch/test_ovs_rpcapi.py", line 91, in test_tunnel_update
2013-11-11 13:16:04.133 | tunnel_type=None)
2013-11-11 13:16:04.133 | File "/home/jenkins/workspace/gate-neutron-python26/neutron/tests/unit/openvswitch/test_ovs_rpcapi.py", line 38, in _test_ovs_api
2013-11-11 13:16:04.133 | expected_msg['version'] = rpcapi.BASE_RPC_API_VERSION
2013-11-11 13:16:04.134 | TypeError: 'Mock' object does not support item assignment
The review can be found here.
https://review.openstack.org/#/c/45232/
The rpcapi object is an instance of the AgentNotifierApi class in the OVS Neutron Plugin module, which now has an additional mixin
(qos_rpc.QoSAgentRpcApiMixin) - perhaps I'm missing some "magic"
somewhere?
Any help would be greatly appreciated.
--
Sean M. Collins
More information about the OpenStack-dev
mailing list