You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Vitaly Brodetskyi (JIRA)" <ji...@apache.org> on 2014/01/13 15:29:07 UTC
[jira] [Commented] (AMBARI-4274) ambari-agent unit test failures
[ https://issues.apache.org/jira/browse/AMBARI-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13869576#comment-13869576 ]
Vitaly Brodetskyi commented on AMBARI-4274:
-------------------------------------------
Patch attached.
> ambari-agent unit test failures
> -------------------------------
>
> Key: AMBARI-4274
> URL: https://issues.apache.org/jira/browse/AMBARI-4274
> Project: Ambari
> Issue Type: Task
> Components: agent
> Affects Versions: 1.5.0
> Reporter: Vitaly Brodetskyi
> Assignee: Vitaly Brodetskyi
> Fix For: 1.5.0
>
> Attachments: AMBARI-4274.patch
>
>
> {noformat}
> ======================================================================
> FAIL: test_overwrite_repos (TestPuppetExecutor.TestPuppetExecutor)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Users/smohanty/enlistments/asf-ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
> return func(*args, **keywargs)
> File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/test/python/ambari_agent/TestPuppetExecutor.py", line 142, in test_overwrite_repos
> self.assertTrue(puppetInstance.reposInstalled)
> AssertionError
> ======================================================================
> FAIL: test_run_command (TestPuppetExecutor.TestPuppetExecutor)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/Users/smohanty/enlistments/asf-ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
> return func(*args, **keywargs)
> File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/test/python/ambari_agent/TestPuppetExecutor.py", line 107, in test_run_command
> self.assertEquals(res["stderr"], errMsg)
> AssertionError: 'Cannot access JDK! Make sure java_home is specified in global config' != 'Cannot access JDK! Make sure you have permission to execute /usr/jdk/jdk123/bin/java'
> ----------------------------------------------------------------------
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)