← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1464410] Re: Neutron fixtures are not clean up if their setUp fails

 

Fix merged via https://review.openstack.org/#/c/196879/.

** Changed in: neutron
       Status: In Progress => Fix Released

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

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

Title:
  Neutron fixtures are not clean up if their setUp fails

Status in neutron:
  Fix Committed

Bug description:
  The previous bug[1]  highlighted that useFixture in testtools and
  fixtures ensure fixture cleanup ONLY  if their setUp succeed[2].
  Typically in bug[1], the cleanup of ProcessFixture resources are not
  done if self.start() in setUp[2].

  We can solve the bug[1] locally but we need a way to ensure for every
  neutron fixture that their cleanup is done even if their setUp fails.

  A parallel work is done in testtools/fixtures in order to address such
  limitation of useFixture

  
  [1] https://bugs.launchpad.net/neutron/+bug/1453888
  [2] fixtures bug: https://bugs.launchpad.net/python-fixtures/+bug/1456353
        testtools bug: https://bugs.launchpad.net/testtools/+bug/1456370
  [3] https://github.com/openstack/neutron/blob/e2cfd87ab4abab95d713fa39a576ca7e41bce5c2/neutron/tests/fullstack/fullstack_fixtures.py#L46-L48

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


References