TestMinimumBasicScenario.test_minimum_basic_scenario race fail comparing volume to expected values with updated_at diff
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Low
|
Matt Riedemann |
Bug Description
Seen here:
Looks like the test isn't filtering out updated_at from expected values but probably should to avoid race failures.
2019-07-27 01:20:36.245189 | controller | {1} tempest.
2019-07-27 01:20:36.245278 | controller |
2019-07-27 01:20:36.245325 | controller | Captured traceback:
2019-07-27 01:20:36.245362 | controller | ~~~~~~~~~~~~~~~~~~~
2019-07-27 01:20:36.245428 | controller | b'Traceback (most recent call last):'
2019-07-27 01:20:36.245526 | controller | b' File "/opt/stack/
2019-07-27 01:20:36.245611 | controller | b' return f(*func_args, **func_kwargs)'
2019-07-27 01:20:36.245740 | controller | b' File "/opt/stack/
2019-07-27 01:20:36.245803 | controller | b' self.cinder_
2019-07-27 01:20:36.246358 | controller | b' File "/opt/stack/
2019-07-27 01:20:36.246456 | controller | b' self.assertEqua
2019-07-27 01:20:36.246605 | controller | b' File "/opt/stack/
2019-07-27 01:20:36.247445 | controller | b' self.assertThat
2019-07-27 01:20:36.247601 | controller | b' File "/opt/stack/
2019-07-27 01:20:36.247648 | controller | b' raise mismatch_error'
2019-07-27 01:20:36.247704 | controller | b'testtools.
2019-07-27 01:20:36.247749 | controller | b"reference = {'attachments': [],"
2019-07-27 01:20:36.248037 | controller | b" 'availability_
2019-07-27 01:20:36.248913 | controller | b" 'bootable': 'false',"
2019-07-27 01:20:36.249002 | controller | b" 'consistencygro
2019-07-27 01:20:36.249079 | controller | b" 'created_at': '2019-07-
2019-07-27 01:20:36.249134 | controller | b" 'description': None,"
2019-07-27 01:20:36.249184 | controller | b" 'encrypted': False,"
2019-07-27 01:20:36.249275 | controller | b" 'id': '12d211dd-
2019-07-27 01:20:36.249432 | controller | b" 'links': [{'href': 'https:/
2019-07-27 01:20:36.249510 | controller | b" 'rel': 'self'},"
2019-07-27 01:20:36.249659 | controller | b" {'href': 'https:/
2019-07-27 01:20:36.249869 | controller | b" 'rel': 'bookmark'}],"
2019-07-27 01:20:36.249924 | controller | b" 'metadata': {},"
2019-07-27 01:20:36.249975 | controller | b" 'multiattach': False,"
2019-07-27 01:20:36.250087 | controller | b" 'name': 'tempest-
2019-07-27 01:20:36.250193 | controller | b" 'os-vol-
2019-07-27 01:20:36.250253 | controller | b" 'replication_
2019-07-27 01:20:36.251473 | controller | b" 'size': 1,"
2019-07-27 01:20:36.251540 | controller | b" 'snapshot_id': None,"
2019-07-27 01:20:36.251591 | controller | b" 'source_volid': None,"
2019-07-27 01:20:36.251643 | controller | b" 'status': 'available',"
2019-07-27 01:20:36.251717 | controller | b" 'updated_at': '2019-07-
2019-07-27 01:20:36.251798 | controller | b" 'user_id': '16e9467e3ed74b
2019-07-27 01:20:36.251851 | controller | b" 'volume_type': 'lvmdriver-1'}"
2019-07-27 01:20:36.251894 | controller | b"actual = {'attachments': [],"
2019-07-27 01:20:36.251928 | controller | b" 'availability_
2019-07-27 01:20:36.251954 | controller | b" 'bootable': 'false',"
2019-07-27 01:20:36.251986 | controller | b" 'consistencygro
2019-07-27 01:20:36.252026 | controller | b" 'created_at': '2019-07-
2019-07-27 01:20:36.252052 | controller | b" 'description': None,"
2019-07-27 01:20:36.252078 | controller | b" 'encrypted': False,"
2019-07-27 01:20:36.252119 | controller | b" 'id': '12d211dd-
2019-07-27 01:20:36.252214 | controller | b" 'links': [{'href': 'https:/
2019-07-27 01:20:36.252250 | controller | b" 'rel': 'self'},"
2019-07-27 01:20:36.252352 | controller | b" {'href': 'https:/
2019-07-27 01:20:36.252387 | controller | b" 'rel': 'bookmark'}],"
2019-07-27 01:20:36.252442 | controller | b" 'metadata': {},"
2019-07-27 01:20:36.253044 | controller | b" 'multiattach': False,"
2019-07-27 01:20:36.253127 | controller | b" 'name': 'tempest-
2019-07-27 01:20:36.253216 | controller | b" 'os-vol-
2019-07-27 01:20:36.253280 | controller | b" 'replication_
2019-07-27 01:20:36.253324 | controller | b" 'size': 1,"
2019-07-27 01:20:36.253373 | controller | b" 'snapshot_id': None,"
2019-07-27 01:20:36.253420 | controller | b" 'source_volid': None,"
2019-07-27 01:20:36.253470 | controller | b" 'status': 'available',"
2019-07-27 01:20:36.253542 | controller | b" 'updated_at': '2019-07-
2019-07-27 01:20:36.253611 | controller | b" 'user_id': '16e9467e3ed74b
2019-07-27 01:20:36.253672 | controller | b" 'volume_type': 'lvmdriver-1'}"
2019-07-27 01:20:36.253706 | controller | b''
2019-07-27 01:20:36.254049 | controller | b''
Changed in tempest: | |
status: | New → Confirmed |
tags: | added: cinder gate-failure volume |
Changed in tempest: | |
importance: | Undecided → Low |
It looks like the dict keys are at least sorted so I can do this for a logstash query:
http:// logstash. openstack. org/#dashboard/ file/logstash. json?query= message% 3A%5C%22actual% 20%20%20% 20%3D%20% 7B'attachments' %3A%20% 5B%5D%2C% 5C%22%20AND% 20tags% 3A%5C%22console %5C%22& from=7d
That shows it's pretty rare (2 hits in 7 days).