← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1299135] [NEW] nova unit test fail as exceptions.ExternalIpAddressExhaustedClient not found

 

Public bug reported:

unit test fail likely a regression caused by
https://github.com/openstack/nova/commit/cd1423cef7621e0b557cbe0260f661d08811236b.

I'm unsure why it's not caught in the gate.

Apparently exceptions.ExternalIpAddressExhaustedClient is not defined.
Refer to attached log for more details.

traceback-1: {{{
Traceback (most recent call last):
  File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/mox.py", line 286, in VerifyAll
    mock_obj._Verify()
  File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/mox.py", line 506, in _Verify
    raise ExpectedMethodCallsError(self._expected_calls_queue)
ExpectedMethodCallsError: Verify: Expected methods never called:
  0.  <MultipleTimesGroup "default">
}}}

traceback-2: {{{
Traceback (most recent call last):
  File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/fixtures/fixture.py", line 112, in cleanUp
    return self._cleanups(raise_errors=raise_first)
  File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/fixtures/callmany.py", line 88, in __call__
    reraise(error[0], error[1], error[2])
  File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/fixtures/callmany.py", line 82, in __call__
    cleanup(*args, **kwargs)
  File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/mox.py", line 286, in VerifyAll
    mock_obj._Verify()
  File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/mox.py", line 506, in _Verify
    raise ExpectedMethodCallsError(self._expected_calls_queue)
ExpectedMethodCallsError: Verify: Expected methods never called:
  0.  <MultipleTimesGroup "default">
}}}

Traceback (most recent call last):
  File "nova/tests/network/test_neutronv2.py", line 1639, in test_allocate_floating_ip_exhausted_fail
    AndRaise(exceptions.ExternalIpAddressExhaustedClient)
AttributeError: 'module' object has no attribute 'ExternalIpAddressExhaustedClient'

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "neutron-del.sql"
   https://bugs.launchpad.net/bugs/1299135/+attachment/4049130/+files/neutron-del.sql

** Attachment removed: "neutron-del.sql"
   https://bugs.launchpad.net/nova/+bug/1299135/+attachment/4049130/+files/neutron-del.sql

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1299135

Title:
  nova unit test fail as exceptions.ExternalIpAddressExhaustedClient not
  found

Status in OpenStack Compute (Nova):
  New

Bug description:
  unit test fail likely a regression caused by
  https://github.com/openstack/nova/commit/cd1423cef7621e0b557cbe0260f661d08811236b.

  I'm unsure why it's not caught in the gate.

  Apparently exceptions.ExternalIpAddressExhaustedClient is not defined.
  Refer to attached log for more details.

  traceback-1: {{{
  Traceback (most recent call last):
    File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/mox.py", line 286, in VerifyAll
      mock_obj._Verify()
    File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/mox.py", line 506, in _Verify
      raise ExpectedMethodCallsError(self._expected_calls_queue)
  ExpectedMethodCallsError: Verify: Expected methods never called:
    0.  <MultipleTimesGroup "default">
  }}}

  traceback-2: {{{
  Traceback (most recent call last):
    File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/fixtures/fixture.py", line 112, in cleanUp
      return self._cleanups(raise_errors=raise_first)
    File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/fixtures/callmany.py", line 88, in __call__
      reraise(error[0], error[1], error[2])
    File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/fixtures/callmany.py", line 82, in __call__
      cleanup(*args, **kwargs)
    File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/mox.py", line 286, in VerifyAll
      mock_obj._Verify()
    File "/home/jenkins/workspace/csi-nova-upstream/.tox/py26/lib/python2.6/site-packages/mox.py", line 506, in _Verify
      raise ExpectedMethodCallsError(self._expected_calls_queue)
  ExpectedMethodCallsError: Verify: Expected methods never called:
    0.  <MultipleTimesGroup "default">
  }}}

  Traceback (most recent call last):
    File "nova/tests/network/test_neutronv2.py", line 1639, in test_allocate_floating_ip_exhausted_fail
      AndRaise(exceptions.ExternalIpAddressExhaustedClient)
  AttributeError: 'module' object has no attribute 'ExternalIpAddressExhaustedClient'

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


Follow ups

References