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:32:02 UTC

Build failed in Jenkins: Maven » Maven TLP » maven-pmd-plugin » io2 #2

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

Changes:

* remove httpclient

All tests passed

Build log:
[...truncated 5607 lines...]
[INFO] run post-build script verify.groovy
[INFO]           MPMD-163\pom.xml ................................. SUCCESS (6.5 s)
[INFO] Building: MPMD-165\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-165\pom.xml ................................. SUCCESS (5.7 s)
[INFO] Building: mpmd-168\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-168\pom.xml ................................. SUCCESS (12.6 s)
[INFO] Building: mpmd-168-empty-report\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           mpmd-168-empty-report\pom.xml .................... SUCCESS (10.5 s)
[INFO] Building: MPMD-172\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-172\pom.xml ................................. SUCCESS (8.7 s)
[INFO] Building: MPMD-181-benchmark\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-181-benchmark\pom.xml ....................... SUCCESS (7.0 s)
[INFO] Building: MPMD-181-no-benchmark\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-181-no-benchmark\pom.xml .................... SUCCESS (7.8 s)
[INFO] Building: MPMD-182\pom.xml
[INFO]           MPMD-182\pom.xml ................................. SUCCESS (7.1 s)
[INFO] Building: MPMD-187\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-187\pom.xml ................................. SUCCESS (4.9 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 (7.9 s)
[INFO] Building: MPMD-206-sourceDirectories-js\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-206-sourceDirectories-js\pom.xml ............ SUCCESS (5.2 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 (5.1 s)
[INFO] Building: MPMD-234-analysis-cache\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-234-analysis-cache\pom.xml .................. SUCCESS (14.4 s)
[INFO] Building: MPMD-243-excludeFromFailureFile\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-243-excludeFromFailureFile\pom.xml .......... SUCCESS (4.5 s)
[INFO] Building: MPMD-244-logging\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-244-logging\pom.xml ......................... SUCCESS (7.8 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.0 s)
[INFO] Building: MPMD-258-multiple-executions\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-258-multiple-executions\pom.xml ............. SUCCESS (8.1 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 (8.7 s)
[INFO] Building: MPMD-266-typeresolution-aggregated\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-266-typeresolution-aggregated\pom.xml ....... SUCCESS (17.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 (6.4 s)
[INFO] Building: MPMD-270-JDK11\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-270-JDK11\pom.xml ........................... SUCCESS (6.9 s)
[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 (10.1 s)
[INFO] Building: MPMD-280-JDK12\pom.xml
[INFO]           MPMD-280-JDK12\pom.xml ........................... SKIPPED due to JRE version
[INFO] Building: MPMD-289-format-html-check\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-289-format-html-check\pom.xml ............... SUCCESS (5.8 s)
[INFO] Building: MPMD-290-cpd-for-csharp\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-290-cpd-for-csharp\pom.xml .................. SUCCESS (6.4 s)
[INFO] Building: MPMD-295-JDK13\pom.xml
[INFO]           MPMD-295-JDK13\pom.xml ........................... SKIPPED due to JRE version
[INFO] Building: MPMD-296-rulesetsTargetDirectory\pom.xml
[INFO] run post-build script verify.groovy
[INFO]           MPMD-296-rulesetsTargetDirectory\pom.xml ......... SUCCESS (20.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\n_maven-box_maven-pmd-plugin_io2@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\n_maven-box_maven-pmd-plugin_io2@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\n_maven-box_maven-pmd-plugin_io2@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\n_maven-box_maven-pmd-plugin_io2@2@tmp\withMavenf50d4583\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="f:\jenkins\jenkins-slave\712657a4\workspace\n_maven-box_maven-pmd-plugin_io2@2@tmp\withMavenf50d4583" 
       |        [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.7 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 357 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.933 s
       |        [INFO] Finished at: 2020-10-27T10:31:05-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\n_maven-box_maven-pmd-plugin_io2@2\windows-jdk11-m3.6.x_build\target\it\MPMD-304-toolchain-support\verify.groovy
       f:\jenkins\jenkins-slave\712657a4\workspace\n_maven-box_maven-pmd-plugin_io2@2\windows-jdk11-m3.6.x_build\target\it\MPMD-304-toolchain-support\build.log
[INFO]           MPMD-304-toolchain-support\pom.xml ............... FAILED (4.4 s)
[INFO] Building: mpmd-80-included\pom.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.7 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.2 s)
[INFO] Building: multi-module\pom.xml
[INFO] run post-build script verify.bsh
[INFO]           multi-module\pom.xml ............................. SUCCESS (11.9 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:14 min
[INFO] Finished at: 2020-10-27T10:31:41-07:00
[INFO] ------------------------------------------------------------------------
[INFO] [jenkins-event-spy] Generated F:\jenkins\jenkins-slave\712657a4\workspace\n_maven-box_maven-pmd-plugin_io2@2@tmp\withMavenf50d4583\maven-spy-20201027-102526-7892982037775191150028.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] }
[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.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\n_maven-box_maven-pmd-plugin_io2@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
[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
[withMaven] Publishers: Generated Artifacts Publisher: 29 ms, Junit Publisher: 508 ms, Open Task Scanner Publisher: 189 ms, Invoker Publisher: 19423 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
[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