← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1805408] [NEW] ServerGroupTestV21.test_boot_servers_with_anti_affinity and related tests can race

 

Public bug reported:

The ServerGroup functional tests do not adequately manage the _SUPPORTS*
globals used at
https://github.com/openstack/nova/blob/1a1ea8e2aa66a2654e6cc141c735e47bbd8c4fef/nova/scheduler/utils.py#L805
leading to tests that come sometimes fail.

The easy fix is to reset the globals before and after the tests.

The longer term, less easy, fix is to not use globals.

** Affects: nova
     Importance: Undecided
         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/1805408

Title:
  ServerGroupTestV21.test_boot_servers_with_anti_affinity and related
  tests can race

Status in OpenStack Compute (nova):
  New

Bug description:
  The ServerGroup functional tests do not adequately manage the
  _SUPPORTS* globals used at
  https://github.com/openstack/nova/blob/1a1ea8e2aa66a2654e6cc141c735e47bbd8c4fef/nova/scheduler/utils.py#L805
  leading to tests that come sometimes fail.

  The easy fix is to reset the globals before and after the tests.

  The longer term, less easy, fix is to not use globals.

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