You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2015/11/23 16:33:30 UTC

Review Request 40601: test_pre_upgrade_restart_ims fails on https://builds.apache.org

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40601/
-----------------------------------------------------------

Review request for Ambari and Andrew Onischuk.


Bugs: AMBARI-14018
    https://issues.apache.org/jira/browse/AMBARI-14018


Repository: ambari


Description
-------

https://builds.apache.org/job/Ambari-trunk-Commit/3887/console
{code}
----------------------------------------------------------------------
Failed tests:
ERROR: test_pre_upgrade_restart_ims (test_hive_metastore.TestHiveMetastore)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py", line 563, in test_pre_upgrade_restart_ims
mocks_dict = mocks_dict)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 145, in executeScript
method(RMFTestCase.env, *command_args)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 115, in pre_upgrade_restart
conf_select.select(params.stack_name, "hive", params.version)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py", line 238, in select
create(stack_name, package, version)
File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py", line 206, in create
code, stdout, stderr = shell.call(get_cmd(command, package, version), logoutput=False, quiet=False, sudo=True, stderr = subprocess.PIPE)
ValueError: need more than 2 values to unpack

----------------------------------------------------------------------
{code}


Diffs
-----

  ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py 42f9344 

Diff: https://reviews.apache.org/r/40601/diff/


Testing
-------

mvn clean test


Thanks,

Dmitro Lisnichenko


Re: Review Request 40601: test_pre_upgrade_restart_ims fails on https://builds.apache.org

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40601/#review107601
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On Nov. 23, 2015, 3:33 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40601/
> -----------------------------------------------------------
> 
> (Updated Nov. 23, 2015, 3:33 p.m.)
> 
> 
> Review request for Ambari and Andrew Onischuk.
> 
> 
> Bugs: AMBARI-14018
>     https://issues.apache.org/jira/browse/AMBARI-14018
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> https://builds.apache.org/job/Ambari-trunk-Commit/3887/console
> {code}
> ----------------------------------------------------------------------
> Failed tests:
> ERROR: test_pre_upgrade_restart_ims (test_hive_metastore.TestHiveMetastore)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
> return func(*args, **keywargs)
> File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py", line 563, in test_pre_upgrade_restart_ims
> mocks_dict = mocks_dict)
> File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 145, in executeScript
> method(RMFTestCase.env, *command_args)
> File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/stacks/utils/../../../../main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_metastore.py", line 115, in pre_upgrade_restart
> conf_select.select(params.stack_name, "hive", params.version)
> File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py", line 238, in select
> create(stack_name, package, version)
> File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/main/python/resource_management/libraries/functions/conf_select.py", line 206, in create
> code, stdout, stderr = shell.call(get_cmd(command, package, version), logoutput=False, quiet=False, sudo=True, stderr = subprocess.PIPE)
> ValueError: need more than 2 values to unpack
> 
> ----------------------------------------------------------------------
> {code}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py 42f9344 
> 
> Diff: https://reviews.apache.org/r/40601/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>