neutron.tests.unit.objects.qos.test_policy unittests fail on stable/pike branch

Bug #1757087 reported by Jakub Libosvar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Jakub Libosvar
Revision history for this message
Jakub Libosvar (libosvar) wrote :

TB example:
ft1.3: neutron.tests.unit.objects.qos.test_policy.QosPolicyDbObjectTestCase.test_object_version_degradation_1_2_to_1_1_StringException: Traceback (most recent call last):
  File "neutron/tests/base.py", line 118, in func
    return f(self, *args, **kwargs)
  File "neutron/tests/unit/objects/qos/test_policy.py", line 468, in test_object_version_degradation_1_2_to_1_1
    policy_obj_v1_1 = self._policy_through_version(policy_obj, '1.1')
  File "neutron/tests/unit/objects/qos/test_policy.py", line 426, in _policy_through_version
    return policy.QosPolicy.clean_obj_from_primitive(primitive)
  File "neutron/objects/base.py", line 148, in clean_obj_from_primitive
    obj = cls.obj_from_primitive(primitive, context)
  File "/home/zuul/src/git.openstack.org/openstack/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 414, in obj_from_primitive
    objclass = cls.obj_class_from_name(objname, objver)
  File "/home/zuul/src/git.openstack.org/openstack/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo_versionedobjects/base.py", line 377, in obj_class_from_name
    vutils.is_compatible(objver, objclass.VERSION)):
  File "/home/zuul/src/git.openstack.org/openstack/neutron/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/versionutils.py", line 45, in is_compatible
    if same_major and (requested_parts[0] != current_parts[0]):
TypeError: 'Version' object does not support indexing

Revision history for this message
Jakub Libosvar (libosvar) wrote :
Changed in neutron:
status: New → In Progress
Changed in neutron:
status: In Progress → Fix Released
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.