You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@maven.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2019/07/02 21:35:23 UTC

Build failed in Jenkins: Maven TLP » maven-pmd-plugin » master #25

See https://builds.apache.org/job/maven-box/job/maven-pmd-plugin/job/master/25/

Changes:

* deploy SNAPSHOT only if  (env.BRANCH_NAME == 'master' && jdk == '8' &&
* deploy only os == linux
* deploy only with 3.6.x
* no need to execute tests twice..
* this one can deploy as well
* Update asfMavenTlpStdBuild.groovy
* no need to filter on maven version only one is used here

All tests passed

Build log:
[...truncated 12113 lines...]
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: 1 build failed. See console output above for details.
    at org.apache.maven.plugins.invoker.InvokerSession.handleFailures (InvokerSession.java:260)
    at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:137)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR] 
[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
[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): linux-jdk7-m3.6.x_build/target/surefire-reports/*.xml
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[INFO] run post-build script verify.groovy
[INFO]           MPMD-277-multi-module-check/pom.xml .............. SUCCESS (9.7 s)
[INFO] Building: MPMD-259-analysis-cache-auxclasspath/pom.xml
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.12.1-SNAPSHOT in source directory linux-jdk7-m3.6.x_build/src/main/java
[TASKS] Scanning folder '/home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2' for files matching the pattern 'linux-jdk7-m3.6.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
[TASKS] Computing warning deltas based on reference build #23
[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}: linux-jdk7-m3.6.x_build/target/invoker-reports/*.xml
[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): linux-jdk11-m3.6.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 linux-jdk11-m3.6.x_build/src/main/java
[TASKS] Scanning folder '/home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2' for files matching the pattern 'linux-jdk11-m3.6.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
[TASKS] Computing warning deltas based on reference build #23
[INFO] run post-build script verify.groovy
[INFO]           MPMD-266-typeresolution-aggregated/pom.xml ....... SUCCESS (14.2 s)
[INFO] Building: multi-module/pom.xml
[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}: linux-jdk11-m3.6.x_build/target/invoker-reports/*.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-259-analysis-cache-auxclasspath/pom.xml ..... SUCCESS (7.2 s)
[INFO] Building: MPMD-172/pom.xml
[INFO] run post-build script verify.bsh
[INFO]           multi-module/pom.xml ............................. SUCCESS (7.7 s)
[INFO] Building: MPMD-219-pmd-processing-error/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-172/pom.xml ................................. SUCCESS (6.1 s)
[INFO] Building: mpmd-138/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-219-pmd-processing-error/pom.xml ............ SUCCESS (4.3 s)
[INFO] Building: MPMD-128-xref-link/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-128-xref-link/pom.xml ....................... SUCCESS (6.2 s)
[INFO] Building: MPMD-244-logging/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-138/pom.xml ................................. SUCCESS (9.9 s)
[INFO] Building: MPMD-128-xref-link/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-244-logging/pom.xml ......................... SUCCESS (5.6 s)
[INFO] Building: mpmd-168-empty-report/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-128-xref-link/pom.xml ....................... SUCCESS (6.6 s)
[INFO] Building: mpmd-142/pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 1148 ms, Junit Publisher: 2081 ms, Open Task Scanner Publisher: 674 ms, Dependencies Fingerprint Publisher: 1 ms, Invoker Publisher: 29445 ms, Pipeline Graph Publisher: 1 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] }
[withMaven] Publishers: Generated Artifacts Publisher: 312 ms, Junit Publisher: 2084 ms, Open Task Scanner Publisher: 682 ms, Dependencies Fingerprint Publisher: 1 ms, Invoker Publisher: 29968 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[INFO]           mpmd-142/pom.xml ................................. SUCCESS (8.1 s)
[INFO] Building: mpmd-80-included/pom.xml
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch linux-jdk11-m3.6.x_build
[INFO] run post-build script verify.groovy
[INFO]           mpmd-168-empty-report/pom.xml .................... SUCCESS (10.5 s)
[INFO] Building: mpmd-168/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-80-included/pom.xml ......................... SUCCESS (6.8 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.6 s)
[INFO] Building: MPMD-181-no-benchmark/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-168/pom.xml ................................. SUCCESS (10.3 s)
[INFO] Building: mpmd-138/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-181-no-benchmark/pom.xml .................... SUCCESS (6.3 s)
[INFO] Building: mpmd-168-empty-report/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-138/pom.xml ................................. SUCCESS (9.9 s)
[INFO] Building: MPMD-280-JDK12/pom.xml
[INFO]           MPMD-280-JDK12/pom.xml ........................... SKIPPED due to JRE version
[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: 29, Failed: 0, Errors: 0, Skipped: 2
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  03:58 min
[INFO] Finished at: 2019-07-02T21:34:34Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2@tmp/withMavenb955986e/maven-spy-20190702-213035-5196175027329558021459.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact linux-jdk13-m3.6.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 linux-jdk13-m3.6.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
[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): linux-jdk13-m3.6.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 linux-jdk13-m3.6.x_build/src/main/java
[TASKS] Scanning folder '/home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2' for files matching the pattern 'linux-jdk13-m3.6.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
[TASKS] Computing warning deltas based on reference build #23
[INFO] run post-build script verify.groovy
[INFO]           mpmd-168-empty-report/pom.xml .................... SUCCESS (10.7 s)
[INFO] Building: MPMD-244-logging/pom.xml
[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}: linux-jdk13-m3.6.x_build/target/invoker-reports/*.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-244-logging/pom.xml ......................... SUCCESS (5.6 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: 30, Failed: 0, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:26 min
[INFO] Finished at: 2019-07-02T21:34:46Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2@tmp/withMavena1bed6a6/maven-spy-20190702-213018-8204180254260604542706.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact linux-jdk12-m3.6.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 linux-jdk12-m3.6.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
[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): linux-jdk12-m3.6.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 linux-jdk12-m3.6.x_build/src/main/java
[TASKS] Scanning folder '/home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2' for files matching the pattern 'linux-jdk12-m3.6.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
[TASKS] Computing warning deltas based on reference build #23
[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}: linux-jdk12-m3.6.x_build/target/invoker-reports/*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 1133 ms, Junit Publisher: 2072 ms, Open Task Scanner Publisher: 721 ms, Dependencies Fingerprint Publisher: 1 ms, Invoker Publisher: 28828 ms, Pipeline Graph Publisher: 1 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] }
[withMaven] Publishers: Generated Artifacts Publisher: 1134 ms, Junit Publisher: 2077 ms, Open Task Scanner Publisher: 677 ms, Dependencies Fingerprint Publisher: 1 ms, Invoker Publisher: 28308 ms, Pipeline Graph Publisher: 19 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

Build succeeded in Jenkins: Maven TLP » maven-pmd-plugin » master #27

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See https://builds.apache.org/job/maven-box/job/maven-pmd-plugin/job/master/27/

Changes:

* exclude more nodes with MAVEN_OPTS issues
* stop avoiding nodes with MAVEN_OPTS issue
* added archives
* added archives fix
* print disk space usage
* sh 'df -hT'
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins
* [MPMD-291] Upgrade to PMD 6.17.0
* [MPMD-292] - PMD Log is not always integrated into maven log
* [MPMD-293] - Fix integration test builds on jenkins

All tests passed

Build failed in Jenkins: Maven TLP » maven-pmd-plugin » master #26

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See https://builds.apache.org/job/maven-box/job/maven-pmd-plugin/job/master/26/

Changes:

* Add JDK 14 (latest)
* exclude nodes with MAVEN_OPTS issues
* exclude more nodes with MAVEN_OPTS issues

All tests passed

Build log:
[...truncated 6560 lines...]
[INFO]   The post-build script did not succeed. assert !pmdXml.exists()
       ||      |
       ||      true
       |/home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2/linux-jdk13-m3.6.x_build/target/it/MPMD-187/target/pmd.xml
       false
[INFO] Building: MPMD-243-excludeFromFailureFile/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-206-sourceDirectories-js/pom.xml ............ SUCCESS (4.9 s)
[INFO] Building: MPMD-181-no-benchmark/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-243-excludeFromFailureFile/pom.xml .......... SUCCESS (4.7 s)
[INFO] Building: MPMD-172/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-181-no-benchmark/pom.xml .................... SUCCESS (6.6 s)
[INFO] Building: MPMD-259-analysis-cache-auxclasspath/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-172/pom.xml ................................. SUCCESS (7.5 s)
[INFO] Building: MPMD-205-pmd-js-check/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-259-analysis-cache-auxclasspath/pom.xml ..... SUCCESS (7.6 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-pmd-plugin ---
[INFO] run post-build script verify.groovy
[INFO]           MPMD-205-pmd-js-check/pom.xml .................... SUCCESS (5.9 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: 1, Errors: 0, Skipped: 2
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  MPMD-187/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  04:59 min
[INFO] Finished at: 2019-07-26T20:24:48Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2@tmp/withMavende5d9a12/maven-spy-20190726-201949-3409918196898510645304.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) on project maven-pmd-plugin: 1 build failed. See console output above for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) on project maven-pmd-plugin: 1 build failed. See console output above for details.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:567)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: 1 build failed. See console output above for details.
    at org.apache.maven.plugins.invoker.InvokerSession.handleFailures (InvokerSession.java:260)
    at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:137)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:567)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR] 
[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
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[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): linux-jdk13-m3.6.x_build/target/surefire-reports/*.xml
Recording test results
[withMaven] Publishers: Generated Artifacts Publisher: 306 ms, Junit Publisher: 2044 ms, Open Task Scanner Publisher: 719 ms, Dependencies Fingerprint Publisher: 1 ms, Invoker Publisher: 29527 ms, Pipeline Graph Publisher: 1 ms
[INFO] 
[INFO] --- maven-invoker-plugin:3.1.0:verify (integration-test) @ maven-pmd-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 29, Failed: 1, Errors: 0, Skipped: 1
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  MPMD-187/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:31 min
[INFO] Finished at: 2019-07-26T20:24:52Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2@tmp/withMaven8186595b/maven-spy-20190726-201820-94310984537130789654440.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) on project maven-pmd-plugin: 1 build failed. See console output above for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.1.0:verify (integration-test) on project maven-pmd-plugin: 1 build failed. See console output above for details.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: 1 build failed. See console output above for details.
    at org.apache.maven.plugins.invoker.InvokerSession.handleFailures (InvokerSession.java:260)
    at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:137)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR] 
[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
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.12.1-SNAPSHOT in source directory linux-jdk13-m3.6.x_build/src/main/java
[Pipeline] // withMaven
[TASKS] Scanning folder '/home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2' for files matching the pattern 'linux-jdk13-m3.6.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
[Pipeline] cleanWs
[TASKS] Computing warning deltas based on reference build #23
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] cleanWs
[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}: linux-jdk13-m3.6.x_build/target/invoker-reports/*.xml
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[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): linux-jdk11-m3.6.x_build/target/surefire-reports/*.xml
Recording test results
[Pipeline] }
Failed in branch linux-jdk12-m3.6.x_build
[withMaven] openTasksPublisher - Scan Tasks for Maven artifact org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.12.1-SNAPSHOT in source directory linux-jdk11-m3.6.x_build/src/main/java
[TASKS] Scanning folder '/home/jenkins/jenkins-slave/workspace/aven-box_maven-pmd-plugin_master@2' for files matching the pattern 'linux-jdk11-m3.6.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
[TASKS] Computing warning deltas based on reference build #23
[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}: linux-jdk11-m3.6.x_build/target/invoker-reports/*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 312 ms, Junit Publisher: 2069 ms, Open Task Scanner Publisher: 670 ms, Dependencies Fingerprint Publisher: 1 ms, Invoker Publisher: 28690 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[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] }
Failed in branch linux-jdk13-m3.6.x_build
[withMaven] Publishers: Generated Artifacts Publisher: 305 ms, Junit Publisher: 2056 ms, Open Task Scanner Publisher: 677 ms, Dependencies Fingerprint Publisher: 1 ms, Invoker Publisher: 27459 ms
[Pipeline] // withMaven
[Pipeline] cleanWs
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] done
[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] }
Failed in branch linux-jdk11-m3.6.x_build
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] emailext