ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9063) Ambari Builds Succeed With Python Unit Test Failures
Date Fri, 09 Jan 2015 18:40:34 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271671#comment-14271671
] 

Hudson commented on AMBARI-9063:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1445 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1445/])
AMBARI-9063 - Ambari Builds Succeed With Python Unit Test Failures (jonathanhurley) (jhurley:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=11763dca2e62b310ff97eb8cd03bd0ff89221663)
* ambari-server/src/test/python/unitTests.py
* ambari-server/src/test/python/custom_actions/TestInstallPackages.py
* ambari-server/src/test/python/custom_actions/TestCheckHost.py


> 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
>            Assignee: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9063.patch
>
>
> 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 runner 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 runner 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)

Mime
View raw message