← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1928007] [NEW] rbd_utils unit tests not running in gate

 

Public bug reported:

Awhile back, change:

https://review.opendev.org/c/openstack/nova/+/746904

moved rbd_utils out from the libvirt driver and into a central location
under nova/storage. This move missed adding a __init__.py file under
nova/tests/unit/storage, so unit test discovery wasn't picking up the
rbd_utils tests and couldn't run them.

There was also a small bug introduced by change:

https://review.opendev.org/c/openstack/nova/+/574301

in RbdTestCase.setUp() that passed nonexistent self.images_rbd_pool to
self.flags. It should be self.rbd_pool.

** Affects: nova
     Importance: Undecided
     Assignee: melanie witt (melwitt)
         Status: New


** Tags: 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/1928007

Title:
  rbd_utils unit tests not running in gate

Status in OpenStack Compute (nova):
  New

Bug description:
  Awhile back, change:

  https://review.opendev.org/c/openstack/nova/+/746904

  moved rbd_utils out from the libvirt driver and into a central
  location under nova/storage. This move missed adding a __init__.py
  file under nova/tests/unit/storage, so unit test discovery wasn't
  picking up the rbd_utils tests and couldn't run them.

  There was also a small bug introduced by change:

  https://review.opendev.org/c/openstack/nova/+/574301

  in RbdTestCase.setUp() that passed nonexistent self.images_rbd_pool to
  self.flags. It should be self.rbd_pool.

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


Follow ups