Public bug reported: The functional test nova.tests.functional.test_scheduler.MultiCellSchedulerTestCase.test_migrate_within_cell passes but it takes 160 seconds to run.
Example run: https://zuul.opendev.org/t/openstack/build/7fd0e6434c53422f9508466b7ead9b1e/log/job-output.txt#15531 Output from local reproduction: http://paste.openstack.org/show/788119/ Seems like the cleanup after the test function takes the extra time. By looking at the test case it starts a migration then if that call returns 202 the test finishes. So the cleanup and the migration happen in parallel. By adding a wait for the server to finish migration removes the excessive run time. ** Affects: nova Importance: Low Assignee: Balazs Gibizer (balazs-gibizer) Status: In Progress ** Tags: testing ** Changed in: nova Status: New => Triaged ** Changed in: nova Importance: Undecided => Low ** Changed in: nova Assignee: (unassigned) => Balazs Gibizer (balazs-gibizer) ** Tags added: 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/1858639 Title: functional test test_migrate_within_cell takes 160 seconds to run Status in OpenStack Compute (nova): In Progress Bug description: The functional test nova.tests.functional.test_scheduler.MultiCellSchedulerTestCase.test_migrate_within_cell passes but it takes 160 seconds to run. Example run: https://zuul.opendev.org/t/openstack/build/7fd0e6434c53422f9508466b7ead9b1e/log/job-output.txt#15531 Output from local reproduction: http://paste.openstack.org/show/788119/ Seems like the cleanup after the test function takes the extra time. By looking at the test case it starts a migration then if that call returns 202 the test finishes. So the cleanup and the migration happen in parallel. By adding a wait for the server to finish migration removes the excessive run time. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1858639/+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

