← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1207599] Re: Test failing due to latest version of openstack_auth

 

** Changed in: horizon/grizzly
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1207599

Title:
  Test failing due to latest version of openstack_auth

Status in OpenStack Dashboard (Horizon):
  Fix Committed
Status in OpenStack Dashboard (Horizon) folsom series:
  Fix Committed
Status in OpenStack Dashboard (Horizon) grizzly series:
  Fix Released

Bug description:
  Horizon jobs are failing due to incompatibility with openstack_auth

  2013-08-02 00:37:02.136 | ======================================================================
  2013-08-02 00:37:02.136 | ERROR: test_update_project_member_update_error_domain (openstack_dashboard.dashboards.admin.projects.tests.UpdateProjectWorkflowTests)
  2013-08-02 00:37:02.136 | ----------------------------------------------------------------------
  2013-08-02 00:37:02.136 | Traceback (most recent call last):
  2013-08-02 00:37:02.136 |   File "/home/jenkins/workspace/gate-horizon-python26/openstack_dashboard/dashboards/admin/projects/tests.py", line 1242, in test_update_project_member_update_error_domain
  2013-08-02 00:37:02.136 |     self.test_update_project_member_update_error()
  2013-08-02 00:37:02.136 |   File "/home/jenkins/workspace/gate-horizon-python26/openstack_dashboard/test/helpers.py", line 77, in instance_stub_out
  2013-08-02 00:37:02.137 |     return fn(self)
  2013-08-02 00:37:02.137 |   File "/home/jenkins/workspace/gate-horizon-python26/openstack_dashboard/dashboards/admin/projects/tests.py", line 1232, in test_update_project_member_update_error
  2013-08-02 00:37:02.137 |     res = self.client.post(url, workflow_data)
  2013-08-02 00:37:02.137 |   File "/home/jenkins/workspace/gate-horizon-python26/.tox/py26/lib/python2.6/site-packages/django/test/client.py", line 463, in post
  2013-08-02 00:37:02.137 |     response = super(Client, self).post(path, data=data, content_type=content_type, **extra)
  2013-08-02 00:37:02.137 |   File "/home/jenkins/workspace/gate-horizon-python26/.tox/py26/lib/python2.6/site-packages/django/test/client.py", line 297, in post
  2013-08-02 00:37:02.137 |     return self.request(**r)
  2013-08-02 00:37:02.137 |   File "/home/jenkins/workspace/gate-horizon-python26/.tox/py26/lib/python2.6/site-packages/django/test/client.py", line 424, in request
  2013-08-02 00:37:02.137 |     six.reraise(*exc_info)
  2013-08-02 00:37:02.138 |   File "/home/jenkins/workspace/gate-horizon-python26/.tox/py26/lib/python2.6/site-packages/django/core/handlers/base.py", line 115, in get_response
  2013-08-02 00:37:02.138 |     response = callback(request, *callback_args, **callback_kwargs)
  2013-08-02 00:37:02.138 |   File "/home/jenkins/workspace/gate-horizon-python26/horizon/decorators.py", line 38, in dec
  2013-08-02 00:37:02.138 |     return view_func(request, *args, **kwargs)
  2013-08-02 00:37:02.138 |   File "/home/jenkins/workspace/gate-horizon-python26/horizon/decorators.py", line 84, in dec
  2013-08-02 00:37:02.138 |     if request.user.is_authenticated():
  2013-08-02 00:37:02.138 |   File "/home/jenkins/workspace/gate-horizon-python26/.tox/py26/lib/python2.6/site-packages/openstack_auth/user.py", line 189, in is_authenticated
  2013-08-02 00:37:02.138 |     return self.token is not None and check_token_expiration(self.token)
  2013-08-02 00:37:02.138 |   File "/home/jenkins/workspace/gate-horizon-python26/.tox/py26/lib/python2.6/site-packages/openstack_auth/utils.py", line 55, in check_token_expiration
  2013-08-02 00:37:02.138 |     if settings.USE_TZ and timezone.is_naive(expiration):
  2013-08-02 00:37:02.139 |   File "/home/jenkins/workspace/gate-horizon-python26/.tox/py26/lib/python2.6/site-packages/django/utils/timezone.py", line 272, in is_naive
  2013-08-02 00:37:02.139 |     return value.tzinfo is None or value.tzinfo.utcoffset(value) is None
  2013-08-02 00:37:02.139 | AttributeError: 'str' object has no attribute 'tzinfo'

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