Public bug reported:

The tests only asserts that the policy is kept after the evacuation API
is called [1] but does not check if the evacuated server is moved to a
new host. When I added those asserts locally it become clear that the
evacuation fails with NoValidHost but the test passes causing a false
positive result.

The logs in those failed tests show multiple potential problems [2].

[1] 
https://github.com/openstack/nova/blob/42d2c0263edf9041b7e97b0b59982dcfe904a137/nova/tests/functional/test_server_group.py#L431
[2] http://paste.openstack.org/show/629301/

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: evacuate

** Tags added: evacuate

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

Title:
  
nova.tests.functional.test_server_group.ServerGroupTest*.test_evacuate_with_anti_affinity
  does not  validate that evacuation really happens

Status in OpenStack Compute (nova):
  New

Bug description:
  The tests only asserts that the policy is kept after the evacuation
  API is called [1] but does not check if the evacuated server is moved
  to a new host. When I added those asserts locally it become clear that
  the evacuation fails with NoValidHost but the test passes causing a
  false positive result.

  The logs in those failed tests show multiple potential problems [2].

  [1] 
https://github.com/openstack/nova/blob/42d2c0263edf9041b7e97b0b59982dcfe904a137/nova/tests/functional/test_server_group.py#L431
  [2] http://paste.openstack.org/show/629301/

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to