ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 39905: python stack tests fail
Date Tue, 03 Nov 2015 15:11:15 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39905/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-13698
    https://issues.apache.org/jira/browse/AMBARI-13698


Repository: ambari


Description
-------

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


Diffs
-----

  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_master.py 65864c8 
  ambari-server/src/test/python/stacks/2.0.6/HBASE/test_hbase_regionserver.py b377e9b 

Diff: https://reviews.apache.org/r/39905/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message