======================================================================
ERROR: test_heartbeat_no_host_check_cmd_in_queue (TestHeartbeat.TestHeartbeat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/smohanty/enlistments/asf-ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/test/python/ambari_agent/TestHeartbeat.py", line 217, in test_heartbeat_no_host_check_cmd_in_queue
actionQueue.put([statusCommand])
File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/main/python/ambari_agent/ActionQueue.py", line 109, in put
command['clusterName'] + " to the queue.")
KeyError: 'role'
======================================================================
FAIL: test_build_long_result (TestHeartbeat.TestHeartbeat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/smohanty/enlistments/asf-ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
return func(*args, **keywargs)
File "/Users/smohanty/enlistments/asf-ambari/ambari-agent/src/test/python/ambari_agent/TestHeartbeat.py", line 198, in test_build_long_result
self.assertEquals(hb, expected)
AssertionError: {'nodeStatus': {'status': 'HEALTHY', 'cause': 'NONE'}, 'timestamp': 'timestamp', [truncated]... != {'nodeStatus': {'status': 'HEALTHY', 'cause': 'NONE'}, 'timestamp': 'timestamp', [truncated]...
Diff is 1960 characters long. Set self.maxDiff to None to see it.
----------------------------------------------------------------------
Ran 332 tests in 16.657s