neutron.tests.unit.objects.qos.test_policy unittests fail on stable/pike branch
Bug #1757087 reported by
Jakub Libosvar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Critical
|
Jakub Libosvar |
Changed in neutron: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
TB example: tests.unit. objects. qos.test_ policy. QosPolicyDbObje ctTestCase. test_object_ version_ degradation_ 1_2_to_ 1_1_StringExcep tion: Traceback (most recent call last): tests/base. py", line 118, in func tests/unit/ objects/ qos/test_ policy. py", line 468, in test_object_ version_ degradation_ 1_2_to_ 1_1 through_ version( policy_ obj, '1.1') tests/unit/ objects/ qos/test_ policy. py", line 426, in _policy_ through_ version QosPolicy. clean_obj_ from_primitive( primitive) objects/ base.py" , line 148, in clean_obj_ from_primitive from_primitive( primitive, context) zuul/src/ git.openstack. org/openstack/ neutron/ .tox/py27/ local/lib/ python2. 7/site- packages/ oslo_versionedo bjects/ base.py" , line 414, in obj_from_primitive class_from_ name(objname, objver) zuul/src/ git.openstack. org/openstack/ neutron/ .tox/py27/ local/lib/ python2. 7/site- packages/ oslo_versionedo bjects/ base.py" , line 377, in obj_class_from_name is_compatible( objver, objclass.VERSION)): zuul/src/ git.openstack. org/openstack/ neutron/ .tox/py27/ local/lib/ python2. 7/site- packages/ oslo_utils/ versionutils. py", line 45, in is_compatible
ft1.3: neutron.
File "neutron/
return f(self, *args, **kwargs)
File "neutron/
policy_obj_v1_1 = self._policy_
File "neutron/
return policy.
File "neutron/
obj = cls.obj_
File "/home/
objclass = cls.obj_
File "/home/
vutils.
File "/home/
if same_major and (requested_parts[0] != current_parts[0]):
TypeError: 'Version' object does not support indexing