Horizon unit test jobs failing due to timezone change

Bug #1410825 reported by Svetlana Shturm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Vlad Okhrimenko
5.1.x
In Progress
High
Svetlana Shturm
6.0.x
Fix Released
High
Vlad Okhrimenko
6.1.x
Fix Released
High
Vlad Okhrimenko

Bug Description

Horizon unit test jobs failing due to timezone change (test_timezone_offset_is_displayed)
10:32:59 Traceback (most recent call last):
10:32:59 File "/home/jenkins/workspace/gate-horizon-python27/openstack_dashboard/dashboards/settings/user/tests.py", line 32, in test_timezone_offset_is_displayed
10:32:59 self.assertContains(res, "Europe/Moscow (UTC +04:00)")
10:32:59 File "/home/jenkins/workspace/gate-horizon-python27/.tox/py27/local/lib/python2.7/site-packages/django/test/testcases.py", line 351, in assertContains
10:32:59 msg_prefix + "Couldn't find %s in response" % text_repr)
10:32:59 AssertionError: False is not true : Couldn't find 'Europe/Moscow (UTC +04:00)' in response
10:32:59 u"False is not true : Couldn't find 'Europe/Moscow (UTC +04:00)' in response" = self._formatMessage(u"False is not true : Couldn't find 'Europe/Moscow (UTC +04:00)' in response", "%s is not true" % safe_repr(False))
10:32:59 >> raise self.failureException(u"False is not true : Couldn't find 'Europe/Moscow (UTC +04:00)' in response")

Upstream bug: https://bugs.launchpad.net/horizon/+bug/1407055

Tags: horizon
Revision history for this message
Svetlana Shturm (sshturm) wrote :
Changed in mos:
assignee: nobody → Svetlana Shturm (sshturm)
status: New → In Progress
Timur Sufiev (tsufiev-x)
description: updated
Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.1.2.mira7.git.44915b9.c9b0cb2

Changeset: https://review.fuel-infra.org/1888
project: openstack/horizon
branch: openstack-ci/fuel-5.1.2/2014.1.1
author: Shturm Svetlana
committer: Shturm Svetlana
subject: Removing Moscow's timezone check
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.1.3-fuel5.1.2.mira7.git.44915b9.c9b0cb2.noarch.rpm
openstack-dashboard-theme-2014.1.3-fuel5.1.2.mira7.git.44915b9.c9b0cb2.noarch.rpm
python-django-horizon-2014.1.3-fuel5.1.2.mira7.git.44915b9.c9b0cb2.noarch.rpm
python-django-horizon-doc-2014.1.3-fuel5.1.2.mira7.git.44915b9.c9b0cb2.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1.2-stable-1888/centos

Timur Sufiev (tsufiev-x)
Changed in mos:
importance: Undecided → High
Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.1.2~mira5+git.44915b9.c9b0cb2

Changeset: https://review.fuel-infra.org/1888
project: openstack/horizon
branch: openstack-ci/fuel-5.1.2/2014.1.1
author: Shturm Svetlana
committer: Shturm Svetlana
subject: Removing Moscow's timezone check
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.1.3-fuel5.1.2~mira5+git.44915b9.c9b0cb2_all.deb
openstack-dashboard_2014.1.3-fuel5.1.2~mira5+git.44915b9.c9b0cb2_all.deb
python-django-horizon_2014.1.3-fuel5.1.2~mira5+git.44915b9.c9b0cb2_all.deb
python-django-openstack_2014.1.3-fuel5.1.2~mira5+git.44915b9.c9b0cb2_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.2-stable-1888/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0.mira10.git.71dbbb6.19d5c57

Changeset: https://review.fuel-infra.org/2016
project: openstack/horizon
branch: openstack-ci/fuel-6.0/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Removing Moscow's timezone check
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.2-fuel6.0.mira10.git.71dbbb6.19d5c57.noarch.rpm
python-django-horizon-2014.2-fuel6.0.mira10.git.71dbbb6.19d5c57.noarch.rpm
python-django-horizon-doc-2014.2-fuel6.0.mira10.git.71dbbb6.19d5c57.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable-2016/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0~mira14+git.71dbbb6.19d5c57

Changeset: https://review.fuel-infra.org/2016
project: openstack/horizon
branch: openstack-ci/fuel-6.0/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Removing Moscow's timezone check
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.2-fuel6.0~mira14+git.71dbbb6.19d5c57_all.deb
openstack-dashboard_2014.2-fuel6.0~mira14+git.71dbbb6.19d5c57_all.deb
python-django-horizon_2014.2-fuel6.0~mira14+git.71dbbb6.19d5c57_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-2016/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.1.mira10.git.9b0f070.19d5c57

Changeset: https://review.fuel-infra.org/2017
project: openstack/horizon
branch: openstack-ci/fuel-6.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Removing Moscow's timezone check
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.2-fuel6.1.mira10.git.9b0f070.19d5c57.noarch.rpm
python-django-horizon-2014.2-fuel6.1.mira10.git.9b0f070.19d5c57.noarch.rpm
python-django-horizon-doc-2014.2-fuel6.1.mira10.git.9b0f070.19d5c57.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable-2017/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.1~mira14+git.9b0f070.19d5c57

Changeset: https://review.fuel-infra.org/2017
project: openstack/horizon
branch: openstack-ci/fuel-6.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Removing Moscow's timezone check
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.2-fuel6.1~mira14+git.9b0f070.19d5c57_all.deb
openstack-dashboard_2014.2-fuel6.1~mira14+git.9b0f070.19d5c57_all.deb
python-django-horizon_2014.2-fuel6.1~mira14+git.9b0f070.19d5c57_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.1-stable-2017/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0.1.mira10.git.fe1a94c.19d5c57

Changeset: https://review.fuel-infra.org/2018
project: openstack/horizon
branch: openstack-ci/fuel-6.0.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Removing Moscow's timezone check
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.2-fuel6.0.1.mira10.git.fe1a94c.19d5c57.noarch.rpm
python-django-horizon-2014.2-fuel6.0.1.mira10.git.fe1a94c.19d5c57.noarch.rpm
python-django-horizon-doc-2014.2-fuel6.0.1.mira10.git.fe1a94c.19d5c57.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0.1-stable-2018/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0.1~mira14+git.fe1a94c.19d5c57

Changeset: https://review.fuel-infra.org/2018
project: openstack/horizon
branch: openstack-ci/fuel-6.0.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Removing Moscow's timezone check
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.2-fuel6.0.1~mira14+git.fe1a94c.19d5c57_all.deb
openstack-dashboard_2014.2-fuel6.0.1~mira14+git.fe1a94c.19d5c57_all.deb
python-django-horizon_2014.2-fuel6.0.1~mira14+git.fe1a94c.19d5c57_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0.1-stable-2018/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.1.mira10

Changeset: https://review.fuel-infra.org/2017
project: openstack/horizon
branch: openstack-ci/fuel-6.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Removing Moscow's timezone check
status: change-merged

Files placed on repository:
openstack-dashboard-2014.2-fuel6.1.mira10.noarch.rpm
python-django-horizon-2014.2-fuel6.1.mira10.noarch.rpm
python-django-horizon-doc-2014.2-fuel6.1.mira10.noarch.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0.1.mira10

Changeset: https://review.fuel-infra.org/2018
project: openstack/horizon
branch: openstack-ci/fuel-6.0.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Removing Moscow's timezone check
status: change-merged

Files placed on repository:
openstack-dashboard-2014.2-fuel6.0.1.mira10.noarch.rpm
python-django-horizon-2014.2-fuel6.0.1.mira10.noarch.rpm
python-django-horizon-doc-2014.2-fuel6.0.1.mira10.noarch.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0.1-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.1~mira14

Changeset: https://review.fuel-infra.org/2017
project: openstack/horizon
branch: openstack-ci/fuel-6.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Removing Moscow's timezone check
status: change-merged

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.2-fuel6.1~mira14_all.deb
openstack-dashboard_2014.2-fuel6.1~mira14_all.deb
python-django-horizon_2014.2-fuel6.1~mira14_all.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.1-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0.1~mira14

Changeset: https://review.fuel-infra.org/2018
project: openstack/horizon
branch: openstack-ci/fuel-6.0.1/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Removing Moscow's timezone check
status: change-merged

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.2-fuel6.0.1~mira14_all.deb
openstack-dashboard_2014.2-fuel6.0.1~mira14_all.deb
python-django-horizon_2014.2-fuel6.0.1~mira14_all.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0.1-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.1.2.mira7

Changeset: https://review.fuel-infra.org/1888
project: openstack/horizon
branch: openstack-ci/fuel-5.1.2/2014.1.1
author: Shturm Svetlana
committer: Shturm Svetlana
subject: Removing Moscow's timezone check
status: change-merged

Files placed on repository:
openstack-dashboard-2014.1.3-fuel5.1.2.mira7.noarch.rpm
openstack-dashboard-theme-2014.1.3-fuel5.1.2.mira7.noarch.rpm
python-django-horizon-2014.1.3-fuel5.1.2.mira7.noarch.rpm
python-django-horizon-doc-2014.1.3-fuel5.1.2.mira7.noarch.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1.2-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.1.3, package release == fuel5.1.2~mira5

Changeset: https://review.fuel-infra.org/1888
project: openstack/horizon
branch: openstack-ci/fuel-5.1.2/2014.1.1
author: Shturm Svetlana
committer: Shturm Svetlana
subject: Removing Moscow's timezone check
status: change-merged

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.1.3-fuel5.1.2~mira5_all.deb
openstack-dashboard_2014.1.3-fuel5.1.2~mira5_all.deb
python-django-horizon_2014.1.3-fuel5.1.2~mira5_all.deb
python-django-openstack_2014.1.3-fuel5.1.2~mira5_all.deb

Changeset merged. Package placed on primary repository
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.2-stable/ubuntu

Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Result is :

$ ./run_tests.sh openstack_dashboard.dashboards.settings.user.tests.py
Checking environment.
Environment is up to date.
nosetests openstack_dashboard.dashboards.settings.user.tests.py --nocapture --nologcapture --cover-package=openstack_dashboard --cover-inclusive --all-modules --exclude-dir=openstack_dashboard/test/integration_tests --verbosity=1
Creating test database for alias 'default'...
..
----------------------------------------------------------------------
Ran 2 tests in 0.740s

OK

Revision history for this message
Vlad Okhrimenko (vokhrimenko) wrote :

on verification

Revision history for this message
Vlad Okhrimenko (vokhrimenko) wrote :

Checked. No problems found

Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Same tests currently passed too:
$ ./run_tests.sh openstack_dashboard.dashboards.settings.user.tests.py
Checking environment.
Environment is up to date.
nosetests openstack_dashboard.dashboards.settings.user.tests.py --nocapture --nologcapture --cover-package=openstack_dashboard --cover-inclusive --all-modules --exclude-dir=openstack_dashboard/test/integration_tests --verbosity=1
Creating test database for alias 'default'...
..
----------------------------------------------------------------------
Ran 2 tests in 0.824s

OK

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Vlad Okhrimenko <email address hidden>
Review: https://review.fuel-infra.org/8144

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/horizon (openstack-ci/fuel-7.0/2015.1.0)

Change abandoned by Timur Sufiev <email address hidden> on branch: openstack-ci/fuel-7.0/2015.1.0
Review: https://review.fuel-infra.org/8144
Reason: According to https://docs.google.com/spreadsheets/d/1vF4Iah_ZfE69z2y-qP2cNxQ23Vzag2pknex4xzlRJBM/edit#gid=74888541

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.