You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2015/03/20 02:34:38 UTC

[jira] [Updated] (AMBARI-10148) Unit test failure in test_daemonize_and_stop

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

Jayush Luniya updated AMBARI-10148:
-----------------------------------
    Priority: Blocker  (was: Major)

> 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: Jonathan Hurley
>            Priority: Blocker
>             Fix For: 2.1.0
>
>
> ======================================================================
> 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)