nova-api coverage data contains other services' data after a combined report
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Mitsuhiko Yamazaki |
Bug Description
When creating a combined coverage report, nova services' coverage data are combined into nova-api's.
So if combining a coverage report once, the next nova-api coverage report doesn't indicate that of just nova-api.
Example:
[not combine data]
$ nova coverage-start
$ nova boot --image cirros-
$ nova coverage-report report
$ nova coverage-start
$ nova coverage-report report01
coverage data of report01.api is:
Name Stmts Miss Branch BrPart Cover Missing
-----
nova/
nova/
nova/
[combine data]
$ nova coverage-start --combine
$ nova boot --image cirros-
$ nova coverage-report report
$ nova coverage-start
$ nova coverage-report report02
coverage data of report02.api is:
Name Stmts Miss Branch BrPart Cover Missing
-----
nova/
nova/
nova/
Report01.api indicates the data of just nova-api but report02.api doesn't.
Appendix:
To measure nova services' coverage data, add "backdoor_port=0" in nova.conf.
Changed in nova: | |
assignee: | nobody → Mitsuhiko Yamazaki (ymzk37) |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/24028
Review: https:/