You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jonathan Hurley (JIRA)" <ji...@apache.org> on 2015/01/09 16:19:34 UTC

[jira] [Created] (AMBARI-9063) Ambari Builds Succeed With Python Unit Test Failures

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)