Reviewed: https://review.openstack.org/308384 Committed: https://git.openstack.org/cgit/openstack/neutron-lbaas/commit/?id=c5cbd394e1aca10d915272c3e787129949e9f6a2 Submitter: Jenkins Branch: master
commit c5cbd394e1aca10d915272c3e787129949e9f6a2 Author: Victor Stinner <vstin...@redhat.com> Date: Wed Apr 20 16:46:27 2016 +0200 Fix test_quotas The change I1cd91b5e06bd17f9aac97bba71228f2e5c48879b modified the delete_tenant_quota() function: it now raises a NotFound error if delete failed. Fix the test: catch and ignore the NotFound exception. The test removes the quota by reseting quotas of the tenant. Change-Id: I87df52474014c4bceff8124a627f829f6b625ce0 Closes-Bug: #1572592 ** Changed in: neutron Status: In Progress => 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/1572592 Title: gate-neutron-lbaasv1-dsvm-api gate broken on Neutron LBaaS: fail to find a quota Status in neutron: Fix Released Bug description: The gate-neutron-lbaasv1-dsvm-api gate job of Neutron LBaaS looks to always fail on test_quotas. Example of a failure. For example, the gate failed on the approve "Updated from global requirements" change: https://review.openstack.org/#/c/307761/ Console logs: http://logs.openstack.org/61/307761/1/check/gate- neutron-lbaasv1-dsvm-api/69872dd/console.html neutron_lbaas.tests.tempest.v1.api.admin.test_quotas.QuotasTest.test_lbaas_quotas[gate] --------------------------------------------------------------------------------------- Traceback (most recent call last): File "neutron_lbaas/tests/tempest/lib/services/network/json/network_client.py", line 330, in reset_quotas resp, body = self.delete(uri) File "/opt/stack/new/neutron-lbaas/.tox/apiv1/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 290, in delete return self.request('DELETE', url, extra_headers, headers, body) File "/opt/stack/new/neutron-lbaas/.tox/apiv1/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 642, in request resp, resp_body) File "/opt/stack/new/neutron-lbaas/.tox/apiv1/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 695, in _error_checker raise exceptions.NotFound(resp_body, resp=resp) tempest.lib.exceptions.NotFound: Object not found Details: {u'message': u'Quota for tenant ce7b2ca707c6479f88b67e312d3764f2 could not be found.', u'detail': u'', u'type': u'TenantQuotaNotFound'} neutron_lbaas.tests.tempest.v1.api.admin.test_quotas.QuotasTest.test_quotas[gate] --------------------------------------------------------------------------------- Traceback (most recent call last): File "neutron_lbaas/tests/tempest/lib/services/network/json/network_client.py", line 330, in reset_quotas resp, body = self.delete(uri) File "/opt/stack/new/neutron-lbaas/.tox/apiv1/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 290, in delete return self.request('DELETE', url, extra_headers, headers, body) File "/opt/stack/new/neutron-lbaas/.tox/apiv1/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 642, in request resp, resp_body) File "/opt/stack/new/neutron-lbaas/.tox/apiv1/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 695, in _error_checker raise exceptions.NotFound(resp_body, resp=resp) tempest.lib.exceptions.NotFound: Object not found Details: {u'message': u'Quota for tenant 89128f4ca5aa415db790b0ed30d8b24e could not be found.', u'detail': u'', u'type': u'TenantQuotaNotFound'} To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1572592/+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