when run test_list_servers_negative.py in parallel mode, the following tests will be failed but running it serially will be ok.
the config: allow_tenant_isolation = False
./run_tests.sh tempest.api.compute.servers.test_list_servers_negative
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON
test_list_servers_by_changes_since[gate] FAIL
test_list_servers_by_limits_greater_than_actual_count[gate,negative]FAIL
tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestXML
test_list_servers_by_changes_since[gate] FAIL
test_list_servers_by_limits_greater_than_actual_count[gate,negative]FAIL
./run_tests.sh -t tempest.api.compute.servers.test_list_servers_negative
all tests will pass.
FAIL: tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestJSON.test_list_servers_by_limits_greater_than_actual_count[gate,negative]
Traceback (most recent call last):
File "/opt/stack/tempest/tempest/api/compute/servers/test_list_servers_negative.py", line 168, in test_list_servers_by_limits_greater_than_actual_count
self.assertEqual(len(self.existing_fixtures), len(body['servers']))
File "/opt/stack/tempest/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 322, in assertEqual
self.assertThat(observed, matcher, message)
File "/opt/stack/tempest/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 417, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: 2 != 4
FAIL: tempest.api.compute.servers.test_list_servers_negative.ListServersNegativeTestXML.test_list_servers_by_changes_since[gate]
Traceback (most recent call last):
File "/opt/stack/tempest/tempest/api/compute/servers/test_list_servers_negative.py", line 193, in test_list_servers_by_changes_since
(num_expected, body['servers']))
File "/opt/stack/tempest/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 322, in assertEqual
self.assertThat(observed, matcher, message)
File "/opt/stack/tempest/.venv/local/lib/python2.7/site-packages/testtools/testcase.py", line 417, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: 3 != 6: Number of servers 3 is wrong in [{'link': {'href': 'http://9.115.127.125:8774/673fe79528b8463ba53bbe56d4a2400b/servers/2b42d0e3-ab62-4d81-8605-959696a0dfe7', 'rel': 'bookmark'}, 'name': 'ListServersNegativeTestXML-instance-tempest-1676945972', 'id': '2b42d0e3-ab62-4d81-8605-959696a0dfe7'}, {'link': {'href': 'http://9.115.127.125:8774/673fe79528b8463ba53bbe56d4a2400b/servers/f845ff0b-050e-4993-a5a6-9700d86b0adc', 'rel': 'bookmark'}, 'name': 'ListServersNegativeTestJSON-instance-tempest-1898524703', 'id': 'f845ff0b-050e-4993-a5a6-9700d86b0adc'}, {'link': {'href': 'http://9.115.127.125:8774/673fe79528b8463ba53bbe56d4a2400b/servers/63d84439-89aa-4a1c-86dc-73a13bd3fb9c', 'rel': 'bookmark'}, 'name': 'ListServersNegativeTestXML-instance-tempest-1143246935', 'id': '63d84439-89aa-4a1c-86dc-73a13bd3fb9c'}, {'link': {'href': 'http://9.115.127.125:8774/673fe79528b8463ba53bbe56d4a2400b/servers/78a2b19a-36ad-4644-afaa-5db69e56daae', 'rel': 'bookmark'}, 'name': 'ListServersNegativeTestJSON-instance-tempest-111422242', 'id': '78a2b19a-36ad-4644-afaa-5db69e56daae'}, {'link': {'href': 'http://9.115.127.125:8774/673fe79528b8463ba53bbe56d4a2400b/servers/92b50ccd-c55f-4ac6-8141-ef4a3f2dee5b', 'rel': 'bookmark'}, 'name': 'ListServersNegativeTestJSON-instance-tempest-1255923648', 'id': '92b50ccd-c55f-4ac6-8141-ef4a3f2dee5b'}, {'link': {'href': 'http://9.115.127.125:8774/673fe79528b8463ba53bbe56d4a2400b/servers/c229b92d-a1af-4401-9950-d95825595216', 'rel': 'bookmark'}, 'name': 'ListServersNegativeTestXML-instance-tempest-43758300', 'id': 'c229b92d-a1af-4401-9950-d95825595216'}]
Fix proposed to branch: master /review. openstack. org/57384
Review: https:/