[UI][IT] Integration tests for sahara-dashboard not working with HDP plugin

Bug #1304398 reported by Vadim Rovachev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Vadim Rovachev

Bug Description

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'
======================================================================

Tags: dashboard
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara-dashboard (master)

Reviewed: https://review.openstack.org/86026
Committed: https://git.openstack.org/cgit/openstack/sahara-dashboard/commit/?id=6daceadbe4f9c291b29eb1dc71b97a36f9e74154
Submitter: Jenkins
Branch: master

commit 6daceadbe4f9c291b29eb1dc71b97a36f9e74154
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: I530ffc681272ca3ece37718f7c8702d4f0f3ccb5
    Closes-bug: 1304398

Changed in sahara:
status: New → Fix Committed
Chad Roberts (croberts)
Changed in sahara:
importance: Undecided → High
Changed in sahara:
assignee: nobody → Vadim Rovachev (vrovachev)
milestone: none → juno-1
importance: High → Medium
Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: juno-1 → 2014.2
Luigi Toscano (ltoscano)
tags: added: dashboard
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.