Public bug reported: When we execute the test case 'test_rbac_policy_quota' in neutron_tempest_plugin.api.admin.test_shared_network_extension.RBACSharedNetworksTest, the program throws an exception.
* Step-by-step reproduction steps: Setup neutron-tempest-plugin Running the test (rally)[root@ci /]$ python -m testtools.run neutron_tempest_plugin.api.admin.test_shared_network_extension.RBACSharedNetworksTest.test_rbac_policy_quota Traceback (most recent call last): File "/var/lib/kolla/venv/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 89, in wrapper return func(*func_args, **func_kwargs) File "/var/lib/kolla/venv/lib/python3.6/site-packages/neutron_tempest_plugin/api/admin/test_shared_network_extension.py", line 378, in test_rbac_policy_quota self.assertGreater(max_policies, 0) File "/usr/lib64/python3.6/unittest/case.py", line 1238, in assertGreater self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.6/unittest/case.py", line 687, in fail raise self.failureException(msg) AssertionError: -1 not greater than 0Ran 1 test in 12.500s FAILED (failures=1) It seems that the setting of the RBAC policy quota caused the exception. When the quota is set to -1 by default, the program fails in the judgment. https://opendev.org/openstack/neutron-tempest-plugin/src/commit/14f44a0c29e3fed721313848f0f3dea2cd023dda/neutron_tempest_plugin/api/admin/test_shared_network_extension.py#L375 ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/2047101 Title: The test case for 'rbac_policy_quota' execution reports an error. Status in neutron: New Bug description: When we execute the test case 'test_rbac_policy_quota' in neutron_tempest_plugin.api.admin.test_shared_network_extension.RBACSharedNetworksTest, the program throws an exception. * Step-by-step reproduction steps: Setup neutron-tempest-plugin Running the test (rally)[root@ci /]$ python -m testtools.run neutron_tempest_plugin.api.admin.test_shared_network_extension.RBACSharedNetworksTest.test_rbac_policy_quota Traceback (most recent call last): File "/var/lib/kolla/venv/lib/python3.6/site-packages/tempest/common/utils/__init__.py", line 89, in wrapper return func(*func_args, **func_kwargs) File "/var/lib/kolla/venv/lib/python3.6/site-packages/neutron_tempest_plugin/api/admin/test_shared_network_extension.py", line 378, in test_rbac_policy_quota self.assertGreater(max_policies, 0) File "/usr/lib64/python3.6/unittest/case.py", line 1238, in assertGreater self.fail(self._formatMessage(msg, standardMsg)) File "/usr/lib64/python3.6/unittest/case.py", line 687, in fail raise self.failureException(msg) AssertionError: -1 not greater than 0Ran 1 test in 12.500s FAILED (failures=1) It seems that the setting of the RBAC policy quota caused the exception. When the quota is set to -1 by default, the program fails in the judgment. https://opendev.org/openstack/neutron-tempest-plugin/src/commit/14f44a0c29e3fed721313848f0f3dea2cd023dda/neutron_tempest_plugin/api/admin/test_shared_network_extension.py#L375 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/2047101/+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