ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-18457) Fix ambari-server python test TestAmbariServer.py
Date Fri, 23 Sep 2016 12:52:20 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-18457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vitaly Brodetskyi updated AMBARI-18457:
---------------------------------------
    Attachment: AMBARI-18457.patch

> Fix ambari-server python test TestAmbariServer.py
> -------------------------------------------------
>
>                 Key: AMBARI-18457
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18457
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server, test
>    Affects Versions: 2.5.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18457.patch
>
>
> Here are tests which fails:
> {code}
> ======================================================================
> ERROR: test_fix_database_options_called (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 505, in test_fix_database_options_called
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ======================================================================
> ERROR: test_main_test_backup (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 663, in test_main_test_backup
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ======================================================================
> ERROR: test_main_test_reset (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 795, in test_main_test_reset
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ======================================================================
> ERROR: test_main_test_restore (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 698, in test_main_test_restore
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ======================================================================
> ERROR: test_main_test_setup (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 418, in test_main_test_setup
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ======================================================================
> ERROR: test_main_test_setup_security (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 320, in test_main_test_setup_security
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ======================================================================
> ERROR: test_main_test_start (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 530, in test_main_test_start
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ======================================================================
> ERROR: test_main_test_status_not_running (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 8565, in test_main_test_status_not_running
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ======================================================================
> ERROR: test_main_test_status_running (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 8536, in test_main_test_status_running
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ======================================================================
> ERROR: test_main_with_preset_dbms (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 485, in test_main_with_preset_dbms
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ----------------------------------------------------------------------
> Ran 262 tests in 6.909s
> FAILED (errors=10)
> ----------------------------------------------------------------------
> Failed tests:
> ERROR: test_fix_database_options_called (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 505, in test_fix_database_options_called
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ERROR: test_main_test_backup (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 663, in test_main_test_backup
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ERROR: test_main_test_reset (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 795, in test_main_test_reset
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ERROR: test_main_test_restore (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 698, in test_main_test_restore
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ERROR: test_main_test_setup (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 418, in test_main_test_setup
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ERROR: test_main_test_setup_security (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 320, in test_main_test_setup_security
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ERROR: test_main_test_start (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 530, in test_main_test_start
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ERROR: test_main_test_status_not_running (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 8565, in test_main_test_status_not_running
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ERROR: test_main_test_status_running (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 8536, in test_main_test_status_running
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ERROR: test_main_with_preset_dbms (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/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.5/ambari-server/src/test/python/TestAmbariServer.py",
line 485, in test_main_with_preset_dbms
>     _ambari_server_.mainBody()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 786, in mainBody
>     main(options, args, parser)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari-server.py",
line 670, in main
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 229, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.5/ambari-server/src/main/python/ambari_server/serverConfiguration.py",
line 222, in find_properties_file
>     raise FatalException(1, err)
> FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR:
/etc/ambari-server/conf, exit code 1'
> ----------------------------------------------------------------------
> Total run:1115
> Total errors:10
> Total failures:0
> ERROR
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message