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 DF79ECC2C for ; Fri, 9 Jan 2015 15:19:33 +0000 (UTC) Received: (qmail 34130 invoked by uid 500); 9 Jan 2015 15:19:35 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 34096 invoked by uid 500); 9 Jan 2015 15:19:35 -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 34084 invoked by uid 99); 9 Jan 2015 15:19:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 15:19:34 +0000 Date: Fri, 9 Jan 2015 15:19:34 +0000 (UTC) From: "Jonathan Hurley (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-9063) Ambari Builds Succeed With Python Unit Test Failures MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jonathan Hurley created AMBARI-9063: --------------------------------------- Summary: Ambari Builds Succeed With Python Unit Test Failures Key: AMBARI-9063 URL: https://issues.apache.org/jira/browse/AMBARI-9063 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 2.0.0 Reporter: Jonathan Hurley Priority: Blocker Fix For: 2.0.0 The Ambari builds are succeeding locally and on builds.apache.org even though the trunk currently has failures on python tests. See https://builds.apache.org/view/All/job/Ambari-trunk-Commit/1441/consoleFull And search for "Total run:570" It looks like the root cause of this is that the python test running is reporting an OK with failures: {noformat} $ python unitTests.py ... ---------------------------------------------------------------------- Total run:569 Total errors:0 Total failures:4 OK {noformat} The problem is that the python test running is reporting a success: {code} tests_status = textRunner.wasSuccessful() and not has_failures {code} {code} print textRunner.wasSuccessful() true print has_failures false {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)