[openstack-dev] [Neutron][Oslo] Huge number of deprecation warnings in functional tests

Sławek Kapłoński slawek at kaplonski.pl
Sat Jan 28 23:46:23 UTC 2017


Hello,

Thanks. I just filled bug report to oslo project:
https://bugs.launchpad.net/oslo.context/+bug/1660088

-- 
Best regards / Pozdrawiam
Sławek Kapłoński
slawek at kaplonski.pl

On Sat, 28 Jan 2017, Hayes, Graham wrote:

> On 28/01/17 20:54, Sławek Kapłoński wrote:
> > Hello,
> > 
> > I pushed today patch in Neutron to gerrit [1] and I noticed that functional 
> > tests are failing. In logs there is huge number of deprecation warnings 
> > displayed [2]. Tests are failing because of global timeout is reached and IMO 
> > reason of this timeout is this huge amount of deprecation warnings.
> > I checked that those warnings are disaplyed when oslo.context==2.12.0 is 
> > installed. With oslo.context==2.11.0 all is fine.
> > Should it be reported as bug in Neutron or in Oslo project? Or maybe You 
> > already know about it and there is some patch to fix it but I couldn't find it?
> 
> Its an oslo.context bug - I can't see one filed for it yet.
> > 
> > [1] https://review.openstack.org/#/c/426429/
> > [2] http://logs.openstack.org/29/426429/3/check/gate-neutron-dsvm-functional-ubuntu-xenial/7079dc5/console.html
> > 
> 
> It looks like the warnings function was miss used - this should be set
> as a once only message. The stack trace level seems suspect, as it
> points as neutron/context.py as the one sending out the notice, not
> oslo.contexts base class.
> 
> [3] seems to the cause - I would suggest reverting this commit and
> doing a 2.13.0 release. This is going to be *really* noisy. (logstash
> has 2.5 million items for this string in the last 24 hours)
> 
> 3 -
> https://github.com/openstack/oslo.context/commit/f25543fcc792ebf155728a91fde06e8dc4e96cea
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170129/4e89d326/attachment.pgp>


More information about the OpenStack-dev mailing list