← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1805858] [NEW] placement/objects/resource_provider.py missing test coverage for several methods

 

Public bug reported:

In the extracted placement, the coverage tests run both unit and
functional tests. This is because so much of the functionality is tested
by gabbi. In those runs we can see that a few methods in
placement/objects/resource_provider.py are not reached. They are:


def _provider_aggregates
  http://logs.openstack.org/12/620412/3/check/openstack-tox-cover/b97d53f/cover/placement_objects_resource_provider_py.html#n3009

def _aggregates_associated_with_providers
  http://logs.openstack.org/12/620412/3/check/openstack-tox-cover/b97d53f/cover/placement_objects_resource_provider_py.html#n3385

def _shared_allocation_request_resources
  http://logs.openstack.org/12/620412/3/check/openstack-tox-cover/b97d53f/cover/placement_objects_resource_provider_py.html#n3398

** Affects: nova
     Importance: Medium
         Status: Triaged


** Tags: needs-functional-test placement testing

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

Title:
  placement/objects/resource_provider.py missing test coverage for
  several methods

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  In the extracted placement, the coverage tests run both unit and
  functional tests. This is because so much of the functionality is
  tested by gabbi. In those runs we can see that a few methods in
  placement/objects/resource_provider.py are not reached. They are:

  
  def _provider_aggregates
    http://logs.openstack.org/12/620412/3/check/openstack-tox-cover/b97d53f/cover/placement_objects_resource_provider_py.html#n3009

  def _aggregates_associated_with_providers
    http://logs.openstack.org/12/620412/3/check/openstack-tox-cover/b97d53f/cover/placement_objects_resource_provider_py.html#n3385

  def _shared_allocation_request_resources
    http://logs.openstack.org/12/620412/3/check/openstack-tox-cover/b97d53f/cover/placement_objects_resource_provider_py.html#n3398

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


Follow ups