← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1902844] Re: Error while removing subnet after test

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1902844

Title:
  Error while removing subnet after test

Status in neutron:
  Expired

Bug description:
  It happens from time to time that some tests are failing on the
  cleanup phase due to error with removing subnet.

  Example of error:
  https://f0d6f780fe4148c9e7b3-aa64ebeabe21ee4509953cd86d103ed0.ssl.cf5.rackcdn.com/759852/4/check/neutron-
  tempest-plugin-scenario-linuxbridge-
  victoria/040d041/testr_results.html

  Logstash query:
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22line%20112%2C%20in%20_delete%20%5C%22

  Stack trace:

  ft3.1: tearDownClass (neutron_tempest_plugin.scenario.test_multicast.MulticastTestIPv4)testtools.testresult.real._StringException: Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/test.py", line 242, in tearDownClass
      six.reraise(etype, value, trace)
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/six.py", line 703, in reraise
      raise value
    File "/opt/stack/tempest/tempest/test.py", line 214, in tearDownClass
      teardown()
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/base.py", line 191, in resource_cleanup
      cls._try_delete_resource(cls.client.delete_subnet,
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/api/base.py", line 281, in _try_delete_resource
      delete_callable(*args, **kwargs)
    File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/neutron_tempest_plugin/services/network/json/network_client.py", line 112, in _delete
      resp, body = self.delete(uri)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 329, in delete
      return self.request('DELETE', url, extra_headers, headers, body)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 702, in request
      self._error_checker(resp, resp_body)
    File "/opt/stack/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': 'SubnetInUse', 'message': 'Unable to complete operation on subnet e2ff179a-00c6-4483-bd9f-5a17bf4458cf: One or more ports have an IP allocation from this subnet.', 'detail': ''}

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1902844/+subscriptions



References