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

[jira] [Resolved] (AMBARI-13698) python stack tests fail

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

Andrew Onischuk resolved AMBARI-13698.
--------------------------------------
    Resolution: Fixed

Committed to trunk and branch-2.1

> python stack tests fail
> -----------------------
>
>                 Key: AMBARI-13698
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13698
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.3
>
>
>     Diff is 694 characters long. Set self.maxDiff to None to see it.
>     
>     FAIL: test_stop_secured (test_hbase_master.TestHBaseMaster)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>         return func(*args, **keywargs)
>       File "/home/user/ambari/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py", line 196, in test_stop_secured
>         user = 'hbase',
>       File "/home/user/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 255, in assertResourceCalled
>         self.assertEquals(kwargs, resource.arguments)
>     AssertionError: {'on_timeout': '! ( ls /var/run/hbase/hbase-hbase-master.pid >/dev/null 2>&1 &&  [truncated]... != {'only_if': u'ls /var/run/hbase/hbase-hbase-master.pid >/dev/null 2>&1 && ps -p  [truncated]...
>     Diff is 694 characters long. Set self.maxDiff to None to see it.
>     
>     FAIL: test_stop_default (test_hbase_regionserver.TestHbaseRegionServer)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>         return func(*args, **keywargs)
>       File "/home/user/ambari/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py", line 71, in test_stop_default
>         user = 'hbase',
>       File "/home/user/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 255, in assertResourceCalled
>         self.assertEquals(kwargs, resource.arguments)
>     AssertionError: {'on_timeout': '! ( ls /var/run/hbase/hbase-hbase-regionserver.pid >/dev/null 2> [truncated]... != {'only_if': u'ls /var/run/hbase/hbase-hbase-regionserver.pid >/dev/null 2>&1 &&  [truncated]...
>     Diff is 742 characters long. Set self.maxDiff to None to see it.
>     
>     FAIL: test_stop_secured (test_hbase_regionserver.TestHbaseRegionServer)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File "/home/user/ambari/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>         return func(*args, **keywargs)
>       File "/home/user/ambari/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py", line 119, in test_stop_secured
>         user = 'hbase',
>       File "/home/user/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 255, in assertResourceCalled
>         self.assertEquals(kwargs, resource.arguments)
>     AssertionError: {'on_timeout': '! ( ls /var/run/hbase/hbase-hbase-regionserver.pid >/dev/null 2> [truncated]... != {'only_if': u'ls /var/run/hbase/hbase-hbase-regionserver.pid >/dev/null 2>&1 &&  [truncated]...
>     Diff is 742 characters long. Set self.maxDiff to None to see it.
>     
>     ----------------------------------------------------------------------
>     Total run:839
>     Total errors:0
>     Total failures:4
>     ERROR
>     



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