You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2017/10/20 09:40:04 UTC

[jira] [Created] (AMBARI-22276) Ambari trunk builds failing in TestAmbariServer

Dmytro Sen created AMBARI-22276:
-----------------------------------

             Summary: Ambari trunk builds failing in TestAmbariServer
                 Key: AMBARI-22276
                 URL: https://issues.apache.org/jira/browse/AMBARI-22276
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 3.0.0
            Reporter: Dmytro Sen
            Assignee: Dmytro Sen
            Priority: Critical
             Fix For: 3.0.0


Ambari trunk build jobs on worker node H1 are consistently failing due to the following 2 errors.  Builds on other nodes are either successful or have other issues, but not these two.

{noformat}
FAILED (errors=2)
----------------------------------------------------------------------
Failed tests:
ERROR: test_check_database_name_property (TestAmbariServer.TestAmbariServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
    return func(*args, **keywargs)
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestAmbariServer.py", line 8005, 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

ERROR: test_main_with_preset_dbms (TestAmbariServer.TestAmbariServer)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
    return func(*args, **keywargs)
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestAmbariServer.py", line 486, in test_main_with_preset_dbms
    _ambari_server_.mainBody()
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari-server.py", line 984, in mainBody
    main(options, args, parser)
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari-server.py", line 950, in main
    sys.exit(e.code)
SystemExit: 1

----------------------------------------------------------------------
Total run:1204
Total errors:2
Total failures:0
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)