Vitaly Brodetskyi created AMBARI-4274:
-----------------------------------------

             Summary: ambari-agent unit test failures
                 Key: AMBARI-4274
                 URL: https://issues.apache.org/jira/browse/AMBARI-4274
             Project: Ambari
          Issue Type: Task
          Components: agent
            Reporter: Vitaly Brodetskyi
            Assignee: Vitaly Brodetskyi
         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)

Reply via email to