[
https://issues.apache.org/jira/browse/AMBARI-22596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16280143#comment-16280143
]
Hadoop QA commented on AMBARI-22596:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12900854/AMBARI-22596.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 1 new
or modified test files.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
ambari-server.
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/12803//console
This message is automatically generated.
> Ambari Builds Are Failing With Python Test Errors
> -------------------------------------------------
>
> Key: AMBARI-22596
> URL: https://issues.apache.org/jira/browse/AMBARI-22596
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 2.6.1
> Reporter: Jonathan Hurley
> Priority: Blocker
> Fix For: 2.6.1
>
> Attachments: AMBARI-22596.patch
>
>
> Ambari builds have been failing for a long time:
> https://builds.apache.org/job/Ambari-branch-2.6
> Looks like some Python problems:
> {code}
> ======================================================================
> ERROR: test_check_database_name_property (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.6/ambari-common/src/test/python/mock/mock.py",
> line 1199, in patched
> return func(*args, **keywargs)
> File
> "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.6/ambari-server/src/test/python/TestAmbariServer.py",
> line 7997, in test_check_database_name_property
> args = parser.parse_args()
> File "/usr/lib/python2.7/optparse.py", line 1402, in parse_args
> self.error(str(err))
> File "/usr/lib/python2.7/optparse.py", line 1584, in error
> self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
> File "/usr/lib/python2.7/optparse.py", line 1574, in exit
> sys.exit(status)
> SystemExit: 2
> ----------------------------------------------------------------------
> Ran 276 tests in 7.423s
> FAILED (errors=1)
> ----------------------------------------------------------------------
> Failed tests:
> ERROR: test_check_database_name_property (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.6/ambari-common/src/test/python/mock/mock.py",
> line 1199, in patched
> return func(*args, **keywargs)
> File
> "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.6/ambari-server/src/test/python/TestAmbariServer.py",
> line 7997, in test_check_database_name_property
> args = parser.parse_args()
> File "/usr/lib/python2.7/optparse.py", line 1402, in parse_args
> self.error(str(err))
> File "/usr/lib/python2.7/optparse.py", line 1584, in error
> self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
> File "/usr/lib/python2.7/optparse.py", line 1574, in exit
> sys.exit(status)
> SystemExit: 2
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)