← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1276885] [NEW] fail_gracefully can exit test suite

 

Public bug reported:

If an exception happens in the startup phase of keystone (not handling a
request) it falls through to the handler @fail_gracefully which is
designed to print a big warning message and exit the application.

This makes sense for running keystone but in the case of tests what it
means is that the exit() call shuts down the subunit thread running the
tests and leads to difficult to diagnose failures being reported - or
missed.

In the case of testing @fail_gracefully should fail very ungracefully.

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  fail_gracefully can exit test suite

Status in OpenStack Identity (Keystone):
  New

Bug description:
  If an exception happens in the startup phase of keystone (not handling
  a request) it falls through to the handler @fail_gracefully which is
  designed to print a big warning message and exit the application.

  This makes sense for running keystone but in the case of tests what it
  means is that the exit() call shuts down the subunit thread running
  the tests and leads to difficult to diagnose failures being reported -
  or missed.

  In the case of testing @fail_gracefully should fail very ungracefully.

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


Follow ups

References