You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2017/12/06 12:13:15 UTC
Review Request 64374: Ambari Builds Are Failing With Python Test
Errors
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64374/
-----------------------------------------------------------
Review request for Ambari, Sid Wagle and Vitalyi Brodetskyi.
Bugs: AMBARI-22596
https://issues.apache.org/jira/browse/AMBARI-22596
Repository: ambari
Description
-------
Ambari builds have been failing for a long time:
<https://builds.apache.org/job/Ambari-branch-2.6>
Looks like some Python problems:
======================================================================
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
Diffs
-----
ambari-server/src/test/python/TestAmbariServer.py a53d274809
Diff: https://reviews.apache.org/r/64374/diff/1/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk
Re: Review Request 64374: Ambari Builds Are Failing With Python Test
Errors
Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/64374/#review192978
-----------------------------------------------------------
Ship it!
Ship It!
- Vitalyi Brodetskyi
On Гру. 6, 2017, 12:13 після полудня, Andrew Onischuk wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64374/
> -----------------------------------------------------------
>
> (Updated Гру. 6, 2017, 12:13 після полудня)
>
>
> Review request for Ambari, Sid Wagle and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-22596
> https://issues.apache.org/jira/browse/AMBARI-22596
>
>
> Repository: ambari
>
>
> Description
> -------
>
> Ambari builds have been failing for a long time:
> <https://builds.apache.org/job/Ambari-branch-2.6>
>
> Looks like some Python problems:
>
>
>
>
> ======================================================================
> 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
>
>
> Diffs
> -----
>
> ambari-server/src/test/python/TestAmbariServer.py a53d274809
>
>
> Diff: https://reviews.apache.org/r/64374/diff/1/
>
>
> Testing
> -------
>
> mvn clean test
>
>
> Thanks,
>
> Andrew Onischuk
>
>