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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14372016#comment-14372016 ] 

Hadoop QA commented on AMBARI-10148:
------------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12706020/AMBARI-10148.0.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 .

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

This message is automatically generated.

> 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)