See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-pmd-plugin/job/mpmd-304/9/
Changes: * Create a custom selector script for toolchains All tests passed Build log: [...truncated 30409 lines...] [DEBUG] org.apache.httpcomponents:httpcore:jar:4.0.1:compile [DEBUG] commons-codec:commons-codec:jar:1.3:compile [DEBUG] commons-validator:commons-validator:jar:1.3.1:compile [DEBUG] commons-digester:commons-digester:jar:1.6:compile [DEBUG] commons-logging:commons-logging:jar:1.0.4:compile [DEBUG] org.apache.maven.doxia:doxia-sink-api:jar:1.4:compile [DEBUG] org.apache.maven.doxia:doxia-logging-api:jar:1.4:compile [DEBUG] org.apache.maven.doxia:doxia-decoration-model:jar:1.4:compile [DEBUG] org.apache.maven.doxia:doxia-site-renderer:jar:1.4:compile [DEBUG] org.apache.maven.doxia:doxia-module-xhtml:jar:1.4:compile [DEBUG] org.apache.maven.doxia:doxia-module-fml:jar:1.4:compile [DEBUG] org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7:compile [DEBUG] org.apache.velocity:velocity-tools:jar:2.0:compile [DEBUG] commons-chain:commons-chain:jar:1.1:compile [DEBUG] dom4j:dom4j:jar:1.1:compile [DEBUG] sslext:sslext:jar:1.2-0:compile [DEBUG] org.apache.struts:struts-core:jar:1.3.8:compile [DEBUG] org.apache.struts:struts-taglib:jar:1.3.8:compile [DEBUG] org.apache.struts:struts-tiles:jar:1.3.8:compile [DEBUG] org.apache.maven.doxia:doxia-integration-tools:jar:1.6:compile [DEBUG] commons-io:commons-io:jar:1.4:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9:compile [DEBUG] junit:junit:jar:3.8.1:compile [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.6:compile [DEBUG] org.codehaus.plexus:plexus-resources:jar:1.1.0:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.24:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.24:compile [DEBUG] org.codehaus.plexus:plexus-velocity:jar:1.1.8:compile [DEBUG] com.puppycrawl.tools:checkstyle:jar:6.18:compile [DEBUG] antlr:antlr:jar:2.7.7:compile [DEBUG] org.antlr:antlr4-runtime:jar:4.5.3:compile [DEBUG] commons-beanutils:commons-beanutils:jar:1.9.2:compile [DEBUG] commons-cli:commons-cli:jar:1.3.1:compile [DEBUG] com.google.guava:guava:jar:19.0:compile [DEBUG] org.apache.velocity:velocity:jar:1.5:compile [DEBUG] commons-lang:commons-lang:jar:2.1:compile [DEBUG] oro:oro:jar:2.0.8:compile [DEBUG] commons-collections:commons-collections:jar:3.2.1:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0 [DEBUG] Included: org.apache.maven.plugins:maven-checkstyle-plugin:jar:3.0.0 [DEBUG] Included: org.apache.maven.shared:maven-shared-resources:jar:2 [DEBUG] Included: org.sonatype.aether:aether-util:jar:1.7 [DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-api:jar:3.0 [DEBUG] Included: org.apache.maven.reporting:maven-reporting-impl:jar:2.3 [DEBUG] Included: org.apache.maven.shared:maven-shared-utils:jar:0.6 [DEBUG] Included: com.google.code.findbugs:jsr305:jar:2.0.1 [DEBUG] Included: org.apache.maven.doxia:doxia-core:jar:1.2 [DEBUG] Included: xerces:xercesImpl:jar:2.9.1 [DEBUG] Included: xml-apis:xml-apis:jar:1.3.04 [DEBUG] Included: org.apache.httpcomponents:httpclient:jar:4.0.2 [DEBUG] Included: org.apache.httpcomponents:httpcore:jar:4.0.1 [DEBUG] Included: commons-codec:commons-codec:jar:1.3 [DEBUG] Included: commons-validator:commons-validator:jar:1.3.1 [DEBUG] Included: commons-digester:commons-digester:jar:1.6 [DEBUG] Included: commons-logging:commons-logging:jar:1.0.4 [DEBUG] Included: org.apache.maven.doxia:doxia-sink-api:jar:1.4 [DEBUG] Included: org.apache.maven.doxia:doxia-logging-api:jar:1.4 [DEBUG] Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.4 [DEBUG] Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.4 [DEBUG] Included: org.apache.maven.doxia:doxia-module-xhtml:jar:1.4 [DEBUG] Included: org.apache.maven.doxia:doxia-module-fml:jar:1.4 [DEBUG] Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-7 [DEBUG] Included: org.apache.velocity:velocity-tools:jar:2.0 [DEBUG] Included: commons-chain:commons-chain:jar:1.1 [DEBUG] Included: dom4j:dom4j:jar:1.1 [DEBUG] Included: sslext:sslext:jar:1.2-0 [DEBUG] Included: org.apache.struts:struts-core:jar:1.3.8 [DEBUG] Included: org.apache.struts:struts-taglib:jar:1.3.8 [DEBUG] Included: org.apache.struts:struts-tiles:jar:1.3.8 [DEBUG] Included: org.apache.maven.doxia:doxia-integration-tools:jar:1.6 [DEBUG] Included: commons-io:commons-io:jar:1.4 [DEBUG] Included: junit:junit:jar:3.8.1 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.6 [DEBUG] Included: org.codehaus.plexus:plexus-resources:jar:1.1.0 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.24 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.24 [DEBUG] Included: org.codehaus.plexus:plexus-velocity:jar:1.1.8 [DEBUG] Included: com.puppycrawl.tools:checkstyle:jar:6.18 [DEBUG] Included: antlr:antlr:jar:2.7.7 [DEBUG] Included: org.antlr:antlr4-runtime:jar:4.5.3 [DEBUG] Included: commons-beanutils:commons-beanutils:jar:1.9.2 [DEBUG] Included: commons-cli:commons-cli:jar:1.3.1 [DEBUG] Included: com.google.guava:guava:jar:19.0 [DEBUG] Included: org.apache.velocity:velocity:jar:1.5 [DEBUG] Included: commons-lang:commons-lang:jar:2.1 [DEBUG] Included: oro:oro:jar:2.0.8 [DEBUG] Included: commons-collections:commons-collections:jar:3.2.1 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0, parent: sun.misc.Launcher$AppClassLoader@29cd761a] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check' with basic configurator --> [DEBUG] (f) cacheFile = /home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/target/checkstyle-cachefile [DEBUG] (f) configLocation = config/maven_checks.xml [DEBUG] (f) consoleOutput = false [DEBUG] (f) encoding = UTF-8 [DEBUG] (f) failOnViolation = true [DEBUG] (f) failsOnError = false [DEBUG] (f) headerLocation = config/maven-header.txt [DEBUG] (f) includeResources = true [DEBUG] (f) includeTestResources = true [DEBUG] (f) includeTestSourceDirectory = false [DEBUG] (f) includes = **\/*.java [DEBUG] (f) logViolationsToConsole = true [DEBUG] (f) maxAllowedViolations = 0 [DEBUG] (f) omitIgnoredModules = false [DEBUG] (f) outputFile = /home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/target/checkstyle-result.xml [DEBUG] (f) outputFileFormat = xml [DEBUG] (f) plugin = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo', role hint: 'org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check' role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugins.checkstyle.CheckstyleReport', role hint: 'org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:checkstyle' role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugins.checkstyle.CheckstyleAggregateReport', role hint: 'org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:checkstyle-aggregate' role: 'org.apache.maven.plugin.Mojo', implementation: 'org.apache.maven.plugins.checkstyle.HelpMojo', role hint: 'org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:help' --- [DEBUG] (f) project = MavenProject: org.apache.maven.plugins:maven-pmd-plugin:3.14.0-SNAPSHOT @ /home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/pom.xml [DEBUG] (f) resourceIncludes = **/*.properties [DEBUG] (f) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/src/main/resources, PatternSet [includes: {}, excludes: {}]}}, Resource {targetPath: null, filtering: false, FileSet {directory: /home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/target/maven-shared-archive-resources, PatternSet [includes: {}, excludes: {}]}}] [DEBUG] (f) rulesFiles = /home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/target/checkstyle-rules.xml [DEBUG] (f) skip = false [DEBUG] (f) skipExec = false [DEBUG] (f) sourceDirectories = [src/main/java] [DEBUG] (f) suppressionsFileExpression = checkstyle.suppressions.file [DEBUG] (f) testResources = [Resource {targetPath: null, filtering: false, FileSet {directory: /home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/src/test/resources, PatternSet [includes: {}, excludes: {}]}}, Resource {targetPath: null, filtering: false, FileSet {directory: /home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/target/maven-shared-archive-resources, PatternSet [includes: {}, excludes: {}]}}] [DEBUG] (f) testSourceDirectories = [src/test/java] [DEBUG] (f) violationIgnore = RedundantThrows,NewlineAtEndOfFile,ParameterNumber,MethodLength,FileLength [DEBUG] (f) violationSeverity = error [DEBUG] -- end configuration -- [DEBUG] executeCheckstyle start headerLocation : config/maven-header.txt [DEBUG] Added 21 source files found in '/home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/src/main/java'. [DEBUG] Added 16 resource files found in '/home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/src/main/resources'. [DEBUG] Added 0 resource files found in '/home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/target/maven-shared-archive-resources'. [DEBUG] Added 3 resource files found in '/home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/src/test/resources'. [DEBUG] Added 0 resource files found in '/home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/target/maven-shared-archive-resources'. [DEBUG] Added 40 files to process. [DEBUG] Adding the outputDirectory file:/home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/target/classes/ to the Checkstyle class path [DEBUG] request.getConfigLocation() config/maven_checks.xml [DEBUG] The resource 'config/maven_checks.xml' was not found with resourceLoader org.codehaus.plexus.resource.loader.JarResourceLoader. [DEBUG] The resource 'config/maven_checks.xml' was not found with resourceLoader org.codehaus.plexus.resource.loader.FileResourceLoader. [DEBUG] URLResourceLoader: No valid URL 'config/maven_checks.xml' [DEBUG] URLResourceLoader: No valid URL 'config/maven_checks.xml' [DEBUG] The resource 'config/maven_checks.xml' was not found with resourceLoader org.codehaus.plexus.resource.loader.URLResourceLoader. [DEBUG] The resource 'config/maven_checks.xml' was found as jar:file:/home/jenkins/jenkins-agent/workspace/.maven_repositories/0/org/apache/maven/shared/maven-shared-resources/2/maven-shared-resources-2.jar!/config/maven_checks.xml. [DEBUG] headerLocation config/maven-header.txt [DEBUG] JarResourceLoader : trying to load "jar:file:/home/jenkins/jenkins-agent/workspace/.maven_repositories/0/org/apache/maven/shared/maven-shared-resources/2/maven-shared-resources-2.jar" [DEBUG] The resource 'config/maven-header.txt' was found as jar:file:/home/jenkins/jenkins-agent/workspace/.maven_repositories/0/org/apache/maven/shared/maven-shared-resources/2/maven-shared-resources-2.jar!/config/maven-header.txt. [DEBUG] Added '/home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/src/main/resources' as a source directory. [DEBUG] Added '/home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/target/maven-shared-archive-resources' as a source directory. [INFO] [INFO] --- maven-invoker-plugin:3.2.1:verify (integration-test) @ maven-pmd-plugin --- [DEBUG] Configuring mojo org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-invoker-plugin:3.2.1, parent: sun.misc.Launcher$AppClassLoader@29cd761a] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-invoker-plugin:3.2.1:verify' with basic configurator --> [DEBUG] (f) ignoreFailures = false [DEBUG] (f) reportsDirectory = /home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2/linux-jdk7-m3.3.x_build/target/invoker-reports [DEBUG] (f) skipInvocation = false [DEBUG] (f) suppressSummaries = false [DEBUG] -- end configuration -- [INFO] ------------------------------------------------- [INFO] Build Summary: [INFO] Passed: 30, Failed: 1, Errors: 0, Skipped: 6 [INFO] ------------------------------------------------- [ERROR] The following builds failed: [ERROR] * MPMD-304-toolchain-support/pom.xml [INFO] ------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 09:47 min [INFO] Finished at: 2020-10-04T09:54:53+00:00 [INFO] Final Memory: 62M/1775M [INFO] ------------------------------------------------------------------------ [INFO] [jenkins-event-spy] Generated /home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2@tmp/withMavenfcb02e87/maven-spy-20201004-094506-2113734476056625981841.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:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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:259) at org.apache.maven.plugins.invoker.VerifyMojo.execute(VerifyMojo.java:140) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 20 more [ERROR] [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.14.0-SNAPSHOT generated by maven-surefire-plugin:test (default-test): linux-jdk7-m3.3.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.14.0-SNAPSHOT in source directory linux-jdk7-m3.3.x_build/src/main/java [TASKS] Scanning folder '/home/jenkins/jenkins-agent/workspace/en-box_maven-pmd-plugin_mpmd-304@2' for files matching the pattern 'linux-jdk7-m3.3.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 #8 [withMaven] invokerPublisher - Archive invoker results for Maven artifact MavenArtifact{org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:3.14.0-SNAPSHOT(version: 3.14.0-SNAPSHOT, snapshot:false) } generated by PluginInvocation{org.apache.maven.plugins:maven-invoker-plugin:3.2.1@integration-test integration-test}: linux-jdk7-m3.3.x_build/target/invoker-reports/*.xml [withMaven] Publishers: Generated Artifacts Publisher: 350 ms, Junit Publisher: 2418 ms, Open Task Scanner Publisher: 1265 ms, Invoker Publisher: 69769 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-jdk7-m3.3.x_build [Pipeline] // parallel [Pipeline] stage [Pipeline] { (Notifications) [Pipeline] echo Build result: FAILURE [Pipeline] jiraIssueSelector [Pipeline] echo The authors of changes [adangel]. [Pipeline] echo Sending email ... [Pipeline] emailext