← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1432958] Re: unit test neutron.tests.unit.test_dhcp_scheduler.TestNetworksFailover fails

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1432958

Title:
  unit test neutron.tests.unit.test_dhcp_scheduler.TestNetworksFailover
  fails

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Unit tests failing non deterministically:

  neutron.tests.unit.test_dhcp_scheduler.TestNetworksFailover.test_reschedule_network_from_down_agent_StringException: Empty attachments:
    pythonlogging:'neutron.api.extensions'
    stderr
    stdout

  pythonlogging:'': {{{
  2015-03-17 04:56:58,726  WARNING [neutron.db.agentschedulers_db] Removing network foo_network_id from agent 699132a9-7e81-4dee-b1c3-d1056d7e1598 because the agent did not report to the server in the last 150 seconds.
  2015-03-17 04:56:58,801     INFO [neutron.db.agentschedulers_db] Scheduling unhosted network foo_network_id
  2015-03-17 04:56:58,825    ERROR [neutron.plugins.ml2.managers] Network foo_network_id has no segments
  2015-03-17 04:56:58,896  WARNING [neutron.scheduler.dhcp_agent_scheduler] No more DHCP agents
  }}}

  Traceback (most recent call last):
    File "neutron/tests/unit/test_dhcp_scheduler.py", line 216, in test_reschedule_network_from_down_agent
      notify=False)
    File "/home/jenkins/workspace/gate-neutron-python27/.tox/py27/local/lib/python2.7/site-packages/mock.py", line 831, in assert_called_with
      raise AssertionError('Expected call: %s\nNot called' % (expected,))
  AssertionError: Expected call: remove_network_from_dhcp_agent(<ANY>, '699132a9-7e81-4dee-b1c3-d1056d7e1598', 'foo_network_id', notify=False)
  Not called

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1432958/+subscriptions


References