Sometimes full run of Unit Tests ends with the following output:
ERROR:neutron.agent.l3_agent:Failed synchronizing routers
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-neutron-python27/neutron/agent/l3_agent.py", line 685, in _rpc_loop
self._process_router_delete()
File "/home/jenkins/workspace/gate-neutron-python27/neutron/agent/l3_agent.py", line 693, in _process_router_delete
self._router_removed(router_id)
File "/home/jenkins/workspace/gate-neutron-python27/neutron/agent/l3_agent.py", line 289, in _router_removed
ri = self.router_info[router_id]
KeyError: '0393021f-e20b-4c93-8bf6-e4c5ecd9b06e'
Tests pass at the same time, so Jenkins is not catching issues.
First noticed afterfix for gate issue with floating ips was merged: https://review.openstack.org/#/c/36890/
I believe this bug is a result of still existing race condition in l3_agent