You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/12/13 12:57:55 UTC

Review Request 41324: Ambari Agent UT failure for branch-2.2: test_do_cleanup_with_skip

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

Review request for Ambari and Andrew Onischuk.


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


Repository: ambari


Description
-------

https://builds.apache.org/job/Ambari-branch-2.2/62/console

======================================================================
ERROR: test_do_cleanup_with_skip (TestHostCleanup.TestHostCleanup)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
    return func(*args, **keywargs)
  File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py", line 315, in test_do_cleanup_with_skip
    self.hostcleanup.do_cleanup(propertyMap)
  File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-agent/src/main/python/ambari_agent/HostCleanup.py", line 157, in do_cleanup
    self.do_delete_by_owner(userIds, FOLDER_LIST)
  File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-agent/src/main/python/ambari_agent/HostCleanup.py", line 441, in do_delete_by_owner
    stat = os.stat(fileToCheck)
OSError: [Errno 2] No such file or directory: '/tmp/Jetty_localhost_51472_hdfs____.hiatsz'

----------------------------------------------------------------------
Ran 420 tests in 12.336s


Diffs
-----

  ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py 78cf4c2 

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


Testing
-------

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.884s
[INFO] Finished at: Sun Dec 13 13:53:49 EET 2015
[INFO] Final Memory: 12M/192M
[INFO] ------------


Thanks,

Dmytro Sen


Re: Review Request 41324: Ambari Agent UT failure for branch-2.2: test_do_cleanup_with_skip

Posted by Mahadev Konar <ma...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41324/#review110123
-----------------------------------------------------------

Ship it!


Ship It!

- Mahadev Konar


On Dec. 13, 2015, 11:57 a.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41324/
> -----------------------------------------------------------
> 
> (Updated Dec. 13, 2015, 11:57 a.m.)
> 
> 
> Review request for Ambari and Andrew Onischuk.
> 
> 
> Bugs: AMBARI-14359
>     https://issues.apache.org/jira/browse/AMBARI-14359
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> https://builds.apache.org/job/Ambari-branch-2.2/62/console
> 
> ======================================================================
> ERROR: test_do_cleanup_with_skip (TestHostCleanup.TestHostCleanup)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py", line 315, in test_do_cleanup_with_skip
>     self.hostcleanup.do_cleanup(propertyMap)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-agent/src/main/python/ambari_agent/HostCleanup.py", line 157, in do_cleanup
>     self.do_delete_by_owner(userIds, FOLDER_LIST)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-agent/src/main/python/ambari_agent/HostCleanup.py", line 441, in do_delete_by_owner
>     stat = os.stat(fileToCheck)
> OSError: [Errno 2] No such file or directory: '/tmp/Jetty_localhost_51472_hdfs____.hiatsz'
> 
> ----------------------------------------------------------------------
> Ran 420 tests in 12.336s
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py 78cf4c2 
> 
> Diff: https://reviews.apache.org/r/41324/diff/
> 
> 
> Testing
> -------
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 16.884s
> [INFO] Finished at: Sun Dec 13 13:53:49 EET 2015
> [INFO] Final Memory: 12M/192M
> [INFO] ------------
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Re: Review Request 41324: Ambari Agent UT failure for branch-2.2: test_do_cleanup_with_skip

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41324/#review110119
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On Dec. 13, 2015, 11:57 a.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41324/
> -----------------------------------------------------------
> 
> (Updated Dec. 13, 2015, 11:57 a.m.)
> 
> 
> Review request for Ambari and Andrew Onischuk.
> 
> 
> Bugs: AMBARI-14359
>     https://issues.apache.org/jira/browse/AMBARI-14359
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> https://builds.apache.org/job/Ambari-branch-2.2/62/console
> 
> ======================================================================
> ERROR: test_do_cleanup_with_skip (TestHostCleanup.TestHostCleanup)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py", line 315, in test_do_cleanup_with_skip
>     self.hostcleanup.do_cleanup(propertyMap)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-agent/src/main/python/ambari_agent/HostCleanup.py", line 157, in do_cleanup
>     self.do_delete_by_owner(userIds, FOLDER_LIST)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-branch-2.2/ambari-agent/src/main/python/ambari_agent/HostCleanup.py", line 441, in do_delete_by_owner
>     stat = os.stat(fileToCheck)
> OSError: [Errno 2] No such file or directory: '/tmp/Jetty_localhost_51472_hdfs____.hiatsz'
> 
> ----------------------------------------------------------------------
> Ran 420 tests in 12.336s
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py 78cf4c2 
> 
> Diff: https://reviews.apache.org/r/41324/diff/
> 
> 
> Testing
> -------
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 16.884s
> [INFO] Finished at: Sun Dec 13 13:53:49 EET 2015
> [INFO] Final Memory: 12M/192M
> [INFO] ------------
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>