ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-16276) Ambari build sometime fails on hudson (Python test issue)
Date Tue, 10 May 2016 13:18:13 GMT

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

Hudson commented on AMBARI-16276:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4814 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4814/])
AMBARI-16276. Ambari build sometime fails on hudson (Python test (vbrodetskyi: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c77b2c6a6296fd1fc71decd89dc762164a98e65e])
* ambari-server/src/main/python/ambari_server/ambariPath.py


> Ambari build sometime fails on hudson (Python test issue)
> ---------------------------------------------------------
>
>                 Key: AMBARI-16276
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16276
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16276.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
>     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 42, in <module>
>     from ambari_server.ambariPath import AmbariPath
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/ambariPath.py",
line 28, in <module>
>     class AmbariPath():
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-server/src/main/python/ambari_server/ambariPath.py",
line 29, in AmbariPath
>     root_directory = os.environ[AMBARI_SERVER_ROOT_ENV_VARIABLE]
>   File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__
>     raise KeyError(key)
> KeyError: 'ROOT'
> {code}



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

Mime
View raw message