See https://builds.apache.org/job/maven-box/job/maven-pmd-plugin/job/MPMD-291/1/
No changes. All tests passed Build log: [...truncated 7158 lines...] [INFO] Compiling 23 source files to f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\classes [INFO] /f:/jenkins/jenkins-slave/workspace/en-box_maven-pmd-plugin_MPMD-291@2@2/windows-jdk7-m3.5.x_build/src/main/java/org/apache/maven/plugins/pmd/PmdReport.java: Some input files use or override a deprecated API. [INFO] /f:/jenkins/jenkins-slave/workspace/en-box_maven-pmd-plugin_MPMD-291@2@2/windows-jdk7-m3.5.x_build/src/main/java/org/apache/maven/plugins/pmd/PmdReport.java: Recompile with -Xlint:deprecation for details. [INFO] /f:/jenkins/jenkins-slave/workspace/en-box_maven-pmd-plugin_MPMD-291@2@2/windows-jdk7-m3.5.x_build/target/generated-sources/modello/org/apache/maven/plugins/pmd/model/io/xpp3/CpdXpp3Reader.java: Some input files use unchecked or unsafe operations. [INFO] /f:/jenkins/jenkins-slave/workspace/en-box_maven-pmd-plugin_MPMD-291@2@2/windows-jdk7-m3.5.x_build/target/generated-sources/modello/org/apache/maven/plugins/pmd/model/io/xpp3/CpdXpp3Reader.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-plugin-plugin:3.5.2:descriptor (default-descriptor) @ maven-pmd-plugin --- [INFO] Using 'UTF-8' encoding to read mojo source files. [INFO] java-annotations mojo extractor found 5 mojo descriptors. [INFO] java-javadoc mojo extractor found 0 mojo descriptor. [INFO] [INFO] --- animal-sniffer-maven-plugin:1.16:check (check-java-1.7-compat) @ maven-pmd-plugin --- [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0 [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ maven-pmd-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 71 resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ maven-pmd-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 10 source files to f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\test-classes [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ maven-pmd-plugin --- [INFO] Surefire report directory: f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\surefire-reports [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.maven.plugins.pmd.CpdReportTest [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.427 s - in org.apache.maven.plugins.pmd.CpdReportTest [INFO] Running org.apache.maven.plugins.pmd.CpdViolationCheckMojoTest [INFO] PMD version: 6.17.0 [INFO] You have 1 warning. For more details see: f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\test\unit\default-configuration\target\cpd.xml [INFO] PMD version: 6.17.0 [INFO] You have 1 CPD duplication. For more details see: f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\test\unit\default-configuration\target\cpd.xml [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.599 s - in org.apache.maven.plugins.pmd.CpdViolationCheckMojoTest [INFO] Running org.apache.maven.plugins.pmd.PmdReportTest SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. [WARNING] There are 1 PMD processing errors: [WARNING] F:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\src\test\resources\unit\processing-error\src\BrokenFile.java: PMDException: Error while parsing F:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\src\test\resources\unit\processing-error\src\BrokenFile.java [WARNING] There are 1 PMD processing errors: [WARNING] F:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\src\test\resources\unit\processing-error\src\BrokenFile.java: PMDException: Error while parsing F:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\src\test\resources\unit\processing-error\src\BrokenFile.java [ERROR] PMD processing errors: [ERROR] F:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\src\test\resources\unit\processing-error\src\BrokenFile.java: PMDException: Error while parsing F:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\src\test\resources\unit\processing-error\src\BrokenFile.java [INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.084 s - in org.apache.maven.plugins.pmd.PmdReportTest [INFO] Running org.apache.maven.plugins.pmd.PmdViolationCheckMojoTest [INFO] PMD version: 6.17.0 [INFO] PMD Warning: def.configuration.App:80 Rule:UselessParentheses Priority:4 Useless parentheses.. [INFO] PMD Warning: def.configuration.App2:22 Rule:UnusedImports Priority:4 Avoid unused imports such as 'java.io.File'. [INFO] PMD Warning: def.configuration.AppSample:58 Rule:UselessParentheses Priority:4 Useless parentheses.. [INFO] PMD Failure: def.configuration.App:31 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as 'unusedVar2'.. [INFO] PMD Failure: def.configuration.App:56 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: def.configuration.AppSample:27 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as 'unusedVar'.. [INFO] PMD Failure: def.configuration.AppSample:45 Rule:UnusedFormalParameter Priority:3 Avoid unused method parameters such as 'unusedParam'.. [INFO] PMD Failure: def.configuration.AppSample:45 Rule:UnusedPrivateMethod Priority:3 Avoid unused private methods such as 'unusedMethod(String)'.. [INFO] You have 5 PMD violations and 3 warnings. For more details see: f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\test\unit\default-configuration\target\pmd.xml [INFO] The build is not failed, since 5 violations are allowed (maxAllowedViolations). [INFO] PMD version: 6.17.0 [INFO] PMD Warning: def.configuration.App:80 Rule:UselessParentheses Priority:4 Useless parentheses.. [INFO] PMD Warning: def.configuration.App2:22 Rule:UnusedImports Priority:4 Avoid unused imports such as 'java.io.File'. [INFO] PMD Warning: def.configuration.AppSample:58 Rule:UselessParentheses Priority:4 Useless parentheses.. [INFO] PMD Failure: def.configuration.App:31 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as 'unusedVar2'.. [INFO] PMD Failure: def.configuration.App:56 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: def.configuration.AppSample:27 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as 'unusedVar'.. [INFO] PMD Failure: def.configuration.AppSample:45 Rule:UnusedFormalParameter Priority:3 Avoid unused method parameters such as 'unusedParam'.. [INFO] PMD Failure: def.configuration.AppSample:45 Rule:UnusedPrivateMethod Priority:3 Avoid unused private methods such as 'unusedMethod(String)'.. Caught expected message: You have 5 PMD violations and 3 warnings. For more details see: f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\test\unit\default-configuration\target\pmd.xml [INFO] PMD version: 6.17.0 [INFO] You have 8 warnings. For more details see: f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\test\unit\default-configuration\target\pmd.xml [INFO] PMD version: 6.17.0 [INFO] You have 8 warnings. For more details see: f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\test\unit\default-configuration\target\pmd.xml [INFO] PMD version: 6.17.0 [INFO] You have 8 warnings. For more details see: f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\test\unit\default-configuration\target\pmd.xml [INFO] PMD version: 6.17.0 [INFO] PMD Warning: def.configuration.App:80 Rule:UselessParentheses Priority:4 Useless parentheses.. [INFO] PMD Warning: def.configuration.App2:22 Rule:UnusedImports Priority:4 Avoid unused imports such as 'java.io.File'. [INFO] PMD Warning: def.configuration.AppSample:58 Rule:UselessParentheses Priority:4 Useless parentheses.. [INFO] PMD Failure: def.configuration.App:31 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as 'unusedVar2'.. [INFO] PMD Failure: def.configuration.App:56 Rule:EmptyCatchBlock Priority:3 Avoid empty catch blocks. [INFO] PMD Failure: def.configuration.AppSample:27 Rule:UnusedPrivateField Priority:3 Avoid unused private fields such as 'unusedVar'.. [INFO] PMD Failure: def.configuration.AppSample:45 Rule:UnusedFormalParameter Priority:3 Avoid unused method parameters such as 'unusedParam'.. [INFO] PMD Failure: def.configuration.AppSample:45 Rule:UnusedPrivateMethod Priority:3 Avoid unused private methods such as 'unusedMethod(String)'.. Caught expected message: You have 5 PMD violations and 3 warnings. For more details see: f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\test\unit\default-configuration\target\pmd.xml [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.867 s - in org.apache.maven.plugins.pmd.PmdViolationCheckMojoTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 42, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ maven-pmd-plugin --- [INFO] Building jar: f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\maven-pmd-plugin-3.12.1-SNAPSHOT.jar [INFO] [INFO] --- maven-plugin-plugin:3.5.2:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ maven-pmd-plugin --- [INFO] [INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ maven-pmd-plugin --- [INFO] Skipping because packaging 'maven-plugin' is not pom. [INFO] [INFO] --- maven-invoker-plugin:3.1.0:install (integration-test) @ maven-pmd-plugin --- [INFO] Installing f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\pom.xml to f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-pmd-plugin\3.12.1-SNAPSHOT\maven-pmd-plugin-3.12.1-SNAPSHOT.pom [INFO] Installing f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\maven-pmd-plugin-3.12.1-SNAPSHOT.jar to f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2\windows-jdk7-m3.5.x_build\target\local-repo\org\apache\maven\plugins\maven-pmd-plugin\3.12.1-SNAPSHOT\maven-pmd-plugin-3.12.1-SNAPSHOT.jar [INFO] [INFO] --- maven-invoker-plugin:3.1.0:integration-test (integration-test) @ maven-pmd-plugin --- [INFO] Building: empty-rulesets\pom.xml [INFO] run post-build script verify.groovy [INFO] empty-rulesets\pom.xml ........................... SUCCESS (23.9 s) [INFO] Building: MPMD-128-xref-link\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-128-xref-link\pom.xml ....................... SUCCESS (24.5 s) [INFO] Building: mpmd-138\pom.xml [INFO] run post-build script verify.groovy [INFO] mpmd-138\pom.xml ................................. SUCCESS (9.4 s) [INFO] Building: mpmd-142\pom.xml [INFO] mpmd-142\pom.xml ................................. SUCCESS (13.4 s) [INFO] Building: MPMD-163\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-163\pom.xml ................................. SUCCESS (7.3 s) [INFO] Building: MPMD-165\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-165\pom.xml ................................. SUCCESS (5.5 s) [INFO] Building: mpmd-168\pom.xml [INFO] run post-build script verify.groovy [INFO] mpmd-168\pom.xml ................................. SUCCESS (10.5 s) [INFO] Building: mpmd-168-empty-report\pom.xml [INFO] run post-build script verify.groovy [INFO] mpmd-168-empty-report\pom.xml .................... SUCCESS (11.4 s) [INFO] Building: MPMD-172\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-172\pom.xml ................................. SUCCESS (8.9 s) [INFO] Building: MPMD-181-benchmark\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-181-benchmark\pom.xml ....................... SUCCESS (5.5 s) [INFO] Building: MPMD-181-no-benchmark\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-181-no-benchmark\pom.xml .................... SUCCESS (6.0 s) [INFO] Building: MPMD-182\pom.xml [INFO] MPMD-182\pom.xml ................................. SKIPPED due to JRE version [INFO] Building: MPMD-187\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-187\pom.xml ................................. SUCCESS (5.0 s) [INFO] Building: MPMD-205-pmd-js-check\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-205-pmd-js-check\pom.xml .................... SUCCESS (8.4 s) [INFO] Building: MPMD-206-sourceDirectories-js\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-206-sourceDirectories-js\pom.xml ............ SUCCESS (4.4 s) [INFO] Building: MPMD-219-pmd-processing-error\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-219-pmd-processing-error\pom.xml ............ SUCCESS (4.7 s) [INFO] Building: MPMD-234-analysis-cache\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-234-analysis-cache\pom.xml .................. SUCCESS (10.1 s) [INFO] Building: MPMD-243-excludeFromFailureFile\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-243-excludeFromFailureFile\pom.xml .......... SUCCESS (4.2 s) [INFO] Building: MPMD-244-logging\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-244-logging\pom.xml ......................... SUCCESS (6.3 s) [INFO] Building: MPMD-253-xref-link-multi-module\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-253-xref-link-multi-module\pom.xml .......... SUCCESS (7.6 s) [INFO] Building: MPMD-258-multiple-executions\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-258-multiple-executions\pom.xml ............. SUCCESS (6.7 s) [INFO] Building: MPMD-259-analysis-cache-auxclasspath\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-259-analysis-cache-auxclasspath\pom.xml ..... SUCCESS (6.1 s) [INFO] Building: MPMD-266-typeresolution-aggregated\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-266-typeresolution-aggregated\pom.xml ....... SUCCESS (16.7 s) [INFO] Building: MPMD-268-deprecated-rules\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-268-deprecated-rules\pom.xml ................ SUCCESS (4.8 s) [INFO] Building: MPMD-270-JDK11\pom.xml [INFO] MPMD-270-JDK11\pom.xml ........................... SKIPPED due to JRE version [INFO] Building: MPMD-277-multi-module-check\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-277-multi-module-check\pom.xml .............. SUCCESS (8.9 s) [INFO] Building: MPMD-280-JDK12\pom.xml [INFO] MPMD-280-JDK12\pom.xml ........................... SKIPPED due to JRE version [INFO] Building: mpmd-80-included\pom.xml [INFO] run post-build script verify.groovy [INFO] mpmd-80-included\pom.xml ......................... SUCCESS (6.8 s) [INFO] Building: mpmd-80-not-included\pom.xml [INFO] run post-build script verify.groovy [INFO] mpmd-80-not-included\pom.xml ..................... SUCCESS (6.5 s) [INFO] Building: MPMD-89-232-typeresolution\pom.xml [INFO] run post-build script verify.groovy [INFO] MPMD-89-232-typeresolution\pom.xml ............... SUCCESS (5.7 s) [INFO] Building: multi-module\pom.xml [INFO] run post-build script verify.bsh [INFO] multi-module\pom.xml ............................. SUCCESS (8.1 s) [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-pmd-plugin --- [INFO] [INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ maven-pmd-plugin --- [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 28, Failed: 0, Errors: 0, Skipped: 3 [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19:56 min [INFO] Finished at: 2019-08-01T11:14:40-07:00 [INFO] Final Memory: 65M/830M [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2@tmp\withMavenb11e632d\maven-spy-20190801-105443-9923101674877886050014.log Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2@tmp\withMavenb11e632d\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2@tmp\withMavenb11e632d" [Pipeline] } [Pipeline] // dir [Pipeline] } [withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.5.x_build\pom.xml under org\apache\maven\plugins\maven-pmd-plugin\3.12.1-SNAPSHOT\maven-pmd-plugin-3.12.1-SNAPSHOT.pom [withMaven] artifactsPublisher - Archive artifact windows-jdk7-m3.5.x_build\target\maven-pmd-plugin-3.12.1-SNAPSHOT.jar under org\apache\maven\plugins\maven-pmd-plugin\3.12.1-SNAPSHOT\maven-pmd-plugin-3.12.1-SNAPSHOT.jar [Fast Archiver] No prior successful build to compare, so performing full copy of artifacts [withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.12.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk7-m3.5.x_build\target\surefire-reports\*.xml Recording test results [withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.12.1-SNAPSHOT in source directory windows-jdk7-m3.5.x_build\src\main\java [TASKS] Scanning folder 'f:\jenkins\jenkins-slave\workspace\en-box_maven-pmd-plugin_MPMD-291@2@2' for files matching the pattern 'windows-jdk7-m3.5.x_build\src\main\java\**\*' - excludes: null [TASKS] Found 14 files to scan for tasks [TASKS] Found 6 open tasks. Skipping warnings blame since pipelines do not have an SCM link.%n [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.12.1-SNAPSHOT(version: 3.12.1-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.1.0@integration-test integration-test}: windows-jdk7-m3.5.x_build\target\invoker-reports\*.xml [withMaven] Publishers: Generated Artifacts Publisher: 62 ms, Junit Publisher: 138 ms, Open Task Scanner Publisher: 73 ms, Dependencies Fingerprint Publisher: 1 ms, Invoker Publisher: 10384 ms, Pipeline Graph Publisher: 21 ms [Pipeline] // withMaven [Pipeline] cleanWs [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // parallel [Pipeline] stage [Pipeline] { (Notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] emailext
