ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-9342) Unittest fail with python 2.6
Date Mon, 02 Feb 2015 22:54:37 GMT

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

Hudson commented on AMBARI-9342:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit-docker #841 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/841/])
AMBARI-9342 Unit tests fail with python 2.6 (fbarca: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=b624ce91476ebe227d4608c756d3fb56ebad390f)
* ambari-server/src/test/python/TestAmbariServer.py


> Unittest fail with python 2.6
> -----------------------------
>
>                 Key: AMBARI-9342
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9342
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>         Environment: Python 2.6
> Centos 6
>            Reporter: Florian Barca
>            Assignee: Florian Barca
>              Labels: WinRefactor
>             Fix For: 2.0.0
>
>
> Failed tests:
> ERROR: test_main_test_stop (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in
patched
>     return func(*args, **keywargs)
>   File "/home/user/ambari/ambari-server/src/test/python/TestAmbariServer.py", line 541,
in test_main_test_stop
>     self.assertIsNone(options.exit_message)
> AttributeError: 'TestAmbariServer' object has no attribute 'assertIsNone'
> ERROR: test_start (TestAmbariServer.TestAmbariServer)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in
patched
>     return func(*args, **keywargs)
>   File "/home/user/ambari/ambari-server/src/test/python/TestAmbariServer.py", line 3312,
in test_start
>     _ambari_server_.start(args)
>   File "/home/user/ambari/ambari-common/src/main/python/ambari_commons/os_family_impl.py",
line 89, in thunk
>     return fn(*args, **kwargs)
>   File "/home/user/ambari/ambari-server/src/main/python/ambari-server.py", line 114,
in start
>     server_process_main(args)
>   File "/home/user/ambari/ambari-server/src/main/python/ambari_server_main.py", line
348, in server_process_main
>     raise FatalException(-1, AMBARI_SERVER_DIE_MSG.format(exitcode, configDefaults.SERVER_OUT_FILE))
> FatalException: "Fatal exception: Ambari Server java process died with exitcode <MagicMock
name='Popen().returncode' id='39415248'>. Check /var/log/ambari-server/ambari-server.out
for more information., exit code -1"



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

Mime
View raw message