2020-06-01 00:41:05,471 280103 INFO [tempest.common.waiters] State transition "BUILD/spawning" ==> "ACTIVE/None" after 8 second wait
}}}
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/tempest/api/compute/images/test_images_oneserver_negative.py", line 114, in test_create_second_image_when_first_image_is_being_saved
self.server_id)
File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 485, in assertRaises
self.assertThat(our_callable, matcher)
File "/usr/lib/python3.6/site-packages/testtools/testcase.py", line 498, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: <bound method BaseV2ComputeTest.create_image_from_server of <class 'tempest.api.compute.images.test_images_oneserver_negative.ImagesOneServerNegativeTestJSON'>> returned {}
https://logserver.rdoproject.org/openstack-periodic-latest-released/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-ussuri/16634ea/logs/undercloud/var/log/tempest/stestr_results.html.gz
the test is not correct
https:/ /github. com/openstack/ tempest/ blob/348fa311fe 031ff7d04f41aa9 e6ac65f6f6391fe /tempest/ api/compute/ images/ test_images_ oneserver_ negative. py#L109- L114
is a race.
if the first image saves quickly or has not started yet then the second call can succeed without raising an exception.
we should likely remove this form tempest and instead test this with a functional test in nova as we will not be able to reliably gauntee the image will still be saving in tempest.
i suspect this only passed because of slow performance of glance/nova in the gate.