Reviewed: https://review.opendev.org/681238 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=07171778e6eb8a296a50320326e3c540a9579539 Submitter: Zuul Branch: master
commit 07171778e6eb8a296a50320326e3c540a9579539 Author: Balazs Gibizer <[email protected]> Date: Tue Sep 10 14:04:28 2019 +0200 Fix the race in confirm resize func test New confirm resize functional tests were added in Ia69dace6d3b395fa113c1382e8eb52c2cc36119d. But they could be racy [1] because the migration allocation is deleted in placement as the last thing in the confirm_resize process. So it happens after the migration is set to confirmed and the instance state is set to ACTIVE. This patch changes the confirm resize tests to wait for the successful instance action event as that is sent _after_ the migration allocation is deleted. [1] see the bug report Closes-Bug: #1843433 Change-Id: Ibeb16ce16263c43bad9f148480bbebca413d8117 ** Changed in: nova Status: In Progress => Fix Released -- 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/1843433 Title: functional test test_migrate_server_with_qos_port fails intermittently due to race condition Status in OpenStack Compute (nova): Fix Released Bug description: New confirm resize functional tests were added in Ia69dace6d3b395fa113c1382e8eb52c2cc36119d. But they could be racy [1] because the migration allocation is deleted in placement as the last thing in the confirm_resize process. So it happens after the migration is set to confirmed and the instance state is set to ACTIVE. [1]https://954d3ddb67e757934983-a9cc155153d08dd30dfffbbf1d71d234.ssl.cf5.rackcdn.com/676138/16/gate/nova-tox-functional-py36/fb5d235/testr_results.html.gz To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1843433/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

