yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #85243
[Bug 1916618] Re: Neutron unit test for QoS driver fails in master branch
Please make sure you have latest neutron-lib version (2.9.0) installed
on your env, this should fix the test.
** Changed in: neutron
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1916618
Title:
Neutron unit test for QoS driver fails in master branch
Status in neutron:
Invalid
Bug description:
When running the unit tests on my own machine, 1 test related to QoS
fails. However this does not seem to be happening on the Zuul gates.
It also happens in other people workstation.
Step-by-step reproduction:
- Clone neutron repo
- Run Python 3.8 unit tests with Tox. You can use:
$ tox -e py38 neutron.tests.unit.services.qos.drivers.test_manager.TestQoSDriversRulesValidations.test_validate_rule_for_network)
OUTPUT:
neutron.tests.unit.services.qos.drivers.test_manager.TestQoSDriversRulesValidations.test_validate_rule_for_network
------------------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/elvira/neutron/neutron/tests/base.py", line 182, in func
return f(self, *args, **kwargs)
File "/home/elvira/neutron/neutron/tests/unit/services/qos/drivers/test_manager.py", line 141, in test_validate_rule_for_network
self.assertTrue(driver_manager.validate_rule_for_network(
File "/home/elvira/neutron/neutron/services/qos/drivers/manager.py", line 160, in validate_rule_for_network
driver.validate_rule_for_network(context, rule,
AttributeError: 'QoSDriver' object has no attribute
'validate_rule_for_network'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1916618/+subscriptions
References