← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1122720] Re: nova-api accumulates coverage data and other nova services does not

 

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

** Changed in: nova
    Milestone: None => grizzly-rc1

-- 
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/1122720

Title:
  nova-api accumulates coverage data and other nova services does not

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When measuring coverage repeatedly, nova-api and other nova services represent a different approach to coverage data.
  On the one hand nova-api accumulates each data, but other services reset data each time. 

  For example:
   $ nova coverage-start
   $ nova coverage-report result01
   $ nova coverage-start
   $ nova boot --image da16693a-1048-417a-8e88-976d817b4403 --flavor 1 --poll server01
   $ nova coverage-report result02
   $ nova coverage-start
   $ nova coverage-report result03

  The coverage data of nova-api, nova-compute and nova-scheduler are:

   [nova-api] 
             Name                                                                                   Stmts   Miss Branch BrPart  Cover   Missing
             ----------------------------------------------------------------------------------------------------------------------------------
    result01 TOTAL                                                                                  50695  50127  12403  12204     1%
    result02 TOTAL                                                                                  50695  48841  12403  11800     4%
    result03 TOTAL                                                                                  50695  48841  12403  11800     4%

   [nova-compute] 
              Name                                                                                   Stmts   Miss Branch BrPart  Cover   Missing
              ----------------------------------------------------------------------------------------------------------------------------------
    result01: TOTAL                                                                                  50695  50445  12403  12289     1%
    result02: TOTAL                                                                                  50695  48403  12403  11690     5%
    result03: TOTAL                                                                                  50695  50694  12403  12358     1%

   [nova-scheduler] 
              Name                                                                                   Stmts   Miss Branch BrPart  Cover   Missing
              ----------------------------------------------------------------------------------------------------------------------------------
    result01: TOTAL                                                                                  50695  50548  12403  12317     1%
    result02: TOTAL                                                                                  50695  49807  12403  12105     2%
    result03: TOTAL                                                                                  50695  50694  12403  12358     1%

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