You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2017/11/13 11:17:00 UTC

[jira] [Reopened] (AMBARI-22398) Upstart is not able to stop the ambari-agent

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

Doroszlai, Attila reopened AMBARI-22398:
----------------------------------------

Hi [~aonishuk], can you please adjust the unit test, too?

{noformat}
FAIL: test_main (TestAmbariAgent.TestAmbariAgent)
----------------------------------------------------------------------
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/TestAmbariAgent.py", line 52, in test_main
    self.assertTrue(os_setpgrp_mock.called)
AssertionError: False is not true
{noformat}

> Upstart is not able to stop the ambari-agent
> --------------------------------------------
>
>                 Key: AMBARI-22398
>                 URL: https://issues.apache.org/jira/browse/AMBARI-22398
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-22398.patch
>
>
> While starting ambari-agent using "service ambari-agent start" it works fine
> but when we used try to check status using "start ambari-agent" (upstart
> command) facing issue. But when we start ambari agent using "start ambari-
> agent" it's works but at this time when we checked status using service
> command facing issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)