Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14359

Ambari Agent UT failure for branch-2.2: test_do_cleanup_with_skip

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: ambari-agent, test
    • Labels:
      None

      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
      

        Attachments

        1. AMBARI-14359.patch
          1 kB
          Dmytro Sen

          Issue Links

            Activity

              People

              • Assignee:
                dsen Dmytro Sen
                Reporter:
                dsen Dmytro Sen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: