← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1246447] Re: setUp fails occasionally in KcMasterSqlTestCase

 

[Expired for Keystone because there has been no activity for 60 days.]

** Changed in: keystone
       Status: Incomplete => Expired

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

Title:
  setUp fails occasionally in KcMasterSqlTestCase

Status in OpenStack Identity (Keystone):
  Expired

Bug description:
  Occasionally there is an issue where setUp() fails within
  KcMasterSqlTestCase which causes all subsequent tests to fail due to
  tearDown() not being called.

  The fix for this is 2 fold.  First requires identification of why the
  test fails infrequently to setUp, and secondarily move to addCleanup
  mechanisms within tests to isolate the failures.  Currently if setUp
  fails, tearDown is never called, this means tests that rely on a
  "clean slate" will always fail.

  Example failure log (py26 test run):
  http://logs.openstack.org/78/50078/5/gate/gate-keystone-
  python26/eb07d73/console.html

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