初步定位:可能测试框架导致的清除资源时port还处于占用状态
失败日志为:
ft21.1: Traceback (most recent call last):
File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/test.py", line 318, in tearDownClass
six.reraise(etype, value, trace)
File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/test.py", line 301, in tearDownClass
teardown()
File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/test.py", line 549, in clear_credentials
cls._creds_provider.clear_creds()
File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/common/dynamic_creds.py", line 377, in clear_creds
self._cleanup_default_secgroup(creds.tenant_id)
File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/common/dynamic_creds.py", line 329, in _cleanup_default_secgroup
nsg_client.delete_security_group(secgroup['id'])
File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/lib/services/network/security_groups_client.py", line 34, in delete_security_group
return self.delete_resource(uri)
File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/lib/services/network/base.py", line 41, in delete_resource
resp, body = self.delete(req_uri)
File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/lib/common/rest_client.py", line 290, in delete
return self.request('DELETE', url, extra_headers, headers, body)
File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/lib/common/rest_client.py", line 641, in request
resp, resp_body)
File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/lib/common/rest_client.py", line 709, in _error_checker
raise exceptions.Conflict(resp_body, resp=resp)
Conflict: An object with that identifier already exists
Details: {u'message': u'Security Group 6085c79a-724d-4e15-9399-45ab04e1a3ed in use.', u'type': u'SecurityGroupInUse', u'detail': u''}
初步定位:可能测试框架导致的清除资源时port还处于占用状态 失败日志为: ft21.1: Traceback (most recent call last): File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/test.py", line 318, in tearDownClass six.reraise(etype, value, trace) File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/test.py", line 301, in tearDownClass teardown() File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/test.py", line 549, in clear_credentials cls._creds_provider.clear_creds() File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/common/dynamic_creds.py", line 377, in clear_creds self._cleanup_default_secgroup(creds.tenant_id) File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/common/dynamic_creds.py", line 329, in _cleanup_default_secgroup nsg_client.delete_security_group(secgroup['id']) File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/lib/services/network/security_groups_client.py", line 34, in delete_security_group return self.delete_resource(uri) File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/lib/services/network/base.py", line 41, in delete_resource resp, body = self.delete(req_uri) File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/lib/common/rest_client.py", line 290, in delete return self.request('DELETE', url, extra_headers, headers, body) File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/lib/common/rest_client.py", line 641, in request resp, resp_body) File "/opt/hybrid_cloud_test/hybrid-tempest/tempest/lib/common/rest_client.py", line 709, in _error_checker raise exceptions.Conflict(resp_body, resp=resp) Conflict: An object with that identifier already exists Details: {u'message': u'Security Group 6085c79a-724d-4e15-9399-45ab04e1a3ed in use.', u'type': u'SecurityGroupInUse', u'detail': u''}