You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/05/08 18:02:00 UTC

[jira] [Commented] (AMBARI-23380) Fix intermittent "No such file or directory" error in TestHostCleanup

    [ https://issues.apache.org/jira/browse/AMBARI-23380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16467767#comment-16467767 ] 

Hudson commented on AMBARI-23380:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #685 (See [https://builds.apache.org/job/Ambari-branch-2.6/685/])
AMBARI-23380. Fix intermittent "No such file or directory" error in (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=b87b895fb351ef0c08d0e70d78191fd3d868edbe])
* (edit) ambari-agent/src/main/python/ambari_agent/HostCleanup.py
* (edit) ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py


> Fix intermittent "No such file or directory" error in TestHostCleanup
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-23380
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23380
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent
>    Affects Versions: 2.7.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>            Priority: Major
>              Labels: pull-request-available, unit-test
>             Fix For: 2.7.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Fix intermittent "No such file or directory" error in TestHostCleanup
> {noformat}
> ======================================================================
> ERROR: test_do_cleanup_all (TestHostCleanup.TestHostCleanup)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-Github-PullRequest-Builder/ambari-common/src/test/python/mock/mock.py", line 1199, in patched
>     return func(*args, **keywargs)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-Github-PullRequest-Builder/ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py", line 233, in test_do_cleanup_all
>     self.hostcleanup.do_cleanup(propertyMap)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-Github-PullRequest-Builder/ambari-agent/src/main/python/ambari_agent/HostCleanup.py", line 168, in do_cleanup
>     self.do_delete_by_owner(userIds, FOLDER_LIST)
>   File "/home/jenkins/jenkins-slave/workspace/Ambari-Github-PullRequest-Builder/ambari-agent/src/main/python/ambari_agent/HostCleanup.py", line 514, in do_delete_by_owner
>     stat = os.stat(fileToCheck)
> OSError: [Errno 2] No such file or directory: '/tmp/symlink2120964127269148256test_link'
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)