Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A004510493 for ; Mon, 13 Jan 2014 15:48:35 +0000 (UTC) Received: (qmail 83922 invoked by uid 500); 13 Jan 2014 14:47:02 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 81004 invoked by uid 500); 13 Jan 2014 14:37:39 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 76602 invoked by uid 99); 13 Jan 2014 14:29:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jan 2014 14:29:07 +0000 Date: Mon, 13 Jan 2014 14:29:07 +0000 (UTC) From: "Vitaly Brodetskyi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-4274) ambari-agent unit test failures MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)