See <https://builds.apache.org/job/dist-tool-plugin/2155/display/redirect>
------------------------------------------ Started by timer [EnvInject] - Loading node environment variables. Building remotely on H21 (ubuntu xenial) in workspace <https://builds.apache.org/job/dist-tool-plugin/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url > https://gitbox.apache.org/repos/asf/maven-dist-tool.git # timeout=10 Fetching upstream changes from https://gitbox.apache.org/repos/asf/maven-dist-tool.git > git --version # timeout=10 > git fetch --tags --progress > https://gitbox.apache.org/repos/asf/maven-dist-tool.git > +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision f7c55be8cb524d6c0384befbe8b14aa3e6caa159 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f f7c55be8cb524d6c0384befbe8b14aa3e6caa159 Commit message: "Replaced deprecated verbatim (true) with verbatim (SinkEventAttributeSet.BOXED)." > git rev-list --no-walk f7c55be8cb524d6c0384befbe8b14aa3e6caa159 # timeout=10 Parsing POMs Established TCP socket on 42361 maven33-agent.jar already up to date maven33-interceptor.jar already up to date maven3-interceptor-commons.jar already up to date [dist-tool-plugin] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/apache-maven-3.3.9 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven33-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 42361 <===[JENKINS REMOTING CAPACITY]===> channel started Executing Maven: -B -f <https://builds.apache.org/job/dist-tool-plugin/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 -B -e -Preporting -Papache.snapshots -Dscreenshot=false clean install site [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building dist-tool-plugin 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ dist-tool-plugin --- [INFO] Deleting <https://builds.apache.org/job/dist-tool-plugin/ws/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ dist-tool-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ dist-tool-plugin --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ dist-tool-plugin --- [INFO] [INFO] --- apache-rat-plugin:0.12:check (rat-check) @ dist-tool-plugin --- [INFO] Enabled default license matchers. [INFO] Will parse SCM ignores for exclusions... [INFO] Parsing exclusions from <https://builds.apache.org/job/dist-tool-plugin/ws/.gitignore> [INFO] Finished adding exclusions from SCM ignore files. [INFO] 69 implicit excludes (use -debug for more details). [INFO] Exclude: .repository/** [INFO] Exclude: .maven/spy.log [INFO] Exclude: dependency-reduced-pom.xml [INFO] Exclude: .java-version [INFO] Exclude: .repository/** [INFO] 38 resources included (use -debug for more details) [INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 37 licenses. [INFO] [INFO] --- maven-plugin-plugin:3.5.1:helpmojo (generated-helpmojo) @ dist-tool-plugin --- [INFO] Using 'UTF-8' encoding to read mojo source files. [INFO] java-javadoc mojo extractor found 0 mojo descriptor. [INFO] java-annotations mojo extractor found 0 mojo descriptor. [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ dist-tool-plugin --- [INFO] [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ dist-tool-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ dist-tool-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 21 source files to <https://builds.apache.org/job/dist-tool-plugin/ws/target/classes> [INFO] <https://builds.apache.org/job/dist-tool-plugin/ws/src/main/java/org/apache/maven/dist/tools/site/DistCheckSiteMojo.java>: <https://builds.apache.org/job/dist-tool-plugin/ws/src/main/java/org/apache/maven/dist/tools/site/DistCheckSiteMojo.java> uses or overrides a deprecated API. [INFO] <https://builds.apache.org/job/dist-tool-plugin/ws/src/main/java/org/apache/maven/dist/tools/site/DistCheckSiteMojo.java>: Recompile with -Xlint:deprecation for details. [INFO] <https://builds.apache.org/job/dist-tool-plugin/ws/src/main/java/org/apache/maven/dist/tools/prerequisites/ListPluginsPrerequisitesMojo.java>: <https://builds.apache.org/job/dist-tool-plugin/ws/src/main/java/org/apache/maven/dist/tools/prerequisites/ListPluginsPrerequisitesMojo.java> uses unchecked or unsafe operations. [INFO] <https://builds.apache.org/job/dist-tool-plugin/ws/src/main/java/org/apache/maven/dist/tools/prerequisites/ListPluginsPrerequisitesMojo.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-plugin-plugin:3.5.1:descriptor (default-descriptor) @ dist-tool-plugin --- [INFO] Using 'UTF-8' encoding to read mojo source files. [INFO] java-javadoc mojo extractor found 0 mojo descriptor. [INFO] java-annotations mojo extractor found 7 mojo descriptors. [INFO] [INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ dist-tool-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <https://builds.apache.org/job/dist-tool-plugin/ws/src/test/resources> [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ dist-tool-plugin --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to <https://builds.apache.org/job/dist-tool-plugin/ws/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.20.1:test (default-test) @ dist-tool-plugin --- [INFO] Surefire report directory: <https://builds.apache.org/job/dist-tool-plugin/ws/target/surefire-reports> [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.apache.maven.dist.tools.source.PatternTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 s - in org.apache.maven.dist.tools.source.PatternTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ dist-tool-plugin --- [INFO] Building jar: <https://builds.apache.org/job/dist-tool-plugin/ws/target/dist-tool-plugin-1.0-SNAPSHOT.jar> [INFO] [INFO] --- maven-plugin-plugin:3.5.1:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ dist-tool-plugin --- [INFO] [INFO] --- maven-site-plugin:3.7:attach-descriptor (attach-descriptor) @ dist-tool-plugin --- [INFO] Skipping because packaging 'maven-plugin' is not pom. [INFO] [INFO] --- maven-checkstyle-plugin:3.0.0:check (checkstyle-check) @ dist-tool-plugin --- [INFO] There are 2 errors reported by Checkstyle 6.18 with config/maven_checks.xml ruleset. [ERROR] src/main/java/org/apache/maven/dist/tools/DistCheckErrorsMojo.java:[83,40] (whitespace) ParenPad: '(' is not followed by whitespace. [ERROR] src/main/java/org/apache/maven/dist/tools/DistCheckErrorsMojo.java:[83,67] (whitespace) ParenPad: ')' is not preceded with whitespace. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:33 min [INFO] Finished at: 2018-04-23T09:53:00+00:00 [INFO] Final Memory: 53M/824M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "apache.snapshots" could not be activated because it does not exist. Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (checkstyle-check) on project dist-tool-plugin: You have 2 Checkstyle violations. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check (checkstyle-check) on project dist-tool-plugin: You have 2 Checkstyle violations. 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.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at hudson.maven.Maven3Builder.call(Maven3Builder.java:139) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) at hudson.remoting.UserRequest.perform(UserRequest.java:207) at hudson.remoting.UserRequest.perform(UserRequest.java:53) at hudson.remoting.Request$2.run(Request.java:358) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.maven.plugin.MojoFailureException: You have 2 Checkstyle violations. at org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo.execute(CheckstyleViolationCheckMojo.java:576) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207) ... 31 more [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 [JENKINS] Archiving <https://builds.apache.org/job/dist-tool-plugin/ws/pom.xml> to org.apache.maven.dist.tools/dist-tool-plugin/1.0-SNAPSHOT/dist-tool-plugin-1.0-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/dist-tool-plugin/ws/target/dist-tool-plugin-1.0-SNAPSHOT.jar> to org.apache.maven.dist.tools/dist-tool-plugin/1.0-SNAPSHOT/dist-tool-plugin-1.0-SNAPSHOT.jar channel stopped
