← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1794870] Re: NetworkNotFound failures on network test teardown because of retries due to the initial request taking >60 seconds

 

Looks like this was fixed in commit
748dd8df737d28aad7dfd0a1e32659e0256126e2 in the tempest tree, will
close.

** Changed in: neutron
       Status: Confirmed => Fix Released

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

Title:
  NetworkNotFound failures on network test teardown because of retries
  due to the initial request taking >60 seconds

Status in neutron:
  Fix Released
Status in tempest:
  Invalid

Bug description:
  I've seen this in a few different tests and branches, network tests
  are tearing down and hitting NetworkNotFound presumably because the
  test already deleted the network and we're racing on teardown:

  http://logs.openstack.org/70/605270/1/gate/tempest-full-
  py3/f18bf28/testr_results.html.gz

  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/lib/services/network/networks_client.py", line 52, in delete_network
      return self.delete_resource(uri)
    File "/opt/stack/tempest/tempest/lib/services/network/base.py", line 41, in delete_resource
      resp, body = self.delete(req_uri)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 310, in delete
      return self.request('DELETE', url, extra_headers, headers, body)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 675, in request
      self._error_checker(resp, resp_body)
    File "/opt/stack/tempest/tempest/lib/common/rest_client.py", line 781, in _error_checker
      raise exceptions.NotFound(resp_body, resp=resp)
  tempest.lib.exceptions.NotFound: Object not found
  Details: {'detail': '', 'type': 'NetworkNotFound', 'message': 'Network 0574d093-73f1-4a7c-b0d8-49c9f43d44fa could not be found.'}

  We should just handle the 404 and ignore it since we're trying to
  delete the network anyway.

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