The below unit tests fail:
test_router_add_interface_port
test_router_add_interface_dup_subnet2_returns_400
test_router_add_interface_ipv6_port_existing_network_returns_400
test_router_add_interface_multiple_ipv4_subnet_port_returns_400
test_router_add_interface_dup_subnet2_returns_400
test_router_add_interface_multiple_ipv4_subnet_port_returns_400
test_router_add_interface_port
test_router_add_interface_ipv6_port_existing_network_returns_400
test_router_add_interface_dup_subnet2_returns_400
test_router_add_interface_port
test_router_add_interface_ipv6_port_existing_network_returns_400
test_router_add_interface_multiple_ipv4_subnet_port_returns_400
test_router_add_interface_dup_subnet2_returns_400
test_router_add_interface_multiple_ipv4_subnet_port_returns_400
test_router_add_interface_ipv6_port_existing_network_returns_400
test_router_add_interface_port
Some details:
ft1.382: networking_cisco.tests.unit.cisco.l3.test_ha_l3_router_appliance_plugin.HAL3RouterApplianceNamespaceTestCase.test_router_add_interface_port_StringException: Empty attachments:
pythonlogging:'neutron.api.extensions'
stderr
stdout
pythonlogging:'': {{{
2015-12-04 20:35:53,154 INFO [neutron.manager] Loading core plugin: networking_cisco.tests.unit.cisco.device_manager.device_manager_test_support.TestCorePlugin
2015-12-04 20:35:53,155 INFO [neutron.manager] Service DEVICE_MANAGER is supported by the core plugin
2015-12-04 20:35:53,155 INFO [neutron.manager] Loading Plugin: networking_cisco.tests.unit.cisco.l3.test_ha_l3_router_appliance_plugin.TestApplianceHAL3RouterServicePlugin
2015-12-04 20:35:53,249 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:subnet
2015-12-04 20:35:53,249 WARNING [neutron.quota.resource_registry] subnet is already registered
2015-12-04 20:35:53,321 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:subnetpool
2015-12-04 20:35:53,321 WARNING [neutron.quota.resource_registry] subnetpool is already registered
2015-12-04 20:35:53,354 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:network
2015-12-04 20:35:53,354 WARNING [neutron.quota.resource_registry] network is already registered
2015-12-04 20:35:53,430 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:port
2015-12-04 20:35:53,430 WARNING [neutron.quota.resource_registry] port is already registered
2015-12-04 20:35:53,435 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:router
2015-12-04 20:35:53,435 WARNING [neutron.quota.resource_registry] router is already registered
2015-12-04 20:35:53,509 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:floatingip
2015-12-04 20:35:53,509 WARNING [neutron.quota.resource_registry] floatingip is already registered
}}}
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/neutron/tests/unit/extensions/test_l3.py", line 1179, in test_router_add_interface_port
orig_update_port = self.plugin.update_port
AttributeError: 'TestApplianceHAL3RouterServicePlugin' object has no attribute 'update_port'
ft1.404: networking_cisco.tests.unit.cisco.l3.test_ha_l3_router_appliance_plugin.HAL3RouterApplianceNamespaceTestCase.test_router_add_interface_dup_subnet2_returns_400_StringException: Empty attachments:
pythonlogging:'neutron.api.extensions'
stdout
pythonlogging:'': {{{
2015-12-04 20:36:01,724 INFO [neutron.manager] Loading core plugin: networking_cisco.tests.unit.cisco.device_manager.device_manager_test_support.TestCorePlugin
2015-12-04 20:36:01,725 INFO [neutron.manager] Service DEVICE_MANAGER is supported by the core plugin
2015-12-04 20:36:01,725 INFO [neutron.manager] Loading Plugin: networking_cisco.tests.unit.cisco.l3.test_ha_l3_router_appliance_plugin.TestApplianceHAL3RouterServicePlugin
2015-12-04 20:36:01,817 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:subnet
2015-12-04 20:36:01,817 WARNING [neutron.quota.resource_registry] subnet is already registered
2015-12-04 20:36:01,849 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:subnetpool
2015-12-04 20:36:01,849 WARNING [neutron.quota.resource_registry] subnetpool is already registered
2015-12-04 20:36:01,925 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:network
2015-12-04 20:36:01,925 WARNING [neutron.quota.resource_registry] network is already registered
2015-12-04 20:36:01,958 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:port
2015-12-04 20:36:01,958 WARNING [neutron.quota.resource_registry] port is already registered
2015-12-04 20:36:01,963 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:router
2015-12-04 20:36:01,963 WARNING [neutron.quota.resource_registry] router is already registered
2015-12-04 20:36:02,035 INFO [neutron.quota.resource_registry] Creating instance of CountableResource for resource:floatingip
2015-12-04 20:36:02,036 WARNING [neutron.quota.resource_registry] floatingip is already registered
2015-12-04 20:36:03,624 INFO [neutron.api.v2.resource] add_router_interface failed (client error): Bad router request: Router already has a port on subnet 3fef6df3-cefa-43fc-bc1c-e63e844a346c.
2015-12-04 20:36:04,742 INFO [neutron.api.v2.resource] remove_router_interface failed (client error): Router 4c42ea5b-551d-47a3-a7c3-4cfeb770af90 does not have an interface with id d0282271-32f1-4ea2-a96b-290f1a7bd2b5
}}}
stderr: {{{
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 457, in fire_timers
timer()
File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/hubs/timer.py", line 58, in __call__
cb(*args, **kw)
File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/eventlet/greenthread.py", line 214, in main
result = function(*args, **kwargs)
File "networking_cisco/plugins/ml2/drivers/cisco/n1kv/policy_profile_service.py", line 237, in _poll_policy_profiles
self._populate_policy_profiles()
File "networking_cisco/plugins/ml2/drivers/cisco/n1kv/policy_profile_service.py", line 243, in _populate_policy_profiles
for vsm_ip in hosts:
TypeError: 'NoneType' object is not iterable
}}}
Traceback (most recent call last):
File "networking_cisco/tests/unit/cisco/l3/test_l3_router_appliance_plugin.py", line 202, in tearDown
self._test_remove_routertypes()
File "networking_cisco/tests/unit/cisco/l3/test_db_routertype.py", line 209, in _test_remove_routertypes
p['id'])
File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/neutron/tests/unit/extensions/test_l3.py", line 397, in _router_interface_action
self.assertEqual(res.status_int, expected_code, msg)
File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
self.assertThat(observed, matcher, message)
File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 404 != 200
Fix proposed to branch: master /review. openstack. org/253957
Review: https:/