test_resize_with_reschedule_then_live_migrate intermittently failing; migration is not yet complete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Matt Riedemann |
Bug Description
I noticed this in a stable/pike functional test job run:
2018-04-10 21:37:20.944928 | ubuntu-xenial | Captured stderr:
2018-04-10 21:37:20.944966 | ubuntu-xenial | ~~~~~~~~~~~~~~~~
2018-04-10 21:37:20.945029 | ubuntu-xenial | Traceback (most recent call last):
2018-04-10 21:37:20.945231 | ubuntu-xenial | File "/home/
2018-04-10 21:37:20.945268 | ubuntu-xenial | timer()
2018-04-10 21:37:20.945467 | ubuntu-xenial | File "/home/
2018-04-10 21:37:20.945513 | ubuntu-xenial | cb(*args, **kw)
2018-04-10 21:37:20.945598 | ubuntu-xenial | File "nova/utils.py", line 1030, in context_wrapper
2018-04-10 21:37:20.945650 | ubuntu-xenial | func(*args, **kwargs)
2018-04-10 21:37:20.945756 | ubuntu-xenial | File "nova/compute/
2018-04-10 21:37:20.945839 | ubuntu-xenial | self._do_
2018-04-10 21:37:20.945939 | ubuntu-xenial | File "nova/compute/
2018-04-10 21:37:20.945993 | ubuntu-xenial | clean_task_
2018-04-10 21:37:20.946194 | ubuntu-xenial | File "/home/
2018-04-10 21:37:20.946246 | ubuntu-xenial | self.force_
2018-04-10 21:37:20.946452 | ubuntu-xenial | File "/home/
2018-04-10 21:37:20.946532 | ubuntu-xenial | six.reraise(
2018-04-10 21:37:20.946679 | ubuntu-xenial | File "nova/compute/
2018-04-10 21:37:20.946764 | ubuntu-xenial | block_migration, migrate_data)
2018-04-10 21:37:20.946856 | ubuntu-xenial | File "nova/virt/
2018-04-10 21:37:20.946901 | ubuntu-xenial | migrate_data)
2018-04-10 21:37:20.947003 | ubuntu-xenial | File "nova/exception
2018-04-10 21:37:20.947069 | ubuntu-xenial | function_name, call_dict, binary)
2018-04-10 21:37:20.947270 | ubuntu-xenial | File "/home/
2018-04-10 21:37:20.947322 | ubuntu-xenial | self.force_
2018-04-10 21:37:20.947536 | ubuntu-xenial | File "/home/
2018-04-10 21:37:20.947619 | ubuntu-xenial | six.reraise(
2018-04-10 21:37:20.947707 | ubuntu-xenial | File "nova/exception
2018-04-10 21:37:20.947779 | ubuntu-xenial | return f(self, context, *args, **kw)
2018-04-10 21:37:20.947878 | ubuntu-xenial | File "nova/compute/
2018-04-10 21:37:20.947950 | ubuntu-xenial | kwargs['instance'], e, sys.exc_info())
2018-04-10 21:37:20.948160 | ubuntu-xenial | File "/home/
2018-04-10 21:37:20.948214 | ubuntu-xenial | self.force_
2018-04-10 21:37:20.948433 | ubuntu-xenial | File "/home/
2018-04-10 21:37:20.948510 | ubuntu-xenial | six.reraise(
2018-04-10 21:37:20.948607 | ubuntu-xenial | File "nova/compute/
2018-04-10 21:37:20.948687 | ubuntu-xenial | return function(self, context, *args, **kwargs)
2018-04-10 21:37:20.948802 | ubuntu-xenial | File "nova/compute/
2018-04-10 21:37:20.948856 | ubuntu-xenial | instance, source_node)
2018-04-10 21:37:20.949000 | ubuntu-xenial | File "nova/compute/
2018-04-10 21:37:20.949111 | ubuntu-xenial | self._delete_
2018-04-10 21:37:20.949244 | ubuntu-xenial | File "nova/compute/
2018-04-10 21:37:20.949319 | ubuntu-xenial | cn_uuid = self.compute_
2018-04-10 21:37:20.949363 | ubuntu-xenial | KeyError: u'host3'
But I see it's also happening on master:
Seeing it here too on master but without a KeyError:
http:// logs.openstack. org/10/ 557810/ 1/gate/ nova-tox- functional/ 8032a6b/ testr_results. html.gz
Traceback (most recent call last): functional/ regressions/ test_bug_ 1718512. py", line 150, in test_resize_ with_reschedule _then_live_ migrate assertEqual( 'completed' , migrations[ 0]['status' ]) zuul/src/ git.openstack. org/openstack/ nova/.tox/ functional/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 411, in assertEqual assertThat( observed, matcher, message) zuul/src/ git.openstack. org/openstack/ nova/.tox/ functional/ local/lib/ python2. 7/site- packages/ testtools/ testcase. py", line 498, in assertThat matchers. _impl.MismatchE rror: 'completed' != u'running'
File "nova/tests/
self.
File "/home/
self.
File "/home/
raise mismatch_error
testtools.