You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2014/12/19 17:31:28 UTC

Review Request 29253: Ambari UT failures

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

Review request for Ambari, Vitalyi Brodetskyi and Yusaku Sako.


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


Repository: ambari


Description
-------

The following UT failures are pretty consistent on recent Apache builds
FAILED (errors=1)
----------------------------------------------------------------------
Failed tests:
ERROR: testLastAgentEnv (TestCheckHost.TestCheckHost)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1191, in patched
    arg = patching.__enter__()
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1266, in __enter__
    original, local = self.get_original()
  File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1240, in get_original
    "%s does not have the attribute %r" % (target, name)
AttributeError: <class 'ambari_agent.HostInfo.HostInfo'> does not have the attribute 'checkIptables'


Diffs
-----

  ambari-server/src/test/python/custom_actions/TestCheckHost.py eb738d2 

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


Testing
-------

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Views ...................................... SUCCESS [2.086s]
[INFO] Ambari Server ..................................... SUCCESS [28.829s]
[INFO] Ambari Agent ...................................... SUCCESS [15.178s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46.752s
[INFO] Finished at: Fri Dec 19 19:29:43 FET 2014
[INFO] Final Memory: 47M/380M
[INFO] ------------------------------------------------------------------------


Thanks,

Dmitro Lisnichenko


Re: Review Request 29253: Ambari UT failures

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29253/#review65637
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Гру. 19, 2014, 4:31 після полудня, Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29253/
> -----------------------------------------------------------
> 
> (Updated Гру. 19, 2014, 4:31 після полудня)
> 
> 
> Review request for Ambari, Vitalyi Brodetskyi and Yusaku Sako.
> 
> 
> Bugs: AMBARI-8828
>     https://issues.apache.org/jira/browse/AMBARI-8828
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> The following UT failures are pretty consistent on recent Apache builds
> FAILED (errors=1)
> ----------------------------------------------------------------------
> Failed tests:
> ERROR: testLastAgentEnv (TestCheckHost.TestCheckHost)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1191, in patched
>     arg = patching.__enter__()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1266, in __enter__
>     original, local = self.get_original()
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-trunk-Commit/ambari-common/src/test/python/mock/mock.py", line 1240, in get_original
>     "%s does not have the attribute %r" % (target, name)
> AttributeError: <class 'ambari_agent.HostInfo.HostInfo'> does not have the attribute 'checkIptables'
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/test/python/custom_actions/TestCheckHost.py eb738d2 
> 
> Diff: https://reviews.apache.org/r/29253/diff/
> 
> 
> Testing
> -------
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Views ...................................... SUCCESS [2.086s]
> [INFO] Ambari Server ..................................... SUCCESS [28.829s]
> [INFO] Ambari Agent ...................................... SUCCESS [15.178s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 46.752s
> [INFO] Finished at: Fri Dec 19 19:29:43 FET 2014
> [INFO] Final Memory: 47M/380M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>