Bug closed due to lack of activity, please feel free to reopen if
needed.
** Changed in: neutron
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1904694
Title:
Enforce security group cleanup (Resources leaks)
Status in neutron:
Won't Fix
Bug description:
Enforce security group rule cleanup if created in the test case
This will avoid clashes with other test cases running in the same
thread
FAIL 0:00:16.259435
neutron_tempest_plugin.api.test_security_groups.SecGroupRulesQuotaTest.test_create_sg_rules_when_quota_disabled[id-4459e066-d9c8-4a13-9e98-018f95ce2dbf]
Traceback:
Traceback (most recent call last):
File
"/usr/local/lib/python3.6/dist-packages/neutron_tempest_plugin/api/test_security_groups.py",
line 314, in test_create_sg_rules_when_quota_disabled
self._create_security_group_rules(10, port_index=100)
File
"/usr/local/lib/python3.6/dist-packages/neutron_tempest_plugin/api/test_security_groups.py",
line 233, in _create_security_group_rules
'protocol': 'tcp'})
File
"/usr/local/lib/python3.6/dist-packages/neutron_tempest_plugin/api/base.py",
line 874, in create_security_group_rule
return client.create_security_group_rule(**kwargs)[
File
"/usr/local/lib/python3.6/dist-packages/neutron_tempest_plugin/services/network/json/network_client.py",
line 913, in create_security_group_rule
resp, body = self.post(uri, body)
File "/home/aqua/tempest/tempest/lib/common/rest_client.py", line 298, in
post
return self.request('POST', url, extra_headers, headers, body, chunked)
File "/home/aqua/tempest/tempest/lib/common/rest_client.py", line 702, in
request
self._error_checker(resp, resp_body)
File "/home/aqua/tempest/tempest/lib/common/rest_client.py", line 823, in
_error_checker
raise exceptions.Conflict(resp_body, resp=resp)
tempest.lib.exceptions.Conflict: Conflict with state of target resource
Details: {'type': 'SecurityGroupRuleExists', 'message': 'Security group rule
already exists. Rule id is dcf10cc5-5b0c-4be2-81e8-62d7a226b620.', 'detail': ''}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1904694/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp