Jayush Luniya created AMBARI-10148:
--------------------------------------
Summary: 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
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)