[
https://issues.apache.org/jira/browse/AMBARI-14359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15055065#comment-15055065
]
Sumit Mohanty commented on AMBARI-14359:
----------------------------------------
Committed to branch-2.2
> Ambari Agent UT failure for branch-2.2: test_do_cleanup_with_skip
> -----------------------------------------------------------------
>
> Key: AMBARI-14359
> URL: https://issues.apache.org/jira/browse/AMBARI-14359
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent, test
> Affects Versions: 2.2.0
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Critical
> Fix For: 2.2.0
>
> Attachments: AMBARI-14359.patch
>
>
> https://builds.apache.org/job/Ambari-branch-2.2/62/console
> {code}
> ======================================================================
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)