ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-4274) ambari-agent unit test failures
Date Mon, 13 Jan 2014 14:29:11 GMT

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

Vitaly Brodetskyi updated AMBARI-4274:
--------------------------------------

    Affects Version/s: 1.5.0

> 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)

Mime
View raw message