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-10148) Unit test failure in test_daemonize_and_stop
Date Fri, 20 Mar 2015 23:06:38 GMT

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

Hudson commented on AMBARI-10148:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #2087 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2087/])
AMBARI-10148 Unit test failure in test_daemonize_and_stop (fbarca: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2bb070b6d67764fec7e142f71a5ad35a15bf044d)
* ambari-agent/src/test/python/ambari_agent/TestMain.py
* ambari-agent/src/main/python/ambari_agent/main.py


> Unit test failure in test_daemonize_and_stop
> --------------------------------------------
>
>                 Key: AMBARI-10148
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10148
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.1.0
>            Reporter: Jayush Luniya
>            Assignee: Florian Barca
>            Priority: Blocker
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10148.0.patch
>
>
> ======================================================================
> FAIL: test_daemonize_and_stop (TestMain.TestMain)
> ----------------------------------------------------------------------
> 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-agent/src/test/python/ambari_agent/TestMain.py",
line 222, in test_daemonize_and_stop
>     kill_mock.assert_called_with(['ambari-sudo.sh', 'kill', '-15', pid])
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py",
line 829, in assert_called_with
>     raise AssertionError('Expected call: %s\nNot called' % (expected,))
> AssertionError: Expected call: run(['ambari-sudo.sh', 'kill', '-15', '16510'])
> Not called
> ----------------------------------------------------------------------



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

Mime
View raw message