Public bug reported:

shared networks created during test can be picked by nova. (eg. for other 
tempest tests)
and it ends up with InUse errors on clean up.

in the following example, an unrelated test 
(tempest-TestServerAdvancedOps-1737118212)
happened to create a port on the network.

http://logs.openstack.org/60/409560/9/check/gate-tempest-dsvm-
networking-midonet-ml2-ubuntu-xenial/eac4f95/logs/testr_results.html.gz

ft1.1: tearDownClass 
(neutron.tests.tempest.api.admin.test_shared_network_extension.AllowedAddressPairSharedNetworkTest)_StringException:
 Traceback (most recent call last):
  File "tempest/test.py", line 307, in tearDownClass
    six.reraise(etype, value, trace)
  File "tempest/test.py", line 290, in tearDownClass
    teardown()
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 169, in 
resource_cleanup
    network['id'])
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 210, in 
_try_delete_resource
    delete_callable(*args, **kwargs)
  File 
"/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py",
 line 115, in _delete
    resp, body = self.delete(uri)
  File "tempest/lib/common/rest_client.py", line 306, in delete
    return self.request('DELETE', url, extra_headers, headers, body)
  File "tempest/lib/common/rest_client.py", line 663, in request
    self._error_checker(resp, resp_body)
  File "tempest/lib/common/rest_client.py", line 775, in _error_checker
    raise exceptions.Conflict(resp_body, resp=resp)
tempest.lib.exceptions.Conflict: An object with that identifier already exists
Details: {u'type': u'NetworkInUse', u'detail': u'', u'message': u'Unable to 
complete operation on network 773449f0-a5b0-4099-95fe-6b1a4ed096a6. There are 
one or more ports still in use on the network.'}

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: gate-failure

** Tags added: gate-failure

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

Title:
  occasional NetworkInUse in shared network tempest tests

Status in neutron:
  New

Bug description:
  shared networks created during test can be picked by nova. (eg. for other 
tempest tests)
  and it ends up with InUse errors on clean up.

  in the following example, an unrelated test 
(tempest-TestServerAdvancedOps-1737118212)
  happened to create a port on the network.

  http://logs.openstack.org/60/409560/9/check/gate-tempest-dsvm-
  networking-midonet-ml2-ubuntu-
  xenial/eac4f95/logs/testr_results.html.gz

  ft1.1: tearDownClass 
(neutron.tests.tempest.api.admin.test_shared_network_extension.AllowedAddressPairSharedNetworkTest)_StringException:
 Traceback (most recent call last):
    File "tempest/test.py", line 307, in tearDownClass
      six.reraise(etype, value, trace)
    File "tempest/test.py", line 290, in tearDownClass
      teardown()
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 169, 
in resource_cleanup
      network['id'])
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/base.py", line 210, 
in _try_delete_resource
      delete_callable(*args, **kwargs)
    File 
"/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py",
 line 115, in _delete
      resp, body = self.delete(uri)
    File "tempest/lib/common/rest_client.py", line 306, in delete
      return self.request('DELETE', url, extra_headers, headers, body)
    File "tempest/lib/common/rest_client.py", line 663, in request
      self._error_checker(resp, resp_body)
    File "tempest/lib/common/rest_client.py", line 775, in _error_checker
      raise exceptions.Conflict(resp_body, resp=resp)
  tempest.lib.exceptions.Conflict: An object with that identifier already exists
  Details: {u'type': u'NetworkInUse', u'detail': u'', u'message': u'Unable to 
complete operation on network 773449f0-a5b0-4099-95fe-6b1a4ed096a6. There are 
one or more ports still in use on the network.'}

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to