yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65679
[Bug 1702889] [NEW] designate-dashboard UT failure due to KeyError in HORIZON_CONFIG['plugins']
Public bug reported:
designate-dashboard UT failure
http://logs.openstack.org/82/480782/1/check/gate-designate-dashboard-
python27-ubuntu-xenial/e83a6de/console.html#_2017-07-06_01_38_23_540405
It seems we cannot assume 'plugins' always exists in HORIZON_CONFIG.
2017-07-06 01:38:23.540524 | Traceback (most recent call last):
2017-07-06 01:38:23.540609 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/designatedashboard/tests/test_designatedashboard.py", line 147, in setUp
2017-07-06 01:38:23.540642 | super(AAAARecordFormTests, self).setUp()
2017-07-06 01:38:23.540687 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/designatedashboard/tests/base.py", line 74, in setUp
2017-07-06 01:38:23.540712 | super(BaseRecordFormCleanTests, self).setUp()
2017-07-06 01:38:23.540768 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/openstack_dashboard/test/helpers.py", line 193, in setUp
2017-07-06 01:38:23.540788 | super(TestCase, self).setUp()
2017-07-06 01:38:23.540841 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/horizon/test/helpers.py", line 128, in setUp
2017-07-06 01:38:23.540871 | self._setup_test_data()
2017-07-06 01:38:23.540931 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/openstack_dashboard/test/helpers.py", line 200, in _setup_test_data
2017-07-06 01:38:23.540959 | 'JS_CATALOG': context_processors.get_js_catalog(settings),
2017-07-06 01:38:23.541029 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/openstack_dashboard/context_processors.py", line 110, in get_js_catalog
2017-07-06 01:38:23.541057 | all_plugins = conf.HORIZON_CONFIG['plugins']
2017-07-06 01:38:23.541073 | KeyError: 'plugins'
** Affects: horizon
Importance: Critical
Assignee: Akihiro Motoki (amotoki)
Status: In Progress
--
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/1702889
Title:
designate-dashboard UT failure due to KeyError in
HORIZON_CONFIG['plugins']
Status in OpenStack Dashboard (Horizon):
In Progress
Bug description:
designate-dashboard UT failure
http://logs.openstack.org/82/480782/1/check/gate-designate-dashboard-
python27-ubuntu-
xenial/e83a6de/console.html#_2017-07-06_01_38_23_540405
It seems we cannot assume 'plugins' always exists in HORIZON_CONFIG.
2017-07-06 01:38:23.540524 | Traceback (most recent call last):
2017-07-06 01:38:23.540609 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/designatedashboard/tests/test_designatedashboard.py", line 147, in setUp
2017-07-06 01:38:23.540642 | super(AAAARecordFormTests, self).setUp()
2017-07-06 01:38:23.540687 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/designatedashboard/tests/base.py", line 74, in setUp
2017-07-06 01:38:23.540712 | super(BaseRecordFormCleanTests, self).setUp()
2017-07-06 01:38:23.540768 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/openstack_dashboard/test/helpers.py", line 193, in setUp
2017-07-06 01:38:23.540788 | super(TestCase, self).setUp()
2017-07-06 01:38:23.540841 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/horizon/test/helpers.py", line 128, in setUp
2017-07-06 01:38:23.540871 | self._setup_test_data()
2017-07-06 01:38:23.540931 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/openstack_dashboard/test/helpers.py", line 200, in _setup_test_data
2017-07-06 01:38:23.540959 | 'JS_CATALOG': context_processors.get_js_catalog(settings),
2017-07-06 01:38:23.541029 | File "/home/jenkins/workspace/gate-designate-dashboard-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/openstack_dashboard/context_processors.py", line 110, in get_js_catalog
2017-07-06 01:38:23.541057 | all_plugins = conf.HORIZON_CONFIG['plugins']
2017-07-06 01:38:23.541073 | KeyError: 'plugins'
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1702889/+subscriptions
Follow ups