Compare of volume in tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario shouldn't check "updated_at" attribute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I noticed failure of one of the scenario jobs with error in tempest.
Traceback (most recent call last):
File "/opt/stack/
return f(*func_args, **func_kwargs)
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
raise mismatch_error
testtools.
reference = {'attachments': [],
'availability_
'bootable': 'false',
'consistencygr
'created_at': '2020-02-
'description': None,
'encrypted': False,
'id': '4daa2ca2-
'links': [{'href': 'https:/
'rel': 'self'},
{'href': 'https:/
'rel': 'bookmark'}],
'metadata': {},
'multiattach': False,
'name': 'tempest-
'os-vol-
'replication_
'size': 1,
'snapshot_id': None,
'source_volid': None,
'status': 'available',
'updated_at': '2020-02-
'user_id': '7ef37058732540
'volume_type': 'lvmdriver-1'}
actual = {'attachments': [],
'availability_
'bootable': 'false',
'consistencygr
'created_at': '2020-02-
'description': None,
'encrypted': False,
'id': '4daa2ca2-
'links': [{'href': 'https:/
'rel': 'self'},
{'href': 'https:/
'rel': 'bookmark'}],
'metadata': {},
'multiattach': False,
'name': 'tempest-
'os-vol-
'replication_
'size': 1,
'snapshot_id': None,
'source_volid': None,
'status': 'available',
'updated_at': '2020-02-
'user_id': '7ef37058732540
'volume_type': 'lvmdriver-1'}
Failure logs are at https:/
The only difference between actual and expected volume is "updated_at" key.
I don't think that "updated_at" key is critical in this test and should be really checked. Maybe tempest should filter this key from comparison?
Confirming, I've seen the issue in the gates as well, I agree updated_at shouldn't be compared although I'm curious why it is flaky, I'll look into it.