Steps to reproduce.
Sahara and sahara-dashboard already installed.
Configure settings for UI tests.
Start UI tests.
Expected result: HDP tests pass
Actual result:
Tests fails
----------------------------------------------------------
logs:
======================================================================
FAIL: cluster_template_tests.test_create_cluster_template.UICreateClusterTemplate.test_create_cluster_template_for_hdp
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-ui-tests/saharadashboard/tests/cluster_template_tests/test_create_cluster_template.py", line 63, in test_create_cluster_template_for_hdp
"NAGIOS_SERVER", "AMBARI_SERVER", "AMBARI_AGENT"], cfg.hdp)
File "saharadashboard/tests/base.py", line 104, in create_node_group_template
number_pr = self.search_id_processes(process, plugin)
File "saharadashboard/tests/base.py", line 734, in search_id_processes
return plugin.processes[process]
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2226, in __getattr__
return self._conf._get(name, self._group)
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1964, in _get
value = self._do_get(name, group, namespace)
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2019, in _do_get
return convert(opt.default)
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1995, in convert
return self._convert_value(self._substitute(value, namespace), opt)
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2061, in _convert_value
return opt.type(value)
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/types.py", line 208, in __call__
s = value.strip()
AttributeError: 'dict' object has no attribute 'strip'
======================================================================
FAIL: node_group_template_tests.test_create_node_group_template.UICreateNodeGroupTemplate.test_create_node_group_template_hdp
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/workspace/gate-ui-tests/saharadashboard/tests/node_group_template_tests/test_create_node_group_template.py", line 58, in test_create_node_group_template_hdp
description='selenium-test')
File "saharadashboard/tests/base.py", line 104, in create_node_group_template
number_pr = self.search_id_processes(process, plugin)
File "saharadashboard/tests/base.py", line 734, in search_id_processes
return plugin.processes[process]
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2226, in __getattr__
return self._conf._get(name, self._group)
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1964, in _get
value = self._do_get(name, group, namespace)
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2019, in _do_get
return convert(opt.default)
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 1995, in convert
return self._convert_value(self._substitute(value, namespace), opt)
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/cfg.py", line 2061, in _convert_value
return opt.type(value)
File "/home/jenkins/workspace/gate-ui-tests/.tox/uitests/local/lib/python2.7/site-packages/oslo/config/types.py", line 208, in __call__
s = value.strip()
AttributeError: 'dict' object has no attribute 'strip'
======================================================================
Reviewed: https:/ /review. openstack. org/86026 /git.openstack. org/cgit/ openstack/ sahara- dashboard/ commit/ ?id=6daceadbe4f 9c291b29eb1dc71 b97a36f9e74154
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6daceadbe4f9c29 1b29eb1dc71b97a 36f9e74154
Author: Vadim Rovachev <email address hidden>
Date: Tue Apr 8 15:31:34 2014 +0400
Update dicts with plugin services
Added new values to plugin services
and change value type for "processes" variable
Change-Id: I530ffc681272ca 3ece37718f7c870 2d4f0f3ccb5
Closes-bug: 1304398