← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1715486] Re: py35 tests failing due to iso8601 module change

 

glance: http://logs.openstack.org/73/535173/3/check/cross-glance-
py35/9b06b73/testr_results.html.gz

** Also affects: glance
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1715486

Title:
  py35 tests failing due to iso8601 module change

Status in Cinder:
  Fix Released
Status in CloudPulse:
  In Progress
Status in Cue:
  In Progress
Status in Glance:
  New
Status in IoTronic:
  Fix Released
Status in Ironic:
  Fix Released
Status in Magnum:
  Fix Released
Status in Manila:
  Fix Released
Status in masakari:
  Fix Released
Status in Mogan:
  Fix Released
Status in oslo.versionedobjects:
  Fix Committed
Status in senlin:
  Fix Released
Status in watcher:
  Fix Released

Bug description:
  Python 3.x moved where the iso8601 Utc() method is located. Need to
  handle new path.

  Traceback (most recent call last):
    File "/home/jenkins/workspace/gate-cross-cinder-python35/cinder/tests/unit/api/contrib/test_admin_actions.py", line 829, in setUp
      self.svc = self.start_service('volume', host='test')
    File "/home/jenkins/workspace/gate-cross-cinder-python35/cinder/test.py", line 323, in start_service
      svc = service.Service.create(**kwargs)
    File "/home/jenkins/workspace/gate-cross-cinder-python35/cinder/service.py", line 425, in create
      cluster=cluster)
    File "/home/jenkins/workspace/gate-cross-cinder-python35/cinder/service.py", line 203, in __init__
      self._create_service_ref(ctxt, manager_class.RPC_API_VERSION)
    File "/home/jenkins/workspace/gate-cross-cinder-python35/cinder/service.py", line 374, in _create_service_ref
      service_ref.create()
    File "/home/jenkins/workspace/gate-cross-cinder-python35/cinder/objects/service.py", line 143, in create
      self._from_db_object(self._context, self, db_service)
    File "/home/jenkins/workspace/gate-cross-cinder-python35/cinder/objects/service.py", line 86, in _from_db_object
      service[name] = value
    File "/home/jenkins/workspace/gate-cross-cinder-python35/.tox/py35/lib/python3.5/site-packages/oslo_versionedobjects/base.py", line 765, in __setitem__
      setattr(self, name, value)
    File "/home/jenkins/workspace/gate-cross-cinder-python35/.tox/py35/lib/python3.5/site-packages/oslo_versionedobjects/base.py", line 72, in setter
      field_value = field.coerce(self, name, value)
    File "/home/jenkins/workspace/gate-cross-cinder-python35/.tox/py35/lib/python3.5/site-packages/oslo_versionedobjects/fields.py", line 195, in coerce
      return self._type.coerce(obj, attr, value)
    File "/home/jenkins/workspace/gate-cross-cinder-python35/.tox/py35/lib/python3.5/site-packages/oslo_versionedobjects/fields.py", line 471, in coerce
      value = value.replace(tzinfo=iso8601.iso8601.Utc())
  AttributeError: module 'iso8601.iso8601' has no attribute 'Utc'

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1715486/+subscriptions