Seeing the following failure intermittently in API test jobs:
http://paste.openstack.org/show/489400/
In the 2 failed jobs [1][2] I've analyzed, test_get_advertised_routes_floating_ips() runs before this failed test. test_get_advertised_routes_null_address_scope() assumes no floating IP associations and no address scopes so that it can assert that no routes are being announced by a bgp_speaker. My theory is that the floating IP created in test_get_advertised_routes_floating_ips() doesn't get cleaned up fast enough, and test_get_advertised_routes_null_address_scope() runs before the floating IP from the previous test has actually been cleaned up.
[1] http://logs.openstack.org/85/267985/9/check/gate-neutron-dsvm-api/b09db1c/console.html
[2] http://logs.openstack.org/76/282876/17/check/gate-neutron-dsvm-api/b49cae9/console.html
Related fix proposed to branch: master /review. openstack. org/288818
Review: https:/