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

unittests for MR/YARN failing on jenkins

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Unittests concerning MR/YARN randomly pass/fail on jenkins

      ======================================================================
      FAIL: test_start_default (test_resourcemanager.TestResourceManager)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/grid/0/workspace/AMBARI-1.6.0-UT-Dev/label/centos6-UT-8/hdp-BUILDS/ambari/ambari-server/src/test/python/stacks/2.0.6/YARN/test_resourcemanager.py", line 41, in test_start_default
      self.assert_configure_default()
      File "/grid/0/workspace/AMBARI-1.6.0-UT-Dev/label/centos6-UT-8/hdp-BUILDS/ambari/ambari-server/src/test/python/stacks/2.0.6/YARN/test_resourcemanager.py", line 222, in assert_configure_default
      configurations = self.getConfig()['configurations']['capacity-scheduler'],
      File "/grid/0/workspace/AMBARI-1.6.0-UT-Dev/label/centos6-UT-8/hdp-BUILDS/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 165, in assertResourceCalled
      self.assertEquals(resource_type, resource._class.name_)
      AssertionError: 'XmlConfig' != 'File'

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aonishuk Andrew Onischuk Assign to me
            aonishuk Andrew Onischuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment