Huge number of deprecation warnings in oslo.context 2.12.0

Bug #1660088 reported by Slawek Kaplonski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Slawek Kaplonski
oslo.context
Fix Released
Undecided
Unassigned

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://<email address hidden>/msg99752.html

affects: pbr → oslo.context
affects: oslo.context → neutron
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/426550

Changed in neutron:
assignee: nobody → Slawek Kaplonski (slaweq)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.context 2.12.1

This issue was fixed in the openstack/oslo.context 2.12.1 release.

tags: added: neutron-proactive-backport-potential
tags: added: neutron-easy-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/428031

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/newton)

Reviewed: https://review.openstack.org/428031
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1586f70052ec4519cdc765c3357673168ca89f2e
Submitter: Jenkins
Branch: stable/newton

commit 1586f70052ec4519cdc765c3357673168ca89f2e
Author: Sławek Kapłoński <email address hidden>
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
    (cherry picked from commit afab7c67011fad40fec87749679137d31aa20540)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 10.0.0.0rc1

This issue was fixed in the openstack/neutron 10.0.0.0rc1 release candidate.

Nir Magnezi (nmagnezi)
Changed in oslo.context:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.context 2.13.0

This issue was fixed in the openstack/oslo.context 2.13.0 release.

tags: removed: neutron-easy-proactive-backport-potential neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 9.3.0

This issue was fixed in the openstack/neutron 9.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on oslo.context (master)

Change abandoned by Stephen Finucane (<email address hidden>) on branch: master
Review: https://review.opendev.org/426805

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.