← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1660088] Re: Huge number of deprecation warnings in oslo.context 2.12.0

 

Reviewed:  https://review.openstack.org/426550
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=afab7c67011fad40fec87749679137d31aa20540
Submitter: Jenkins
Branch:    master

commit afab7c67011fad40fec87749679137d31aa20540
Author: Sławek Kapłoński <slawek@xxxxxxxxxxxx>
Date:   Sun Jan 29 09:44:03 2017 +0000

    Display deprecation warning in test only once
    
    WarningsFixture class was set to display deprecation
    warnings "alway" - which means every occurence of
    a warning.
    Since oslo.context 2.12.0 there was huge amount of such
    warnings displayed. It causes functional tests fails due
    to reach global timeout for tests.
    
    Now deprecation warning should be disaplayed only on first
    occurence of matching warning in test.
    
    Change-Id: I91196a8457c25e6eb5561fb74fd5864de85a070a
    Closes-Bug: 1660088


** 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/1660088

Title:
  Huge number of deprecation warnings in oslo.context 2.12.0

Status in neutron:
  Fix Released

Bug description:
  I found in Neutron's functional tests (like http://logs.openstack.org/29/426429/3/check/gate-neutron-dsvm-functional-ubuntu-xenial/7079dc5/console.html) huge number of deprecation warning which comes from oslo.context module.
  It causes troubles with finish of tests (because of reach timeouts) and is very "noisy" in logs.
  I described it also in https://www.mail-archive.com/openstack-dev@xxxxxxxxxxxxxxxxxxx/msg99752.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1660088/+subscriptions