[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16728377#comment-16728377 ] Hudson commented on HBASE-20136: Results for branch branch-2 [build #1575 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1575/]: (x) *{color:red}-1 overall{color}* details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1575//General_Nightly_Build_Report/] (x) {color:red}-1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1575//JDK8_Nightly_Build_Report_(Hadoop2)/] (x) {color:red}-1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1575//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Fix For: 3.0.0, 2.2.0, 2.1.2, 2.0.4 > > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt, > HBASE-20136.branch-2.001.patch > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16728371#comment-16728371 ] Hudson commented on HBASE-20136: Results for branch branch-2.1 [build #709 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/709/]: (x) *{color:red}-1 overall{color}* details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/709//General_Nightly_Build_Report/] (x) {color:red}-1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/709//JDK8_Nightly_Build_Report_(Hadoop2)/] (/) {color:green}+1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/709//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Fix For: 3.0.0, 2.2.0, 2.1.2, 2.0.4 > > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt, > HBASE-20136.branch-2.001.patch > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16728335#comment-16728335 ] Hudson commented on HBASE-20136: Results for branch branch-2.0 [build #1192 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1192/]: (x) *{color:red}-1 overall{color}* details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1192//General_Nightly_Build_Report/] (x) {color:red}-1 jdk8 hadoop2 checks{color} -- Something went wrong running this stage, please [check relevant console output|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1192//console]. (/) {color:green}+1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1192//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Fix For: 3.0.0, 2.2.0, 2.1.2, 2.0.4 > > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt, > HBASE-20136.branch-2.001.patch > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16728027#comment-16728027 ] stack commented on HBASE-20136: --- Linking follow-on JIRA on how best to find tests that are absent Category (and so are not run as part of build) > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Fix For: 3.0.0, 2.2.0, 2.1.2, 2.0.4 > > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt, > HBASE-20136.branch-2.001.patch > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16727941#comment-16727941 ] Hadoop QA commented on HBASE-20136: --- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 20s{color} | {color:blue} Docker mode activated. {color} | || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green} 0m 0s{color} | {color:green} Patch does not have any anti-patterns. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 1s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | || || || || {color:brown} branch-2 Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 7m 22s{color} | {color:green} branch-2 passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 43s{color} | {color:green} branch-2 passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 32s{color} | {color:green} branch-2 passed {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 32s{color} | {color:green} branch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 57s{color} | {color:green} branch-2 passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 31s{color} | {color:green} branch-2 passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 59s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 37s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} javac {color} | {color:red} 0m 37s{color} | {color:red} hbase-common generated 1 new + 41 unchanged - 1 fixed = 42 total (was 42) {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 28s{color} | {color:red} hbase-common: The patch generated 4 new + 23 unchanged - 1 fixed = 27 total (was 24) {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 28s{color} | {color:green} patch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 10m 42s{color} | {color:green} Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 56s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 20s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 3m 3s{color} | {color:green} hbase-common in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 15s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 41m 32s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:42ca976 | | JIRA Issue | HBASE-20136 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12952938/HBASE-20136.branch-2.001.patch | | Optional Tests | dupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile | | uname | Linux b2b7fa43979f 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh | | git revision | branch-2 / 24f740c3d9 | | maven | version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) | | Default Java | 1.8.0_181 | | findbugs | v3.1.0-RC3 | | javac | https://builds.apache.org/job/PreCommit-HBASE-Build/15368/artifact/patchprocess/diff-compile-javac-hbase-common.txt | | checkstyle | https://builds.apache.org/job/PreCommit-HBASE-Build/15368/artifact/patchprocess/diff-checkstyle-hbase-common.txt | | Test Results |
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16727814#comment-16727814 ] stack commented on HBASE-20136: --- .001 Backport to branch-2. Took a bit of jiggering so let the build check it. Why this started failing on old branches I don't know. It should have been ignored. A recent change touched it but I've not spent the time to figure why that got the category checker to notice the test was missing category. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Fix For: 3.0.0, 2.2.0, 2.1.2, 2.0.4 > > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt, > HBASE-20136.branch-2.001.patch > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16727812#comment-16727812 ] stack commented on HBASE-20136: --- Thanks for the pointer here [~psomogyi]. Let me backport (this test is failing in older branches now -- the patch here where it adds Category AND moves test from junit3 to junit4 is better than the hack I did to so I could make an RC...). Won't backport the addendum. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16727568#comment-16727568 ] Hadoop QA commented on HBASE-20136: --- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 10s{color} | {color:blue} Docker mode activated. {color} | | {color:blue}0{color} | {color:blue} patch {color} | {color:blue} 0m 2s{color} | {color:blue} The patch file was not named according to hbase's naming conventions. Please see https://yetus.apache.org/documentation/0.8.0/precommit-patchnames for instructions. {color} | || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green} 0m 0s{color} | {color:green} Patch does not have any anti-patterns. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 35s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 30s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 24s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 10s{color} | {color:green} branch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 35s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 17s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 28s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 30s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 30s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 24s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 11s{color} | {color:green} patch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 9m 31s{color} | {color:green} Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 44s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 16s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 2m 29s{color} | {color:green} hbase-common in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 8s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 33m 55s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:b002b0b | | JIRA Issue | HBASE-20136 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12913473/20136.addendum | | Optional Tests | dupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile | | uname | Linux fab65c32439f 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh | | git revision | master / b2bf22e209 | | maven | version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) | | Default Java | 1.8.0_181 | | findbugs | v3.1.0-RC3 | | Test Results | https://builds.apache.org/job/PreCommit-HBASE-Build/15365/testReport/ | | Max. process+thread count | 316 (vs. ulimit of 1)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16727564#comment-16727564 ] Peter Somogyi commented on HBASE-20136: --- I've just returned here from HBASE-21633 and found this issue is not resolved while the change is pushed master branch. My recommendation is to backport this and close this issue. ping [~stack] > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16391253#comment-16391253 ] Duo Zhang commented on HBASE-20136: --- I have already placed my statement many times on this. The way we fix a more important problem(HBASE-20154) may effect the way we fix this, so I do not think it is necessary to push the addendum. If you do not agree then just go ahead. Thanks. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16391249#comment-16391249 ] Josh Elser commented on HBASE-20136: [~Apache9] if you cannot give me a technical justification for why this one-line change is harmful, I'm going to go around you. This is silly that you are trying to block an obvious bug in the code which we have observed to throw an exception. Please work with me here instead of trying to push me aside. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390699#comment-16390699 ] Duo Zhang commented on HBASE-20136: --- Filed HBASE-20154 to address the missing category problem. Let's work on the problem there. The argue here is weak and wasted too much time... Thanks. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390690#comment-16390690 ] Josh Elser commented on HBASE-20136: [~Apache9], I 100% understand what you are saying. I feel like you are not hearing what I am saying. If this test is invoked directly – it fails with this obtuse error. What objection do you have against fixing our current test code to give a proper error message? We do not need to prove that all other tests have categorization to make this fix. I feel like we're arguing way too much over a one line change here, boss. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390656#comment-16390656 ] Duo Zhang commented on HBASE-20136: --- For now if you do not have a category then your test will never be executed in pre commit and nightly, and if you have one then the check will always pass... That's my point. We need to find a way to confirm that all tests have a category first. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390653#comment-16390653 ] Josh Elser commented on HBASE-20136: bq, I mean the 'categories.length == 0' check in the addendum, not the fix for the test. I've already posted a +1 for the fix above... That is what I'm talking about. That check is unarguably useful as it improves the HBase code to give a proper test failure message until the logic itself is fixed. Do you have an objection to the plan I've suggested? > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390642#comment-16390642 ] Duo Zhang commented on HBASE-20136: --- I mean the 'categories.length == 0' check in the addendum, not the fix for the test. I've already posted a +1 for the fix above... Anyway, let's open a new issue for this? We need to make sure that all UTs have a category. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390630#comment-16390630 ] Josh Elser commented on HBASE-20136: {quote}My point is, we should not add code which will never be executed then the addendum will be useless {quote} I really don't see one extra line of test code as being burdensome. However, if this is a sticking point for you, I would suggest we remove this code once it is *actually* useless. It is definitively not useless today. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390564#comment-16390564 ] Duo Zhang commented on HBASE-20136: --- My point is, we should not add code which will never be executed... If the final solution is that we will also run UTs without a category then the addendum here is useful, but if we add another stage which will find out the UTs without a category then the addendum will be useless. That's why I say it depends on the solution. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390551#comment-16390551 ] Josh Elser commented on HBASE-20136: {quote}The problem is, we can not find the test which does not have a category now, and this is not the fault of the test rule, nor the run listener, this is because our config of the surefire plugin... {quote} Got it. I agree with you that we could/should improve this one. {quote}Whether we should improve the RuleChecker depends on the solution {quote} Aha, this is where I disagree with you. I think making sure that we have this failsafe in the rule checker is a nice "save our butts" solution, as illustrated by this situation we got ourselves in. The error message we actually get (the super obtuse "Test Mechanism Failed" one) is pretty crappy – I think the spirit of the addendum would make it easier if/when we find ourselves in such a situation again. Thanks for bearing with me. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390524#comment-16390524 ] Duo Zhang commented on HBASE-20136: --- {quote} I'm a bit confused then, Duo. By that logic, you're saying that you're OK with folks committing tests that don't have a Category? {quote} The problem is, we can not find the test which does not have a category now, and this is not the fault of the test rule, nor the run listener, this is because our config of the surefire plugin... I think we can file another issue for this. Whether we should improve the RuleChecker depends on the solution. Thanks. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390513#comment-16390513 ] Josh Elser commented on HBASE-20136: {quote}So I do not think it is necessary to improve the test rule to handle the case where we miss the category since if you miss that one, you will not be executed. {quote} I'm a bit confused then, Duo. By that logic, you're saying that you're OK with folks committing tests that don't have a Category? Agree with you that we only run tests that have Categories. My understanding is that this RuleChecker is the replacement to the old unit test (I forget the name) to verify that each and every test has a Category. By that approach, our verification logic is flawed and we're allowing this test to exist but never be executed. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390487#comment-16390487 ] Hadoop QA commented on HBASE-20136: --- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 16s{color} | {color:blue} Docker mode activated. {color} | | {color:blue}0{color} | {color:blue} patch {color} | {color:blue} 0m 1s{color} | {color:blue} The patch file was not named according to hbase's naming conventions. Please see https://yetus.apache.org/documentation/0.7.0/precommit-patchnames for instructions. {color} | || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green} 0m 0s{color} | {color:green} Patch does not have any anti-patterns. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 23s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 17s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 20s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 39s{color} | {color:green} branch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 36s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 15s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 18s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 16s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 16s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 21s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 21s{color} | {color:green} patch has no errors when building our shaded downstream artifacts. {color} | | {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 6m 27s{color} | {color:red} The patch causes 10 errors with Hadoop v2.6.5. {color} | | {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 8m 39s{color} | {color:red} The patch causes 10 errors with Hadoop v2.7.4. {color} | | {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 10m 56s{color} | {color:red} The patch causes 10 errors with Hadoop v3.0.0. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 41s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 15s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 2m 17s{color} | {color:green} hbase-common in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 9s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 30m 2s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:eee3b01 | | JIRA Issue | HBASE-20136 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12913473/20136.addendum | | Optional Tests | asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile | | uname | Linux 9bd4190670ba 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 13:48:03 UTC 2016 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build@2/component/dev-support/hbase-personality.sh | | git revision | master / 37d91cdfbb | | maven | version: Apache Maven
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390464#comment-16390464 ] Hadoop QA commented on HBASE-20136: --- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 19s{color} | {color:blue} Docker mode activated. {color} | | {color:blue}0{color} | {color:blue} patch {color} | {color:blue} 0m 2s{color} | {color:blue} The patch file was not named according to hbase's naming conventions. Please see https://yetus.apache.org/documentation/0.7.0/precommit-patchnames for instructions. {color} | || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green} 0m 0s{color} | {color:green} Patch does not have any anti-patterns. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 24s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 18s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 24s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 5m 5s{color} | {color:green} branch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 40s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 17s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 39s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 21s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 21s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 25s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 56s{color} | {color:green} patch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 19m 37s{color} | {color:green} Patch does not cause any errors with Hadoop 2.6.5 2.7.4 or 3.0.0. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 50s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 18s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 2m 28s{color} | {color:green} hbase-common in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 10s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 40m 13s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:eee3b01 | | JIRA Issue | HBASE-20136 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12913468/20136.addendum | | Optional Tests | asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile | | uname | Linux 924e914a6f18 3.13.0-139-generic #188-Ubuntu SMP Tue Jan 9 14:43:09 UTC 2018 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh | | git revision | master / 37d91cdfbb | | maven | version: Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z) | | Default Java | 1.8.0_151 | | findbugs | v3.1.0-RC3 | | Test Results | https://builds.apache.org/job/PreCommit-HBASE-Build/11853/testReport/ | | Max. process+thread count | 351 (vs. ulimit of 1) | | modules
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390456#comment-16390456 ] Duo Zhang commented on HBASE-20136: --- As I said many times in this issue, we will not run a test if does not have a small/medium/large category, so either pre commit or nightly can not finger out the problem. So I do not think it is necessary to improve the test rule to handle the case where we miss the category since if you miss that one, you will not be executed. Thanks. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390433#comment-16390433 ] Josh Elser commented on HBASE-20136: Addendum looks like it would fix this issue for the future, but the Logger declaration and imports seem unnecessary. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390407#comment-16390407 ] Ted Yu commented on HBASE-20136: Agreed that HBaseClassTestRuleChecker can be enhanced. Attached an addendum. With the addendum, instead of ArrayIndexOutOfBoundsException, we would see: {code} java.lang.AssertionError: no category found for class org.apache.hadoop.hbase.TestKeyValue at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:369) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:275) {code} > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.addendum, 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16390358#comment-16390358 ] Josh Elser commented on HBASE-20136: {noformat} Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45){noformat} This was caused by the addition in HBASE-20031. We should expand the RuleChecker to fail outwardly when there are no Categories for a test class (Because we *know* that should never be the case). I'm looking through the last PreCommit result for 20031 and think I see how we got here: [https://builds.apache.org/job/PreCommit-HBASE-Build/11600/console] * Yetus unit tests activate {{-PrunAllTests}} * TestKeyValue is skipped because it doesn't have a Test category * The HBaseClassTestRuleChecker doesn't see it (and fail) because the test isn't run This approach to checking for test-categories might just have some limitations to it... > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389713#comment-16389713 ] Josh Elser commented on HBASE-20136: bq. The junit 3/4 style is not the problem, we must have a category(SmallTests or MediumTests or LargeTests). Otherwise the test will not be executed unless you use mvn -Dtest=XXX. Then, I'm perplexed why the nightlies or precommit didn't flag this one in the first place. This is still an open question, right? > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389114#comment-16389114 ] Duo Zhang commented on HBASE-20136: --- {quote} I spent some time digging the effect of -projects command line parameter (not used by upstream Jenkins build) on the activation of RunListener. Haven't found much thru google. I will post back when I found something. {quote} The '-projects' does not effect RunListener. As I said above, the problem is that we never run this test in pre commit and nightly since it missed the category. You can try typing 'mvn clean test' under hbase-common, there is no TestKeyValue before this patch. And actually I do not get your point, what are you trying to solve? > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389102#comment-16389102 ] Duo Zhang commented on HBASE-20136: --- {quote} I guess that means we need to check out all of the tests and nuke any that aren't junit4-style? {quote} The junit 3/4 style is not the problem, we must have a category(SmallTests or MediumTests or LargeTests). Otherwise the test will not be executed unless you use mvn -Dtest=XXX. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16389000#comment-16389000 ] Ted Yu commented on HBASE-20136: I spent some time digging the effect of -projects command line parameter (not used by upstream Jenkins build) on the activation of RunListener. Haven't found much thru google. I will post back when I found something. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16388731#comment-16388731 ] Hudson commented on HBASE-20136: FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4702 (See [https://builds.apache.org/job/HBase-Trunk_matrix/4702/]) HBASE-20136 TestKeyValue misses ClassRule and Category annotations (tedyu: rev b7fb2df154871a6a6a38b9de44500ad7cd140fd8) * (edit) hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > {code} > mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common > {code} > ArrayIndexOutOfBoundsException from HBaseClassTestRuleChecker was observed in > snippet from dump file: > {code} > # Created on 2018-03-05T22:25:50.252 > org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 > at > org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) > at > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) > at > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) > at > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) > Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) > at > org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) > at > org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) > at > org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) > {code} > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16388296#comment-16388296 ] Ted Yu commented on HBASE-20136: I should have put more background on how this test was found (not failing, but missing test category). Will pay attention in future JIRAs. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > TestKeyValue was flagged by internal RE which used mvn command that is > different from what Apache Jenkins uses. > This issue adds the annotations to this test. > The test passes with annotations added. > I have searched code base but didn't find other test which misses test > category. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16388278#comment-16388278 ] stack commented on HBASE-20136: --- Problems with this issue: * Out of left field a test is reported as failing. Expectation is that description would include why a particular, random test of thousands attracts focus. * There is a bad case of myopia going on here. Our hadoopqa has been mostly passing for months now. We've recently noted 2.0 nightlies passing. This test is purportedly of our suite. The expectation is that any contributor would ask themselves why if running the individual test fails, why does our general test suite not fail? Instead the focus is on the single-test failure. * A question is asked, "Why does the build not fail?", to which the response is, "The following command can reproduce the test error"; i.e. an answer to some other question. Anyways, I have myself a little project where issues done wonky like this one will be labeled 'CE' so can be found later for tautological purposes, etc. Thanks. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387933#comment-16387933 ] Josh Elser commented on HBASE-20136: {quote}Seems the problem is that, there is no small|medium|large category for this class so in the pre commit or nightly build processing we never run it... We will first run SmallTests, and then MediumTests and LargeTests. {quote} I guess that means we need to check out all of the tests and nuke any that aren't junit4-style? Shouldn't be bad in an IDE, I guess. We should make sure a follow-on gets filed. {quote} Why did HBaseClassTestRuleChecker not find this? Why does the build not fail? {quote} [~yuzhih...@gmail.com], the spirit of this question was "how did this get committed without QA failing", less about how was the failure triggered. I'm 99% positive Stack was more curious about how the failure was introduced and related worry about our checks being ineffective (as Duo did then find to be the case). > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387189#comment-16387189 ] Ted Yu commented on HBASE-20136: The assertion above the catch is supposed to fail (due to bad comparator): {code} assertTrue(count++ == k.getTimestamp()); {code} That is why AssertionError is caught. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387168#comment-16387168 ] Duo Zhang commented on HBASE-20136: --- {code} -} catch (junit.framework.AssertionFailedError e) { +} catch (java.lang.AssertionError e) { {code} This is a bit strange but not your fault. +1 if pre commit says OK. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Labels: CE > Attachments: 20136.v1.txt, 20136.v2.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387165#comment-16387165 ] Hadoop QA commented on HBASE-20136: --- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 14s{color} | {color:blue} Docker mode activated. {color} | | {color:blue}0{color} | {color:blue} patch {color} | {color:blue} 0m 1s{color} | {color:blue} The patch file was not named according to hbase's naming conventions. Please see https://yetus.apache.org/documentation/0.7.0/precommit-patchnames for instructions. {color} | || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green} 0m 0s{color} | {color:green} Patch does not have any anti-patterns. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 7s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 15s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 19s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 36s{color} | {color:green} branch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 30s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 14s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 3m 52s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 15s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 15s{color} | {color:green} the patch passed {color} | | {color:red}-1{color} | {color:red} checkstyle {color} | {color:red} 0m 19s{color} | {color:red} hbase-common: The patch generated 1 new + 2 unchanged - 1 fixed = 3 total (was 3) {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 9s{color} | {color:green} patch has no errors when building our shaded downstream artifacts. {color} | | {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 6m 7s{color} | {color:red} The patch causes 10 errors with Hadoop v2.6.5. {color} | | {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 8m 5s{color} | {color:red} The patch causes 10 errors with Hadoop v2.7.4. {color} | | {color:red}-1{color} | {color:red} hadoopcheck {color} | {color:red} 10m 29s{color} | {color:red} The patch causes 10 errors with Hadoop v3.0.0. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 41s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 14s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 2m 14s{color} | {color:green} hbase-common in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 6s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 28m 21s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:eee3b01 | | JIRA Issue | HBASE-20136 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12913135/20136.v2.txt | | Optional Tests | asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile | | uname | Linux d21aa48c2242 4.4.0-43-generic #63-Ubuntu SMP Wed Oct 12 13:48:03 UTC 2016 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh | | git revision |
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387085#comment-16387085 ] stack commented on HBASE-20136: --- Thanks [~Apache9] for identifying the actual issue. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Attachments: 20136.v1.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387060#comment-16387060 ] Duo Zhang commented on HBASE-20136: --- Seems the problem is that, there is no small|medium|large category for this class so in the pre commit or nightly build processing we never run it... We will first run SmallTests, and then MediumTests and LargeTests. [~tedyu] Could you please also change the test to junit4 style? Not a hard work. Just 'extends TestCase', use org.junit.Assert.XXX. Thanks. > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Attachments: 20136.v1.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387051#comment-16387051 ] Ted Yu commented on HBASE-20136: Not in a hurry to commit. bq. the rules actually work I think it does, when the above mvn command is used. Otherwise there wouldn't be ArrayIndexOutOfBoundsException > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Attachments: 20136.v1.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387037#comment-16387037 ] Duo Zhang commented on HBASE-20136: --- Hold on committing. This is junit3 style test, I wonder whether the rules actually work. Need to verify. Or can we rewrite the test with junit4 style? > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Attachments: 20136.v1.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387035#comment-16387035 ] Ted Yu commented on HBASE-20136: bq. Why does the build not fail? The following command can reproduce the test error: {code} mvn -B -nsu test -Dtest=TestKeyValue --projects :hbase-common {code} For hbase Jenkins build, we don't use such formation. bq. Why did HBaseClassTestRuleChecker not find this? ArrayIndexOutOfBoundsException was from HBaseClassTestRuleChecker. See snippet from dump file: {code} # Created on 2018-03-05T22:25:50.252 org.apache.maven.surefire.testset.TestSetFailedException: Test mechanism :: 0 at org.apache.maven.surefire.common.junit4.JUnit4RunListener.rethrowAnyTestMechanismFailures(JUnit4RunListener.java:223) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:168) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:373) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:334) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:119) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:407) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at org.apache.hadoop.hbase.HBaseClassTestRuleChecker.testStarted(HBaseClassTestRuleChecker.java:45) at org.junit.runner.notification.RunNotifier$3.notifyListener(RunNotifier.java:121) at org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72) at org.junit.runner.notification.RunNotifier.fireTestStarted(RunNotifier.java:118) {code} > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Attachments: 20136.v1.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387006#comment-16387006 ] stack commented on HBASE-20136: --- Why did HBaseClassTestRuleChecker not find this? Why does the build not fail? > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Attachments: 20136.v1.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387001#comment-16387001 ] Hadoop QA commented on HBASE-20136: --- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 18s{color} | {color:blue} Docker mode activated. {color} | | {color:blue}0{color} | {color:blue} patch {color} | {color:blue} 0m 2s{color} | {color:blue} The patch file was not named according to hbase's naming conventions. Please see https://yetus.apache.org/documentation/0.7.0/precommit-patchnames for instructions. {color} | || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green} 0m 0s{color} | {color:green} Patch does not have any anti-patterns. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:green}+1{color} | {color:green} test4tests {color} | {color:green} 0m 0s{color} | {color:green} The patch appears to include 1 new or modified test files. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 5m 9s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 21s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 25s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 5m 11s{color} | {color:green} branch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 34s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 16s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 22s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 18s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 18s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 23s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 38s{color} | {color:green} patch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 18m 41s{color} | {color:green} Patch does not cause any errors with Hadoop 2.6.5 2.7.4 or 3.0.0. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 50s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 21s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 2m 28s{color} | {color:green} hbase-common in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 10s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 39m 41s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hbase:eee3b01 | | JIRA Issue | HBASE-20136 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12913117/20136.v1.txt | | Optional Tests | asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile | | uname | Linux 7c2d0c1b9ba0 3.13.0-139-generic #188-Ubuntu SMP Tue Jan 9 14:43:09 UTC 2018 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/dev-support/hbase-personality.sh | | git revision | master / 4a4c012049 | | maven | version: Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T07:58:13Z) | | Default Java | 1.8.0_151 | | findbugs | v3.1.0-RC3 | | Test Results | https://builds.apache.org/job/PreCommit-HBASE-Build/11817/testReport/ | | Max. process+thread count | 306 (vs. ulimit of 1) | | modules |
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16386980#comment-16386980 ] Umesh Agashe commented on HBASE-20136: -- +1 lgtm > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Attachments: 20136.v1.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16386948#comment-16386948 ] Peter Somogyi commented on HBASE-20136: --- +1 > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > Attachments: 20136.v1.txt > > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HBASE-20136) TestKeyValue misses ClassRule and Category annotations
[ https://issues.apache.org/jira/browse/HBASE-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16386933#comment-16386933 ] Ted Yu commented on HBASE-20136: This was discovered due to the following test error: {code} Tests run: 18, Failures: 0, Errors: 18, Skipped: 0, Time elapsed: 0.339 s <<< FAILURE! - in org.apache.hadoop.hbase.TestKeyValue Test mechanism Time elapsed: 0.024 s <<< ERROR! java.lang.ArrayIndexOutOfBoundsException: 0 {code} > TestKeyValue misses ClassRule and Category annotations > -- > > Key: HBASE-20136 > URL: https://issues.apache.org/jira/browse/HBASE-20136 > Project: HBase > Issue Type: Test >Reporter: Ted Yu >Assignee: Ted Yu >Priority: Minor > > hbase-common/src/test/java/org/apache/hadoop/hbase/TestKeyValue.java misses > ClassRule and Category annotations. > This issue adds the annotations to this test. -- This message was sent by Atlassian JIRA (v7.6.3#76005)