ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10548) Unit tests failing in b.a.o (tests disabled on Mac thus were not discovered during development time)
Date Thu, 16 Apr 2015 23:24:59 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-10548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498959#comment-14498959
] 

Hudson commented on AMBARI-10548:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2340 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2340/])
AMBARI-10548. Unit tests failing in b.a.o (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2ca95b32bd0a39fc16270857266c01428d4ed49f)
* ambari-agent/src/test/python/ambari_agent/TestHeartbeat.py


> Unit tests failing in b.a.o (tests disabled on Mac thus were not discovered during development
time)
> ----------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-10548
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10548
>             Project: Ambari
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.1.0
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10548.patch
>
>
> {code}
> ======================================================================
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message