Description of problem: The tempest test fails sometimes due to a problem with the snapshot the test is looking for. This is probably a problem with a race condition. Version-Release number of selected component (if applicable): openstack-tempest-18.0.0-13.el7ost.noarch How reproducible: Sometimes Actual results: Traceback (most recent call last): testtools.testresult.real._StringException: pythonlogging:'': {{{ 2020-05-04 19:23:55,356 4189 INFO [tempest.lib.common.rest_client] Request (VolumesSnapshotListTestJSON:test_snapshot_list_param_marker): 200 GET http://10.0.0.114:8776/v3/a68e774077ad4d9c9674253e4c3d890a/snapshots?marker=c3914f88-4ed3-4fa7-b7ca-b9a71dc489d6 0.408s 2020-05-04 19:23:55,356 4189 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'} Body: None Response - Headers: {'status': '200', u'content-length': '668', 'content-location': 'http://10.0.0.114:8776/v3/a68e774077ad4d9c9674253e4c3d890a/snapshots?marker=c3914f88-4ed3-4fa7-b7ca-b9a71dc489d6', u'x-compute-request-id': 'req-d079fad7-622e-46ae-96e9-5db7102e496e', u'vary': 'OpenStack-API-Version,Accept-Encoding', u'server': 'Apache', u'openstack-api-version': 'volume 3.0', u'connection': 'close', u'date': 'Mon, 04 May 2020 23:23:54 GMT', u'content-type': 'application/json', u'x-openstack-request-id': 'req-d079fad7-622e-46ae-96e9-5db7102e496e'} Body: {"snapshots": [{"status": "available", "size": 1, "metadata": {}, "name": "tempest-VolumesSnapshotListTestJSON-Snapshot-1594199555", "volume_id": "5e8200a3-9641-4ece-b237-c4627a8134f2", "created_at": "2020-05-04T23:23:52.000000", "description": null, "id": "5e7eab91-353c-44e9-82c9-7534ef747e9a", "updated_at": "2020-05-04T23:23:53.000000"}, {"status": "available", "size": 1, "metadata": {}, "name": "tempest-VolumesSnapshotListTestJSON-Snapshot-123573773", "volume_id": "5e8200a3-9641-4ece-b237-c4627a8134f2", "created_at": "2020-05-04T23:23:49.000000", "description": null, "id": "8990a4c6-b513-46c8-8022-fb4eac8f2f51", "updated_at": "2020-05-04T23:23:50.000000"}]} }}} Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/tempest/api/volume/test_volumes_snapshots_list.py", line 160, in test_snapshot_list_param_marker self.assertEqual(self.snapshot_id_list[:1], fetched_list_id) File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [u'8990a4c6-b513-46c8-8022-fb4eac8f2f51'] actual = [u'5e7eab91-353c-44e9-82c9-7534ef747e9a', u'8990a4c6-b513-46c8-8022-fb4eac8f2f51'] Expected results: Test expected to pass
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenStack Platform 13 bug fix and enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4387