ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-4400) unit test failures in ambari-server
Date Thu, 23 Jan 2014 17:30:37 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk updated AMBARI-4400:
------------------------------------

    Attachment: AMBARI-4400.patch

> unit test failures in ambari-server
> -----------------------------------
>
>                 Key: AMBARI-4400
>                 URL: https://issues.apache.org/jira/browse/AMBARI-4400
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-4400.patch
>
>
> This is run on a mac through the command - "mvn clean package". Do I need some setup on the mac to run these tests?
> {noformat}
> Ran 173 tests in 0.684s
> OK
> ----------------------------------------------------------------------
> Failed tests:
> ERROR: test_configure_default (test_hbase_client.TestHBaseClient)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_client.py", line 75, in test_configure_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_client.py", line 33, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_secured (test_hbase_client.TestHBaseClient)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_client.py", line 29, in test_configure_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_client.py", line 33, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_default (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_master.py", line 28, in test_configure_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_master.py", line 34, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_secured (test_hbase_master.TestHBaseMaster)
> -------------------AMBARI_CONF_DIR is not set, using default /etc/ambari-server/conf
> log
> Log not found
> log
> ---------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_master.py", line 65, in test_configure_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_master.py", line 34, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_start_default (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_master.py", line 38, in test_start_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_master.py", line 40, in start
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_start_secured (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_master.py", line 75, in test_start_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_master.py", line 40, in start
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_stop_default (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_master.py", line 52, in test_stop_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_master.py", line 49, in stop
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_stop_secured (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_master.py", line 89, in test_stop_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_master.py", line 49, in stop
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_default (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_regionserver.py", line 28, in test_configure_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_regionserver.py", line 34, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_secured (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_regionserver.py", line 65, in test_configure_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_regionserver.py", line 34, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_start_default (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_regionserver.py", line 38, in test_start_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_regionserver.py", line 40, in start
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_start_secured (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_regionserver.py", line 75, in test_start_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_regionserver.py", line 40, in start
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_stop_default (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_regionserver.py", line 52, in test_stop_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_regionserver.py", line 49, in stop
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_stop_secured (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/HBASE/test_hbase_regionserver.py", line 89, in test_stop_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/hbase_regionserver.py", line 49, in stop
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.3/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_default (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_master.py", line 28, in test_configure_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_master.py", line 34, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_secured (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_master.py", line 65, in test_configure_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_master.py", line 34, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_start_default (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_master.py", line 38, in test_start_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_master.py", line 40, in start
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_start_secured (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_master.py", line 75, in test_start_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_master.py", line 40, in start
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_stop_default (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_master.py", line 52, in test_stop_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_master.py", line 49, in stop
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_stop_secured (test_hbase_master.TestHBaseMaster)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_master.py", line 89, in test_stop_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_master.py", line 49, in stop
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_default (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_regionserver.py", line 28, in test_configure_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_regionserver.py", line 34, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_secured (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_regionserver.py", line 65, in test_configure_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_regionserver.py", line 34, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_start_default (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_regionserver.py", line 38, in test_start_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_regionserver.py", line 40, in start
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_start_secured (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_regionserver.py", line 75, in test_start_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_regionserver.py", line 40, in start
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_stop_default (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_regionserver.py", line 52, in test_stop_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_regionserver.py", line 49, in stop
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_stop_secured (test_hbase_regionserver.TestHbaseRegionServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_regionserver.py", line 89, in test_stop_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_regionserver.py", line 49, in stop
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_default (test_hbase_client.TestHBaseClient)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_client.py", line 75, in test_configure_default
>     config_file="default.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_client.py", line 33, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> ERROR: test_configure_secured (test_hbase_client.TestHBaseClient)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/HBASE/test_hbase_client.py", line 29, in test_configure_secured
>     config_file="secured.json"
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 70, in executeScript
>     method(RMFTestCase.env)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/hbase_client.py", line 33, in configure
>     import params
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.1.1/services/HBASE/package/scripts/params.py", line 62, in <module>
>     service_check_data = get_unique_id_and_date()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py", line 28, in get_unique_id_and_date
>     code, out = checked_call("hostid")
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 34, in checked_call
>     return _call(command, logoutput, True, cwd, env, preexec_fn, user)
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/resource_management/core/shell.py", line 74, in _call
>     raise Fail(err_msg)
> Fail: Execution of 'hostid' returned 127. /Users/smohanty/.bash_profile: line 2: .bashrc: No such file or directory
> /bin/bash: hostid: command not found
> FAIL: test_start_secured (test_webhcat_server.TestWebHCatServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/WEBHCAT/test_webhcat_server.py", line 78, in test_start_secured
>     self.assert_configure_secured()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/1.3.3/WEBHCAT/test_webhcat_server.py", line 172, in assert_configure_secured
>     user = 'hcat',
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 108, in assertResourceCalled
>     self.assertEquals(name, resource.name)
> AssertionError: ' -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa;' != u'/usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa;'
> FAIL: test_start_secured (test_webhcat_server.TestWebHCatServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/WEBHCAT/test_webhcat_server.py", line 78, in test_start_secured
>     self.assert_configure_secured()
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/2.1.1/WEBHCAT/test_webhcat_server.py", line 172, in assert_configure_secured
>     user = 'hcat',
>   File "/Users/smohanty/enlistments/asf-ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 108, in assertResourceCalled
>     self.assertEquals(name, resource.name)
> AssertionError: ' -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa;' != u'/usr/bin/kinit -kt /etc/security/keytabs/smokeuser.headless.keytab ambari-qa;'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message