You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/06/02 16:54:59 UTC

[jira] [Commented] (AMBARI-16998) Fix intermittent unit test failure in TestMpacks

    [ https://issues.apache.org/jira/browse/AMBARI-16998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312653#comment-15312653 ] 

Hadoop QA commented on AMBARI-16998:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12807642/AMBARI-16998.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 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/7142//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/7142//console

This message is automatically generated.

> Fix intermittent unit test failure in TestMpacks
> ------------------------------------------------
>
>                 Key: AMBARI-16998
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16998
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Jayush Luniya
>            Assignee: Jayush Luniya
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16998.patch
>
>
> {code}
> Running tests for ambari-server
> Traceback (most recent call last):
>   File "unitTests.py", line 298, in <module>
>     sys.exit(main())
>   File "unitTests.py", line 250, in main
> File ambari.properties not found in search path $AMBARI_CONF_DIR: /etc/ambari-server/conf
>     suites = [unittest.defaultTestLoader.loadTestsFromName(name) for name in modules]
>   File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
>     module = __import__('.'.join(parts_copy))
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/test/python/TestMpacks.py", line 21, in <module>
>     from ambari_server.setupMpacks import install_mpack, upgrade_mpack, replay_mpack_logs, purge_stacks_and_mpacks, \
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/setupMpacks.py", line 31, in <module>
>     from ambari_server.serverConfiguration import get_ambari_properties, get_ambari_version, get_stack_location, \
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 537, in <module>
>     configDefaults = ServerConfigDefaults()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 456, in __init__
>     super(ServerConfigDefaultsLinux, self).__init__()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 327, in __init__
>     properties = get_ambari_properties()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 225, in get_ambari_properties
>     conf_file = find_properties_file()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/serverConfiguration.py", line 218, in find_properties_file
>     raise FatalException(1, err)
> ambari_commons.exceptions.FatalException: 'Fatal exception: File ambari.properties not found in search path $AMBARI_CONF_DIR: /etc/ambari-server/conf, exit code 1'
> {code}



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