← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1916618] [NEW] Neutron unit test for QoS driver fails in master branch

 

Public bug reported:

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'

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: unittest

-- 
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:
  New

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


Follow ups