See <https://builds.apache.org/job/Phoenix-master/855/changes>
Changes: [mujtaba] Fix Apache RAT warnings ------------------------------------------ [...truncated 122467 lines...] [ERROR] DataLoadTimeSummary.java[24] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] DataLoadTimeSummary.java[36] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] ResultManager.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] ResultManager.java[28] (imports) ImportOrder: Wrong order for 'java.util.Arrays' import. [ERROR] ResultManager.java[31] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] ResultManager.java[39:83] (whitespace) OperatorWrap: '?' should be on a new line. [ERROR] ResultManager.java[40:68] (whitespace) OperatorWrap: ':' should be on a new line. [ERROR] DataModelResult.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] DataModelResult.java[23] (imports) ImportOrder: Wrong order for 'javax.xml.bind.annotation.XmlAttribute' import. [ERROR] DataModelResult.java[25] (imports) ImportOrder: Wrong order for 'java.util.ArrayList' import. [ERROR] DataModelResult.java[28] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] ResultValue.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] ResultValue.java[22] (sizes) LineLength: Line is longer than 100 characters (found 101). [ERROR] CSVResultHandler.java[0] (javadoc) JavadocPackage: Missing package-info.java file. [ERROR] CSVResultHandler.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] CSVResultHandler.java[32] (imports) ImportOrder: Wrong order for 'java.io.File' import. [ERROR] CSVResultHandler.java[40] (sizes) LineLength: Line is longer than 100 characters (found 103). [ERROR] CSVResultHandler.java[61:38] (whitespace) OperatorWrap: '?' should be on a new line. [ERROR] CSVResultHandler.java[64:60] (whitespace) OperatorWrap: ':' should be on a new line. [ERROR] ImageResultHandler.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] ImageResultHandler.java[22] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - org.apache.phoenix.pherf.result.*. [ERROR] ImageResultHandler.java[32] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - java.awt.*. [ERROR] ImageResultHandler.java[32] (imports) ImportOrder: Wrong order for 'java.awt.*' import. [ERROR] ImageResultHandler.java[37] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] ImageResultHandler.java[52:38] (whitespace) OperatorWrap: '?' should be on a new line. [ERROR] ImageResultHandler.java[55:60] (whitespace) OperatorWrap: ':' should be on a new line. [ERROR] XMLResultHandler.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] XMLResultHandler.java[22] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - org.apache.phoenix.pherf.result.*. [ERROR] XMLResultHandler.java[25] (imports) ImportOrder: Wrong order for 'javax.xml.bind.JAXBContext' import. [ERROR] XMLResultHandler.java[28] (imports) ImportOrder: Wrong order for 'java.io.File' import. [ERROR] XMLResultHandler.java[34] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] XMLResultHandler.java[49:38] (whitespace) OperatorWrap: '?' should be on a new line. [ERROR] XMLResultHandler.java[52:60] (whitespace) OperatorWrap: ':' should be on a new line. [ERROR] XMLResultHandler.java[86:14] (naming) LocalVariableName: Name 'XMLfile' must match pattern '^[a-z][a-zA-Z0-9_]*$'. [ERROR] ResultUtil.java[0] (misc) NewlineAtEndOfFile: File does not end with a newline. [ERROR] ResultUtil.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] ResultUtil.java[27] (imports) ImportOrder: Wrong order for 'java.io.File' import. [ERROR] ResultUtil.java[36] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] ResultUtil.java[39:27] (naming) StaticVariableName: Name 'FILE_SUFFIX' must match pattern '^[a-z][a-zA-Z0-9]*$'. [ERROR] ResultUtil.java[215] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] DataLoadThreadTime.java[0] (misc) NewlineAtEndOfFile: File does not end with a newline. [ERROR] DataLoadThreadTime.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] DataLoadThreadTime.java[23] (imports) ImportOrder: Wrong order for 'java.util.ArrayList' import. [ERROR] DataLoadThreadTime.java[26] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] DataLoadThreadTime.java[45] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] ThreadTime.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] ThreadTime.java[22] (imports) ImportOrder: Wrong order for 'java.util.ArrayList' import. [ERROR] ThreadTime.java[27] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] ThreadTime.java[44] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] ThreadTime.java[65] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] ThreadTime.java[70] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] ThreadTime.java[82] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] ThreadTime.java[95] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] ThreadTime.java[141] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] WriteWorkload.java[0] (javadoc) JavadocPackage: Missing package-info.java file. [ERROR] WriteWorkload.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] WriteWorkload.java[37] (imports) ImportOrder: Wrong order for 'java.math.BigDecimal' import. [ERROR] WriteWorkload.java[38] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - java.sql.*. [ERROR] WriteWorkload.java[48] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] WriteWorkload.java[49:33] (naming) ConstantName: Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. [ERROR] WriteWorkload.java[71] (indentation) Indentation: ctor def throws at indentation level 12 not at correct indentation, 8 [ERROR] WriteWorkload.java[117:89] (whitespace) OperatorWrap: '?' should be on a new line. [ERROR] WriteWorkload.java[118:86] (whitespace) OperatorWrap: ':' should be on a new line. [ERROR] WriteWorkload.java[165] (indentation) Indentation: method def throws at indentation level 12 not at correct indentation, 8 [ERROR] WriteWorkload.java[195] (indentation) Indentation: method def throws at indentation level 12 not at correct indentation, 8 [ERROR] WriteWorkload.java[196:9] (coding) MultipleVariableDeclarations: Each variable declaration must be in its own statement. [ERROR] WriteWorkload.java[229:17] (coding) MultipleVariableDeclarations: Each variable declaration must be in its own statement. [ERROR] WriteWorkload.java[237:70] (whitespace) OperatorWrap: '?' should be on a new line. [ERROR] WriteWorkload.java[238:52] (whitespace) OperatorWrap: ':' should be on a new line. [ERROR] WriteWorkload.java[385] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] Workload.java[1] (header) Header: Line does not match expected header line of '/*'. [ERROR] Workload.java[20] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] Workload.java[21:5] (modifier) RedundantModifier: Redundant 'public' modifier. [ERROR] Workload.java[26:5] (modifier) RedundantModifier: Redundant 'public' modifier. [ERROR] MultiThreadedRunner.java[0] (misc) NewlineAtEndOfFile: File does not end with a newline. [ERROR] MultiThreadedRunner.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] MultiThreadedRunner.java[36] (imports) ImportOrder: Wrong order for 'org.apache.phoenix.pherf.configuration.Query' import. [ERROR] MultiThreadedRunner.java[39] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] MultiThreadedRunner.java[40:33] (naming) ConstantName: Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. [ERROR] MultiThreadedRunner.java[79:43] (coding) UnnecessaryParentheses: Unnecessary parentheses around expression. [ERROR] MultiThreadedRunner.java[126] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] MultiThreadedRunner.java[148] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] MultiThreadedRunner.java[149] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] MultiThreadedRunner.java[150] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] WorkloadExecutor.java[0] (misc) NewlineAtEndOfFile: File does not end with a newline. [ERROR] WorkloadExecutor.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] WorkloadExecutor.java[25] (imports) ImportOrder: Wrong order for 'java.util.ArrayList' import. [ERROR] WorkloadExecutor.java[29] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - java.util.concurrent.*. [ERROR] WorkloadExecutor.java[31] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] WorkloadExecutor.java[32:33] (naming) ConstantName: Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. [ERROR] WorkloadExecutor.java[50:78] (whitespace) OperatorWrap: '?' should be on a new line. [ERROR] WorkloadExecutor.java[51:65] (whitespace) OperatorWrap: ':' should be on a new line. [ERROR] QueryVerifier.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] QueryVerifier.java[38] (imports) ImportOrder: Wrong order for 'org.apache.phoenix.pherf.PherfConstants' import. [ERROR] QueryVerifier.java[45] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] QueryVerifier.java[47:33] (naming) ConstantName: Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. [ERROR] QueryVerifier.java[91] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] QueryVerifier.java[92] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] QueryVerifier.java[93] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] QueryVerifier.java[166] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] QueryVerifier.java[167] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] QueryVerifier.java[168] (blocks) NeedBraces: 'if' construct must use '{}'s. [ERROR] QueryExecutor.java[0] (misc) NewlineAtEndOfFile: File does not end with a newline. [ERROR] QueryExecutor.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] QueryExecutor.java[24] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - org.apache.phoenix.pherf.configuration.*. [ERROR] QueryExecutor.java[25] (imports) AvoidStarImport: Using the '.*' form of import should be avoided - org.apache.phoenix.pherf.result.*. [ERROR] QueryExecutor.java[30] (imports) ImportOrder: Wrong order for 'java.util.ArrayList' import. [ERROR] QueryExecutor.java[37] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] QueryExecutor.java[38:33] (naming) ConstantName: Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. [ERROR] MultithreadedDiffer.java[0] (misc) NewlineAtEndOfFile: File does not end with a newline. [ERROR] MultithreadedDiffer.java[2] (header) Header: Line does not match expected header line of ' * Licensed to the Apache Software Foundation (ASF) under one or more'. [ERROR] MultithreadedDiffer.java[31] (javadoc) JavadocType: Missing a Javadoc comment. [ERROR] MultithreadedDiffer.java[32:33] (naming) ConstantName: Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. [ERROR] MultithreadedDiffer.java[56:38] (coding) SimplifyBooleanExpression: Expression can be simplified. [ERROR] MultithreadedDiffer.java[85:43] (coding) UnnecessaryParentheses: Unnecessary parentheses around expression. [WARNING] checkstyle:check violations detected but failOnViolation set to false [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-test-source (add-test-source) @ phoenix-pherf --- [INFO] Test Source directory: /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/src/it/java added. [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-test-resource (add-test-resource) @ phoenix-pherf --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ phoenix-pherf --- [INFO] artifact junit:junit-dep: checking for updates from apache release [INFO] artifact junit:junit-dep: checking for updates from conjars.org [INFO] artifact junit:junit-dep: checking for updates from apache snapshot [INFO] artifact junit:junit-dep: checking for updates from sonatype-nexus-snapshots [INFO] artifact junit:junit-dep: checking for updates from central [INFO] artifact junit:junit: checking for updates from apache release [INFO] artifact junit:junit: checking for updates from conjars.org [INFO] artifact junit:junit: checking for updates from apache snapshot [INFO] artifact junit:junit: checking for updates from sonatype-nexus-snapshots [INFO] artifact junit:junit: checking for updates from central [INFO] artifact commons-io:commons-io: checking for updates from apache release [INFO] artifact commons-io:commons-io: checking for updates from conjars.org [INFO] artifact commons-io:commons-io: checking for updates from apache snapshot [INFO] artifact commons-io:commons-io: checking for updates from sonatype-nexus-snapshots [INFO] artifact commons-io:commons-io: checking for updates from central [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ phoenix-pherf --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ phoenix-pherf --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 62 source files to /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/target/classes [WARNING] /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/result/ThreadTime.java: Some input files use unchecked or unsafe operations. [WARNING] /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/src/main/java/org/apache/phoenix/pherf/result/ThreadTime.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-dependency-plugin:2.1:build-classpath (create-mrapp-generated-classpath) @ phoenix-pherf --- [INFO] Wrote classpath file '/x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/target/classes/mrapp-generated-classpath'. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ phoenix-pherf --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] Copying 5 resources [INFO] skip non existing resourceDirectory /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/src/it/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ phoenix-pherf --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 13 source files to /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/target/test-classes [WARNING] /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/src/test/java/org/apache/phoenix/pherf/RowCalculatorTest.java: /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/src/test/java/org/apache/phoenix/pherf/RowCalculatorTest.java uses or overrides a deprecated API. [WARNING] /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/src/test/java/org/apache/phoenix/pherf/RowCalculatorTest.java: Recompile with -Xlint:deprecation for details. [WARNING] /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/src/test/java/org/apache/phoenix/pherf/RuleGeneratorTest.java: Some input files use unchecked or unsafe operations. [WARNING] /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/src/test/java/org/apache/phoenix/pherf/RuleGeneratorTest.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-surefire-plugin:2.18:test (default-test) @ phoenix-pherf --- [INFO] Surefire report directory: /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.phoenix.pherf.ResourceTest Running org.apache.phoenix.pherf.RuleGeneratorTest Running org.apache.phoenix.pherf.RowCalculatorTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in org.apache.phoenix.pherf.RowCalculatorTest Running org.apache.phoenix.pherf.ResultTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.569 sec - in org.apache.phoenix.pherf.ResourceTest Running org.apache.phoenix.pherf.ColumnTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.phoenix.pherf.ColumnTest Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.53 sec <<< FAILURE! - in org.apache.phoenix.pherf.RuleGeneratorTest testDateGenerator(org.apache.phoenix.pherf.RuleGeneratorTest) Time elapsed: 1.029 sec <<< FAILURE! java.lang.AssertionError: Value 2019-09-22T00:01:00.300Z is not before maxValue at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.phoenix.pherf.RuleGeneratorTest.assertDateBetween(RuleGeneratorTest.java:221) at org.apache.phoenix.pherf.RuleGeneratorTest.assertRandomDateValue(RuleGeneratorTest.java:135) at org.apache.phoenix.pherf.RuleGeneratorTest.testDateGenerator(RuleGeneratorTest.java:59) Running org.apache.phoenix.pherf.ConfigurationParserTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.154 sec - in org.apache.phoenix.pherf.ConfigurationParserTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.339 sec - in org.apache.phoenix.pherf.ResultTest Running org.apache.phoenix.pherf.PherfTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.516 sec - in org.apache.phoenix.pherf.PherfTest Running org.apache.phoenix.pherf.TestHBaseProps Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.104 sec - in org.apache.phoenix.pherf.TestHBaseProps Results : Failed tests: RuleGeneratorTest.testDateGenerator:59->assertRandomDateValue:135->assertDateBetween:221 Value 2019-09-22T00:01:00.300Z is not before maxValue Tests run: 21, Failures: 1, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Phoenix .................................... SUCCESS [3.526s] [INFO] Phoenix Core ...................................... SUCCESS [1:12:02.656s] [INFO] Phoenix - Flume ................................... SUCCESS [1:32.566s] [INFO] Phoenix - Pig ..................................... SUCCESS [2:37.201s] [INFO] Phoenix Query Server Client ....................... SUCCESS [1.893s] [INFO] Phoenix Query Server .............................. SUCCESS [2:04.509s] [INFO] Phoenix - Pherf ................................... FAILURE [17.384s] [INFO] Phoenix - Spark ................................... SKIPPED [INFO] Phoenix Assembly .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:18:40.155s [INFO] Finished at: Thu Jul 23 05:43:48 UTC 2015 [INFO] Final Memory: 71M/1098M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project phoenix-pherf: There are test failures. [ERROR] [ERROR] Please refer to /x1/jenkins/jenkins-slave/workspace/Phoenix-master/phoenix-pherf/target/surefire-reports for the individual test results. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :phoenix-pherf Build step 'Invoke top-level Maven targets' marked build as failure Archiving artifacts Sending artifact delta relative to Phoenix | Master #854 Archived 1158 artifacts Archive block size is 32768 Received 16643 blocks and 529334379 bytes Compression is 50.7% Took 5 min 20 sec Recording test results