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 2022/08/20 07:15:14 UTC

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

See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven-pmd-plugin/job/master/49/

Changes:

* [maven-release-plugin] prepare release maven-pmd-plugin-3.18.0
* [maven-release-plugin] prepare for next development iteration

All tests passed

Build log:
[...truncated 43978 lines...]
[ERROR] *  MPMD-163/pom.xml
[ERROR] *  MPMD-243-excludeFromFailureFile/pom.xml
[ERROR] *  mpmd-80-included/pom.xml
[ERROR] *  MPMD-182/pom.xml
[ERROR] *  MPMD-172/pom.xml
[ERROR] *  MPMD-312-JDK17/pom.xml
[ERROR] *  MPMD-323-ruleset-basedir-jgitver/pom.xml
[ERROR] *  mpmd-168-empty-report/pom.xml
[ERROR] *  MPMD-268-deprecated-rules/pom.xml
[ERROR] *  MPMD-270-325-JDK11/pom.xml
[INFO] -------------------------------------------------
[WARNING] The following builds were skipped:
[WARNING] *  MPMD-332-JDK18/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:10 min
[INFO] Finished at: 2022-08-20T07:14:21Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/jenkins/jenkins-home/workspace/aven-box_maven-pmd-plugin_master@3@2@tmp/withMavenc4bcd39d/maven-spy-20220820-070810-172764040403295178310.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.3.0:verify (integration-test) on project maven-pmd-plugin: 45 builds 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.3.0:verify (integration-test) on project maven-pmd-plugin: 45 builds 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:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoFailureException: 45 builds failed. See console output above for details.
    at org.apache.maven.plugins.invoker.InvokerSession.handleFailures (InvokerSession.java:285)
    at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:153)
    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:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[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.18.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): linux-jdk17-m3.6.x_build/target/surefire-reports/*.xml
Recording test results
[INFO] run post-build script verify.groovy
[INFO]           MPMD-277-multi-module-check/pom.xml .............. SUCCESS (9.5 s)
[INFO] Building: MPMD-268-deprecated-rules/pom.xml
[withMaven] Jenkins Task Scanner Plugin not found, don't display results of source code scanning for 'TODO' and 'FIXME' in pipeline screen.
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.18.1-SNAPSHOT(version: 3.18.1-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.3.0@integration-test  integration-test}: linux-jdk17-m3.6.x_build/target/invoker-reports/*.xml
ERROR: [withMaven] invokerPublisher - Silently ignore exception archiving Invoker runs for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.18.1-SNAPSHOT(version: 3.18.1-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.3.0@integration-test  integration-test}: java.io.IOException: Unknown attribute 'buildlog' for tag 'build-job' (position: START_TAG seen .../linux-jdk17-m3.6.x_build/target/it/MPMD-128-xref-link/build.log">... @2:261) 
[withMaven] Publishers: Generated Artifacts Publisher: 8 ms, Junit Publisher: 106 ms, Open Task Scanner Publisher: 1 ms, Invoker Publisher: 162 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-jdk17-m3.6.x_build
[INFO] run post-build script verify.groovy
[INFO]           MPMD-318-auxclasspath-includeTests/pom.xml ....... SUCCESS (17.9 s)
[INFO] Building: MPMD-206-sourceDirectories-js/pom.xml
[INFO]           MPMD-206-sourceDirectories-js/pom.xml ............ SKIPPED due to Maven version
[INFO] Building: MPMD-283-aggregated-pmd/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-268-deprecated-rules/pom.xml ................ SUCCESS (7.3 s)
[INFO] Building: mpmd-80-not-included/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-283-aggregated-pmd/pom.xml .................. SUCCESS (11.0 s)
[INFO] Building: mpmd-80-included/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-80-not-included/pom.xml ..................... SUCCESS (9.3 s)
[INFO] Building: MPMD-234-analysis-cache/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-80-included/pom.xml ......................... SUCCESS (7.4 s)
[INFO] Building: multi-module/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-234-analysis-cache/pom.xml .................. SUCCESS (11.2 s)
[INFO] Building: MPMD-259-analysis-cache-auxclasspath/pom.xml
[INFO] run post-build script verify.bsh
[INFO]           multi-module/pom.xml ............................. SUCCESS (8.9 s)
[INFO] Building: empty-rulesets/pom.xml
[INFO] run post-build script verify.groovy
[INFO]           empty-rulesets/pom.xml ........................... SUCCESS (4.9 s)
[INFO] 
[INFO] --- maven-invoker-plugin:3.3.0:verify (integration-test) @ maven-pmd-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 36, Failed: 0, Errors: 0, Skipped: 11
[INFO] -------------------------------------------------
[WARNING] The following builds were skipped:
[WARNING] *  MPMD-302-JDK14/pom.xml
[WARNING] *  MPMD-332-JDK18/pom.xml
[WARNING] *  MPMD-295-JDK13/pom.xml
[WARNING] *  MPMD-280-JDK12/pom.xml
[WARNING] *  MPMD-302-JDK15/pom.xml
[WARNING] *  MPMD-270-325-JDK11/pom.xml
[WARNING] *  MPMD-323-ruleset-basedir-jgitver/pom.xml
[WARNING] *  MPMD-312-JDK17/pom.xml
[WARNING] *  MPMD-290-cpd-for-csharp/pom.xml
[WARNING] *  MPMD-206-sourceDirectories-js/pom.xml
[WARNING] *  MPMD-312-JDK16/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:39 min
[INFO] Finished at: 2022-08-20T07:14:59+00:00
[INFO] run post-build script verify.groovy
[INFO]           MPMD-259-analysis-cache-auxclasspath/pom.xml ..... SUCCESS (9.6 s)
[INFO] Building: MPMD-243-excludeFromFailureFile/pom.xml
[INFO] Final Memory: 126M/1663M
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/jenkins/h49-shared/82467a7c/workspace/aven-box_maven-pmd-plugin_master@3@tmp/withMaven6fc20d1e/maven-spy-20220820-070819-5682774016595196599418.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact linux-jdk8-m3.2.x_build/pom.xml under org/apache/maven/plugins/maven-pmd-plugin/3.18.1-SNAPSHOT/maven-pmd-plugin-3.18.1-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact linux-jdk8-m3.2.x_build/target/maven-pmd-plugin-3.18.1-SNAPSHOT.jar under org/apache/maven/plugins/maven-pmd-plugin/3.18.1-SNAPSHOT/maven-pmd-plugin-3.18.1-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.18.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): linux-jdk8-m3.2.x_build/target/surefire-reports/*.xml
Recording test results
[withMaven] Jenkins Task Scanner Plugin not found, don't display results of source code scanning for 'TODO' and 'FIXME' in pipeline screen.
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.18.1-SNAPSHOT(version: 3.18.1-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.3.0@integration-test  integration-test}: linux-jdk8-m3.2.x_build/target/invoker-reports/*.xml
ERROR: [withMaven] invokerPublisher - Silently ignore exception archiving Invoker runs for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.18.1-SNAPSHOT(version: 3.18.1-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.3.0@integration-test  integration-test}: java.io.IOException: Unknown attribute 'buildlog' for tag 'build-job' (position: START_TAG seen ...linux-jdk8-m3.2.x_build/target/it/MPMD-128-xref-link/build.log" />... @2:257) 
[INFO] run post-build script verify.groovy
[INFO]           MPMD-243-excludeFromFailureFile/pom.xml .......... SUCCESS (5.0 s)
[INFO] Building: MPMD-295-JDK13/pom.xml
[INFO]           MPMD-295-JDK13/pom.xml ........................... SKIPPED due to JRE version
[INFO] Building: MPMD-182/pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 720 ms, Junit Publisher: 1392 ms, Open Task Scanner Publisher: 14 ms, Invoker Publisher: 690 ms, Pipeline Graph Publisher: 2 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] }
[INFO]           MPMD-182/pom.xml ................................. SUCCESS (8.2 s)
[INFO] Building: MPMD-280-JDK12/pom.xml
[INFO]           MPMD-280-JDK12/pom.xml ........................... SKIPPED due to JRE version
[INFO] Building: MPMD-312-JDK17/pom.xml
[INFO]           MPMD-312-JDK17/pom.xml ........................... SKIPPED due to JRE version
[INFO] 
[INFO] --- maven-invoker-plugin:3.3.0:verify (integration-test) @ maven-pmd-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 38, Failed: 0, Errors: 0, Skipped: 9
[INFO] -------------------------------------------------
[WARNING] The following builds were skipped:
[WARNING] *  MPMD-280-JDK12/pom.xml
[WARNING] *  MPMD-295-JDK13/pom.xml
[WARNING] *  MPMD-302-JDK15/pom.xml
[WARNING] *  MPMD-302-JDK14/pom.xml
[WARNING] *  MPMD-332-JDK18/pom.xml
[WARNING] *  MPMD-312-JDK16/pom.xml
[WARNING] *  MPMD-312-JDK17/pom.xml
[WARNING] *  MPMD-323-ruleset-basedir-jgitver/pom.xml
[WARNING] *  MPMD-270-325-JDK11/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  07:04 min
[INFO] Finished at: 2022-08-20T07:15:12Z
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated /home/jenkins/jenkins-home/workspace/aven-box_maven-pmd-plugin_master@3@2@tmp/withMavenfabc2dbd/maven-spy-20220820-070808-245687767041810906187.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact linux-jdk8-m3.8.x_build/pom.xml under org/apache/maven/plugins/maven-pmd-plugin/3.18.1-SNAPSHOT/maven-pmd-plugin-3.18.1-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact linux-jdk8-m3.8.x_build/target/maven-pmd-plugin-3.18.1-SNAPSHOT.jar under org/apache/maven/plugins/maven-pmd-plugin/3.18.1-SNAPSHOT/maven-pmd-plugin-3.18.1-SNAPSHOT.jar
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.18.1-SNAPSHOT generated by maven-surefire-plugin:test (default-test): linux-jdk8-m3.8.x_build/target/surefire-reports/*.xml
Recording test results
[withMaven] Jenkins Task Scanner Plugin not found, don't display results of source code scanning for 'TODO' and 'FIXME' in pipeline screen.
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.18.1-SNAPSHOT(version: 3.18.1-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.3.0@integration-test  integration-test}: linux-jdk8-m3.8.x_build/target/invoker-reports/*.xml
ERROR: [withMaven] invokerPublisher - Silently ignore exception archiving Invoker runs for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.18.1-SNAPSHOT(version: 3.18.1-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.3.0@integration-test  integration-test}: java.io.IOException: Unknown attribute 'buildlog' for tag 'build-job' (position: START_TAG seen ...linux-jdk8-m3.8.x_build/target/it/MPMD-128-xref-link/build.log" />... @2:253) 
[withMaven] Publishers: Generated Artifacts Publisher: 98 ms, Junit Publisher: 66 ms, Open Task Scanner Publisher: 1 ms, Invoker Publisher: 124 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] echo
The authors of changes [michaelo].
[Pipeline] echo
Sending email ...
[Pipeline] emailext