L3 agent scheduling UTs fail with the Cisco L3 router plugin

Bug #1518745 reported by Bob Melander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-cisco
Fix Committed
Critical
Bob Melander

Bug Description

2015-11-20 22:21:42.542 |
2015-11-20 22:21:42.542 | ==============================
2015-11-20 22:21:42.542 | Failed 6 tests - output below:
2015-11-20 22:21:42.542 | ==============================
2015-11-20 22:21:42.542 |
2015-11-20 22:21:42.542 | networking_cisco.tests.unit.cisco.l3.test_l3_routertype_aware_schedulers.L3RoutertypeAwareChanceL3AgentSchedulerTestCase.test_add_distributed_router_to_l3_agent
2015-11-20 22:21:42.542 | ----------------------------------------------------------------------------------------------------------------------------------------------------------------
2015-11-20 22:21:42.542 |
2015-11-20 22:21:42.542 | Captured traceback:
2015-11-20 22:21:42.542 | ~~~~~~~~~~~~~~~~~~~
2015-11-20 22:21:42.542 | Traceback (most recent call last):
2015-11-20 22:21:42.543 | File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/neutron/tests/unit/scheduler/test_l3_agent_scheduler.py", line 453, in test_add_distributed_router_to_l3_agent
2015-11-20 22:21:42.543 | external_gw=external_gw_info)
2015-11-20 22:21:42.543 | File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/neutron/tests/unit/scheduler/test_l3_agent_scheduler.py", line 360, in _test_add_router_to_l3_agent
2015-11-20 22:21:42.543 | router['router']['id'])
2015-11-20 22:21:42.543 | File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/neutron/db/l3_agentschedulers_db.py", line 252, in add_router_to_l3_agent
2015-11-20 22:21:42.543 | context, [router_id], agent.host)
2015-11-20 22:21:42.543 | File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/neutron/api/rpc/agentnotifiers/l3_rpc_agent_api.py", line 184, in router_added_to_agent
2015-11-20 22:21:42.543 | use_call=True, payload=router_ids)
2015-11-20 22:21:42.543 | File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/neutron/api/rpc/agentnotifiers/l3_rpc_agent_api.py", line 49, in _notification_host
2015-11-20 22:21:42.543 | rpc_method(context, method, **kwargs)
2015-11-20 22:21:42.543 | File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 158, in call
2015-11-20 22:21:42.544 | retry=self.retry)
2015-11-20 22:21:42.544 | File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send
2015-11-20 22:21:42.544 | timeout=timeout, retry=retry)
2015-11-20 22:21:42.544 | File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_fake.py", line 217, in send
2015-11-20 22:21:42.544 | return self._send(target, ctxt, message, wait_for_reply, timeout)
2015-11-20 22:21:42.544 | File "/home/jenkins/workspace/gate-networking-cisco-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_fake.py", line 209, in _send
2015-11-20 22:21:42.544 | 'No reply on topic %s' % target.topic)
2015-11-20 22:21:42.544 | oslo_messaging.exceptions.MessagingTimeout: No reply on topic l3_agent
2015-11-20 22:21:42.544 |
2015-11-20 22:21:42.544 |
2015-11-20 22:21:42.544 | Captured pythonlogging:
2015-11-20 22:21:42.545 | ~~~~~~~~~~~~~~~~~~~~~~~
2015-11-20 22:21:42.545 | 2015-11-20 22:19:11,281 INFO [neutron.manager] Loading core plugin: networking_cisco.tests.unit.cisco.device_manager.device_manager_test_support.TestCorePlugin
2015-11-20 22:21:42.545 | 2015-11-20 22:19:11,282 INFO [neutron.manager] Service DEVICE_MANAGER is supported by the core plugin
2015-11-20 22:21:42.545 | 2015-11-20 22:19:11,282 INFO [neutron.manager] Loading Plugin: networking_cisco.tests.unit.cisco.l3.test_l3_routertype_aware_schedulers.TestSchedulingCapableL3RouterServicePlugin
2015-11-20 22:21:

Changed in networking-cisco:
assignee: nobody → Bob Melander (bob-melander)
Changed in networking-cisco:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-cisco (master)

Reviewed: https://review.openstack.org/248489
Committed: https://git.openstack.org/cgit/openstack/networking-cisco/commit/?id=8d5ab9f88043bc5a967d33e3e8984bfbccfa1f30
Submitter: Jenkins
Branch: master

commit 8d5ab9f88043bc5a967d33e3e8984bfbccfa1f30
Author: Bob Melander <email address hidden>
Date: Sun Nov 22 20:09:11 2015 +0100

    Fix failing L3 agent scheduling unit tests

    The Cisco L3 router service plugin supports
    L3 agent scheduling. For that reason we reuse
    most of Neutron's L3 agent scheduling UTs.

    Due to some change in Neutron a few of those
    UTs started failing with the Cisco L3 router
    service plugin. This patch fixes those issues.

    Closes bug: 1518745

    Change-Id: Id587dfb1a126bf5f2bc8b46d5f435e179e03831b

Changed in networking-cisco:
status: In Progress → Fix Committed
Sam Betts (sambetts)
Changed in networking-cisco:
importance: Undecided → Critical
milestone: none → 2.0.0
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.