← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1612222] [NEW] quota unit test failure

 

Public bug reported:

spotted failure in a unit test unrelated to the patch. appears to be a
result of leaked resources between the tests.

===
FAIL: neutron.tests.unit.quota.test_resource_registry.TestAuxiliary
Functions.test_set_resources_dirty
tags: worker-0
-------------------------------------------------------------------
---
Empty attachments:
  pythonlogging:''
  stderr
  stdout

Traceback (most recent call last):
  File "neutron/tests/unit/quota/test_resource_registry.py", line 9
0, in setUp
    self.registry.unregister_resources()
  File "neutron/quota/resource_registry.py", line 239, in unregiste
r_resources
    res.unregister_events()
AttributeError: 'CountableResource' object has no attribute 'unregi
ster_events'

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  quota unit test failure

Status in neutron:
  In Progress

Bug description:
  spotted failure in a unit test unrelated to the patch. appears to be a
  result of leaked resources between the tests.

  ===
  FAIL: neutron.tests.unit.quota.test_resource_registry.TestAuxiliary
  Functions.test_set_resources_dirty
  tags: worker-0
  -------------------------------------------------------------------
  ---
  Empty attachments:
    pythonlogging:''
    stderr
    stdout

  Traceback (most recent call last):
    File "neutron/tests/unit/quota/test_resource_registry.py", line 9
  0, in setUp
      self.registry.unregister_resources()
    File "neutron/quota/resource_registry.py", line 239, in unregiste
  r_resources
      res.unregister_events()
  AttributeError: 'CountableResource' object has no attribute 'unregi
  ster_events'

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


Follow ups