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

TestTokenClientRMService#testTokenRenewalWrongUser fails

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Running org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService
      Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.983 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService
      testTokenRenewalWrongUser(org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService)  Time elapsed: 0.015 sec  <<< FAILURE!
      java.lang.AssertionError: null
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertTrue(Assert.java:52)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService$3.run(TestTokenClientRMService.java:125)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService$3.run(TestTokenClientRMService.java:118)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:422)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1857)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService.testTokenRenewalWrongUser(TestTokenClientRMService.java:118)
      
      
      Results :
      
      Failed tests: 
        TestTokenClientRMService.testTokenRenewalWrongUser:118 null
      
      

        Issue Links

          Activity

          Hide
          GergelyNovak Gergely Novák added a comment -

          This test fails because HADOOP-13720 changed the exception message. Attached patch with assert to the updated message.

          Show
          GergelyNovak Gergely Novák added a comment - This test fails because HADOOP-13720 changed the exception message. Attached patch with assert to the updated message.
          Hide
          hadoopqa Hadoop QA added a comment -
          +1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 16s Docker mode activated.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 test4tests 0m 0s The patch appears to include 1 new or modified test files.
          +1 mvninstall 7m 35s trunk passed
          +1 compile 0m 35s trunk passed
          +1 checkstyle 0m 22s trunk passed
          +1 mvnsite 0m 42s trunk passed
          +1 mvneclipse 0m 18s trunk passed
          +1 findbugs 1m 6s trunk passed
          +1 javadoc 0m 24s trunk passed
          +1 mvninstall 0m 35s the patch passed
          +1 compile 0m 31s the patch passed
          +1 javac 0m 31s the patch passed
          +1 checkstyle 0m 20s the patch passed
          +1 mvnsite 0m 40s the patch passed
          +1 mvneclipse 0m 17s the patch passed
          +1 whitespace 0m 0s The patch has no whitespace issues.
          +1 findbugs 1m 15s the patch passed
          +1 javadoc 0m 18s the patch passed
          +1 unit 36m 51s hadoop-yarn-server-resourcemanager in the patch passed.
          +1 asflicense 0m 17s The patch does not generate ASF License warnings.
          53m 39s



          Subsystem Report/Notes
          Docker Image:yetus/hadoop:a9ad5d6
          JIRA Issue YARN-5875
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12838943/YARN-5875.001.patch
          Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
          uname Linux 75c8b34cfc2e 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh
          git revision trunk / 7ffb994
          Default Java 1.8.0_101
          findbugs v3.0.0
          Test Results https://builds.apache.org/job/PreCommit-YARN-Build/13917/testReport/
          modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager
          Console output https://builds.apache.org/job/PreCommit-YARN-Build/13917/console
          Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall Vote Subsystem Runtime Comment 0 reexec 0m 16s Docker mode activated. +1 @author 0m 0s The patch does not contain any @author tags. +1 test4tests 0m 0s The patch appears to include 1 new or modified test files. +1 mvninstall 7m 35s trunk passed +1 compile 0m 35s trunk passed +1 checkstyle 0m 22s trunk passed +1 mvnsite 0m 42s trunk passed +1 mvneclipse 0m 18s trunk passed +1 findbugs 1m 6s trunk passed +1 javadoc 0m 24s trunk passed +1 mvninstall 0m 35s the patch passed +1 compile 0m 31s the patch passed +1 javac 0m 31s the patch passed +1 checkstyle 0m 20s the patch passed +1 mvnsite 0m 40s the patch passed +1 mvneclipse 0m 17s the patch passed +1 whitespace 0m 0s The patch has no whitespace issues. +1 findbugs 1m 15s the patch passed +1 javadoc 0m 18s the patch passed +1 unit 36m 51s hadoop-yarn-server-resourcemanager in the patch passed. +1 asflicense 0m 17s The patch does not generate ASF License warnings. 53m 39s Subsystem Report/Notes Docker Image:yetus/hadoop:a9ad5d6 JIRA Issue YARN-5875 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12838943/YARN-5875.001.patch Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 75c8b34cfc2e 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 7ffb994 Default Java 1.8.0_101 findbugs v3.0.0 Test Results https://builds.apache.org/job/PreCommit-YARN-Build/13917/testReport/ modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager Console output https://builds.apache.org/job/PreCommit-YARN-Build/13917/console Powered by Apache Yetus 0.4.0-SNAPSHOT http://yetus.apache.org This message was automatically generated.
          Hide
          xiaochen Xiao Chen added a comment -

          +1 committing this. Thanks Varun Saxena for reporting the issue and Gergely Novák for the fix!

          Show
          xiaochen Xiao Chen added a comment - +1 committing this. Thanks Varun Saxena for reporting the issue and Gergely Novák for the fix!
          Hide
          xiaochen Xiao Chen added a comment -

          Committed to trunk, branch-2 and branch-2.8.

          Show
          xiaochen Xiao Chen added a comment - Committed to trunk, branch-2 and branch-2.8.
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10842 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10842/)
          YARN-5875. TestTokenClientRMService#testTokenRenewalWrongUser fails. (xiao: rev f121d0b036fe031dd24f2f549ae5729304bfa59c)

          • (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestTokenClientRMService.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10842 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10842/ ) YARN-5875 . TestTokenClientRMService#testTokenRenewalWrongUser fails. (xiao: rev f121d0b036fe031dd24f2f549ae5729304bfa59c) (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestTokenClientRMService.java

            People

            • Assignee:
              GergelyNovak Gergely Novák
              Reporter:
              varun_saxena Varun Saxena
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development