nova unit tests failing with infinite recursion with oslo.versionedobjects 0.13.0

Bug #1516805 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Critical
Dan Smith
Liberty
Fix Released
Critical
Dan Smith

Bug Description

Seen here:

http://logs.openstack.org/20/243320/4/gate/gate-nova-python27/37b1b32/console.html

Just started on 11/16 with the o.vo 0.13.0 release.

Lots of this:

2015-11-16 21:00:40.347 | result = getattr(cls, objmethod)(context, *args, **kwargs)
2015-11-16 21:00:40.347 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 173, in wrapper
2015-11-16 21:00:40.348 | args, kwargs)
2015-11-16 21:00:40.348 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/fixture.py", line 106, in object_class_action_versions
2015-11-16 21:00:40.348 | result = getattr(cls, objmethod)(context, *args, **kwargs)
2015-11-16 21:00:40.348 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 173, in wrapper
2015-11-16 21:00:40.348 | args, kwargs)
2015-11-16 21:00:40.348 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/fixture.py", line 106, in object_class_action_versions
2015-11-16 21:00:40.348 | result = getattr(cls, objmethod)(context, *args, **kwargs)
2015-11-16 21:00:40.348 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 173, in wrapper
2015-11-16 21:00:40.348 | args, kwargs)
2015-11-16 21:00:40.348 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/fixture.py", line 106, in object_class_action_versions
2015-11-16 21:00:40.349 | result = getattr(cls, objmethod)(context, *args, **kwargs)
2015-11-16 21:00:40.349 | File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 173, in wrapper
2015-11-16 21:00:40.349 | args, kwargs)

Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :

This is the breaking change: https://review.openstack.org/#/c/224862/

Revision history for this message
Matt Riedemann (mriedem) wrote :

Actually that was a red herring, it's this that's failing: https://review.openstack.org/#/c/224861/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Matt Riedemann (mriedem)
status: New → In Progress
assignee: Matt Riedemann (mriedem) → Dan Smith (danms)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Matt Riedemann (mriedem)
Changed in nova:
importance: Undecided → Critical
Matt Riedemann (mriedem)
Changed in oslo.versionedobjects:
status: New → Invalid
tags: added: liberty-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/246022

Matt Riedemann (mriedem)
no longer affects: oslo.versionedobjects
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Matt Riedemann (<email address hidden>) on branch: master
Review: https://review.openstack.org/246011
Reason: Hoping https://review.openstack.org/#/c/246013/ will fix everything.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/246013
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1b3fbfb087998633ea66db223c0f7c201f69e49a
Submitter: Jenkins
Branch: master

commit 1b3fbfb087998633ea66db223c0f7c201f69e49a
Author: Dan Smith <email address hidden>
Date: Mon Nov 16 14:46:16 2015 -0800

    Fix Nova's indirection fixture override

    This mirrors the indirection fixture override that we have for
    object_class_action() while we transition fully to the base
    VersionedObjectRegistry. This prevents us from breaking with current
    oslo.versionedobjects.

    This also caused a few other tests to get run with manifest calls,
    which needed to be converted to continue to work.

    Change-Id: I2aaa42784b2cc5c6898a3fac0c951dd57dd4f4c6
    Closes-Bug: #1516805

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/liberty)

Reviewed: https://review.openstack.org/246022
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0ff44c9d50bbe01e23bc9699e1aaab3ddfaaa0eb
Submitter: Jenkins
Branch: stable/liberty

commit 0ff44c9d50bbe01e23bc9699e1aaab3ddfaaa0eb
Author: Dan Smith <email address hidden>
Date: Mon Nov 16 14:46:16 2015 -0800

    Fix Nova's indirection fixture override

    This mirrors the indirection fixture override that we have for
    object_class_action() while we transition fully to the base
    VersionedObjectRegistry. This prevents us from breaking with current
    oslo.versionedobjects.

    This also caused a few other tests to get run with manifest calls,
    which needed to be converted to continue to work. Also, because
    liberty still has both InstanceV1 and InstanceV2, this tickled another
    case where we need to use the instance base class for a mox.IsA() check.

    Change-Id: I2aaa42784b2cc5c6898a3fac0c951dd57dd4f4c6
    Closes-Bug: #1516805
    (cherry picked from commit 1b3fbfb087998633ea66db223c0f7c201f69e49a)

Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/nova 13.0.0.0b1

This issue was fixed in the openstack/nova 13.0.0.0b1 development milestone.

Changed in nova:
status: Fix Committed → Fix Released
Changed in nova:
milestone: none → mitaka-1
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/nova 12.0.1

This issue was fixed in the openstack/nova 12.0.1 release.

Matt Riedemann (mriedem)
tags: added: in-stable-liberty
removed: liberty-backport-potential
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.