Browse Source

Ignore some PendingDeprecationWarnings for os-vif

os-vif got bumped to 1.14.0 in https://review.openstack.org/572082 and
Nova is touching the VIFPortProfileOVSRepresentor class in a supported
fashion until at least Train.

However, that commit contributes to triggering bug 1813147 in check and
gate. The warning is safe to silence and should be converted to an error
in Train (once the older path is removed).

Change-Id: I9d8175c78f068cf9bdad4aeba0941f6ff49a9acc
Signed-off-by: Jan Gutter <jan.gutter@netronome.com>
Related-Bug: #1813147
blueprint: generic-os-vif-offloads
tags/19.0.0.0rc1
Jan Gutter 10 months ago
parent
commit
cd1823195f
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      nova/tests/fixtures.py

+ 6
- 0
nova/tests/fixtures.py View File

@@ -843,6 +843,12 @@ class WarningsFixture(fixtures.Fixture):
'ignore', message='Evaluating non-mapped column expression',
category=sqla_exc.SAWarning)

# TODO(jangutter): Change (or remove) this to an error during the Train
# cycle when the os-vif port profile is no longer used.
warnings.filterwarnings(
'ignore', message=".* 'VIFPortProfileOVSRepresentor' .* "
"is deprecated", category=PendingDeprecationWarning)

self.addCleanup(warnings.resetwarnings)



Loading…
Cancel
Save