Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5544

TestNodeBlacklistingOnAMFailures fails on trunk

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • test
    • Reviewed

    Description

      Running org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures
      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.28 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures
      testNodeBlacklistingOnAMFailure(org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures)  Time elapsed: 0.241 sec  <<< FAILURE!
      java.lang.AssertionError: AppAttemptState should still be SCHEDULED if currentNode is blacklisted correctly expected:<SCHEDULED> but was:<ALLOCATED>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures.testNodeBlacklistingOnAMFailure(TestNodeBlacklistingOnAMFailures.java:110)
      
      java.lang.AssertionError: After blacklisting, AM should have run on the other node expected:<127.0.0.2:2345> but was:<127.0.0.1:1234>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestNodeBlacklistingOnAMFailures.testNodeBlacklistingOnAMFailure(TestNodeBlacklistingOnAMFailures.java:131)
      

      https://builds.apache.org/job/PreCommit-YARN-Build/12840/testReport/

      Attachments

        1. YARN-5544.001.patch
          4 kB
          Sunil G
        2. YARN-5544.002.patch
          2 kB
          Rohith Sharma K S

        Activity

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

          People

            sunilg Sunil G
            varun_saxena Varun Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment