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 2020/10/27 17:21:08 UTC

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

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

Changes:

* remove httpclient

All tests passed

Build log:
[...truncated 5867 lines...]
[Pipeline] // ws
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Failed in branch windows-jdk8-m3.6.x_build
[INFO] run post-build script verify.groovy
[INFO]           MPMD-295-JDK13\pom.xml ........................... SUCCESS (5.5 s)
[INFO] Building: MPMD-296-rulesetsTargetDirectory\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-296-rulesetsTargetDirectory\pom.xml ......... SUCCESS (18.7 s)
[INFO] Building: MPMD-302-JDK14\pom.xml
[INFO]           MPMD-302-JDK14\pom.xml ........................... SKIPPED due to JRE version
[INFO] Building: MPMD-302-JDK15\pom.xml
[INFO]           MPMD-302-JDK15\pom.xml ........................... SKIPPED due to JRE version
[INFO] Building: MPMD-304-toolchain-support\pom.xml
[INFO] run selector script selector.groovy
[INFO] run post-build script verify.groovy
[INFO]   The post-build script did not succeed. assert buildLog.text.contains( '[INFO] Toolchain in maven-pmd-plugin: JDK[' )
       |        |    |
       |        |    false
       |        Running selector script: f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2\windows-jdk11-m3.6.x_build\target\it\MPMD-304-toolchain-support\selector.groovy
       |        INFO: Copying C:\Users\jenkins\.m2\toolchains.xml to f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2\windows-jdk11-m3.6.x_build\target\it\MPMD-304-toolchain-support\toolchains.xml
       |        INFO: Found toolchain: toolchain[attributes={}; value=[type[attributes={}; value=[jdk]], provides[attributes={}; value=[version[attributes={}; value=[11]], vendor[attributes={}; value=[oracle]]]], configuration[attributes={}; value=[jdkHome[attributes={}; value=[F:\\jenkins\\tools\\java\\latest11\\]]]]]]
       |        Finished selector script: f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2\windows-jdk11-m3.6.x_build\target\it\MPMD-304-toolchain-support\selector.groovy
       |        Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2@tmp\withMavenab760031\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2@tmp\withMavenab760031" 
       |        [INFO] [jenkins-event-spy] Jenkins Maven Event Spy is disabled
       |        [INFO] Scanning for projects...
       |        [INFO] 
       |        [INFO] -----< org.apache.maven.plugins.pmd.it:MPMD-304-toolchain-support >-----
       |        [INFO] Building MPMD-304-toolchain-support 1.0-SNAPSHOT
       |        [INFO] --------------------------------[ jar ]---------------------------------
       |        [INFO] Downloading from local.central: file:///f:/jenkins/jenkins-slave/712657a4/workspace/.maven_repositories/0/org/apache/maven/plugins/maven-toolchains-plugin/3.0.0/maven-toolchains-plugin-3.0.0.pom
       |        [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-toolchains-plugin/3.0.0/maven-toolchains-plugin-3.0.0.pom
       |        [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-toolchains-plugin/3.0.0/maven-toolchains-plugin-3.0.0.pom (3.6 kB at 9.6 kB/s)
       |        [INFO] Downloading from local.central: file:///f:/jenkins/jenkins-slave/712657a4/workspace/.maven_repositories/0/org/apache/maven/plugins/maven-toolchains-plugin/3.0.0/maven-toolchains-plugin-3.0.0.jar
       |        [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-toolchains-plugin/3.0.0/maven-toolchains-plugin-3.0.0.jar
       |        [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-toolchains-plugin/3.0.0/maven-toolchains-plugin-3.0.0.jar (24 kB at 380 kB/s)
       |        [INFO] 
       |        [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ MPMD-304-toolchain-support ---
       |        [INFO] 
       |        [INFO] --- maven-toolchains-plugin:3.0.0:toolchain (default) @ MPMD-304-toolchain-support ---
       |        [INFO] Required toolchain: jdk [ vendor='oracle' version='11' ]
       |        [INFO] ------------------------------------------------------------------------
       |        [INFO] BUILD FAILURE
       |        [INFO] ------------------------------------------------------------------------
       |        [INFO] Total time:  1.704 s
       |        [INFO] Finished at: 2020-10-27T10:19:35-07:00
       |        [INFO] ------------------------------------------------------------------------
       |        [ERROR] Failed to execute goal org.apache.maven.plugins:maven-toolchains-plugin:3.0.0:toolchain (default) on project MPMD-304-toolchain-support: Misconfigured toolchains. Non-existing JDK home configuration at F:\jenkins\tools\java\latest1.9 -> [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/MojoExecutionException
       |        Running post-build script: f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2\windows-jdk11-m3.6.x_build\target\it\MPMD-304-toolchain-support\verify.groovy
       f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2\windows-jdk11-m3.6.x_build\target\it\MPMD-304-toolchain-support\build.log
[INFO]           MPMD-304-toolchain-support\pom.xml ............... FAILED (4.1 s)
[INFO] Building: mpmd-80-included\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-80-included\pom.xml ......................... SUCCESS (7.8 s)
[INFO] Building: mpmd-80-not-included\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-296-rulesetsTargetDirectory\pom.xml ......... SUCCESS (21.9 s)
[INFO] Building: MPMD-302-JDK14\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-302-JDK14\pom.xml ........................... SUCCESS (5.7 s)
[INFO] Building: MPMD-302-JDK15\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-80-not-included\pom.xml ..................... SUCCESS (7.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.6 s)
[INFO] Building: multi-module\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-302-JDK15\pom.xml ........................... SUCCESS (6.0 s)
[INFO] Building: MPMD-304-toolchain-support\pom.xml
[INFO] run selector script selector.groovy
[INFO] run post-build script verify.bsh
[INFO]           multi-module\pom.xml ............................. SUCCESS (10.6 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-pmd-plugin ---
[INFO] 
[INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ maven-pmd-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 33, Failed: 1, Errors: 0, Skipped: 4
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  MPMD-304-toolchain-support\pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:26 min
[INFO] Finished at: 2020-10-27T10:20:09-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2@tmp\withMavenab760031\maven-spy-20201027-101342-81311837519541979819887.log
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:3.2.1: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.2.1: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: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: 1 build failed. See console output above for details.
    at org.apache.maven.plugins.invoker.InvokerSession.handleFailures (InvokerSession.java:259)
    at org.apache.maven.plugins.invoker.VerifyMojo.execute (VerifyMojo.java:140)
    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: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] }
[INFO] run post-build script verify.groovy
[INFO]           MPMD-304-toolchain-support\pom.xml ............... SUCCESS (11.7 s)
[INFO] Building: mpmd-80-included\pom.xml
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.15.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-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.15.0-SNAPSHOT in source directory windows-jdk11-m3.6.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2' for files matching the pattern 'windows-jdk11-m3.6.x_build\src\main\java\**\*' - excludes: null
[TASKS] Found 21 files to scan for tasks
[TASKS] Found 8 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #28
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.15.0-SNAPSHOT(version: 3.15.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test  integration-test}: windows-jdk11-m3.6.x_build\target\invoker-reports\*.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-80-included\pom.xml ......................... SUCCESS (8.2 s)
[INFO] Building: mpmd-80-not-included\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-80-not-included\pom.xml ..................... SUCCESS (7.9 s)
[INFO] Building: MPMD-89-232-typeresolution\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-89-232-typeresolution\pom.xml ............... SUCCESS (6.1 s)
[INFO] Building: multi-module\pom.xml
[withMaven] Publishers: Generated Artifacts Publisher: 65 ms, Junit Publisher: 529 ms, Open Task Scanner Publisher: 170 ms, Invoker Publisher: 20356 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 windows-jdk11-m3.6.x_build
[INFO] run post-build script verify.bsh
[INFO]           multi-module\pom.xml ............................. SUCCESS (11.5 s)
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ maven-pmd-plugin ---
[INFO] 
[INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ maven-pmd-plugin ---
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 38, Failed: 0, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  07:01 min
[INFO] Finished at: 2020-10-27T10:20:44-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2@tmp\withMavenb78da861\maven-spy-20201027-101342-9741678122048562604133.log
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[withMaven] artifactsPublisher - Archive artifact windows-jdk15-m3.6.x_build\pom.xml under org\apache\maven\plugins\maven-pmd-plugin\3.15.0-SNAPSHOT\maven-pmd-plugin-3.15.0-SNAPSHOT.pom
[withMaven] artifactsPublisher - Archive artifact windows-jdk15-m3.6.x_build\target\maven-pmd-plugin-3.15.0-SNAPSHOT.jar under org\apache\maven\plugins\maven-pmd-plugin\3.15.0-SNAPSHOT\maven-pmd-plugin-3.15.0-SNAPSHOT.jar
[Fast Archiver] Compressed 149.47 KB of artifacts by 42.8% relative to #28
[withMaven] junitPublisher - Archive test results for Maven artifact org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.15.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): windows-jdk15-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.15.0-SNAPSHOT in source directory windows-jdk15-m3.6.x_build\src\main\java
[TASKS] Scanning folder 'f:\jenkins\jenkins-slave\712657a4\workspace\aven-box_maven-pmd-plugin_master@2' for files matching the pattern 'windows-jdk15-m3.6.x_build\src\main\java\**\*' - excludes: null
[TASKS] Found 21 files to scan for tasks
[TASKS] Found 8 open tasks.
Skipping warnings blame since pipelines do not have an SCM link.%n
[TASKS] Computing warning deltas based on reference build #28
[withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.15.0-SNAPSHOT(version: 3.15.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test  integration-test}: windows-jdk15-m3.6.x_build\target\invoker-reports\*.xml
[withMaven] Publishers: Generated Artifacts Publisher: 599 ms, Junit Publisher: 822 ms, Open Task Scanner Publisher: 197 ms, Invoker Publisher: 18870 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] }
[Pipeline] // parallel
[Pipeline] stage
[Pipeline] { (Notifications)
[Pipeline] echo
Build result: FAILURE
[Pipeline] jiraIssueSelector
[Pipeline] echo
The authors of changes [elharo].
[Pipeline] echo
Sending email ...
[Pipeline] emailext