Build failed in Jenkins: dist-tool-plugin #2963

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Build failed in Jenkins: dist-tool-plugin #2963

Apache Jenkins Server-2
See <https://builds.apache.org/job/dist-tool-plugin/2963/display/redirect?page=changes>

Changes:

[rfscholte] Seems like Jsoup has a default limit (2Mb), whereas Jenkins pages can be


------------------------------------------
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H27 (ubuntu) in workspace <https://builds.apache.org/job/dist-tool-plugin/ws/>
No credentials specified
 > 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 bcad57ae5d14e9b2f95a22bb033c4faecb07066d (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f bcad57ae5d14e9b2f95a22bb033c4faecb07066d
Commit message: "Seems like Jsoup has a default limit (2Mb), whereas Jenkins pages can be bigger, especially when there's a huge queue."
 > git rev-list --no-walk 12f8dbff565407577f5646fdc1c900f6c967e935 # timeout=10
Parsing POMs
Established TCP socket on 43117
maven35-agent.jar already up to date
maven35-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 -Xmx4g -Xms4g -cp /home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/apache-maven-3.6.2/boot/plexus-classworlds-2.6.0.jar:/home/jenkins/tools/maven/apache-maven-3.6.2/conf/logging jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/apache-maven-3.6.2 /home/jenkins/jenkins-slave/remoting.jar /home/jenkins/jenkins-slave/maven35-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 43117
<===[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/0 -B -e -Preporting -Papache.snapshots -Dscreenshot=false clean install site
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< org.apache.maven.dist.tools:dist-tool-plugin >------------
[INFO] Building dist-tool-plugin 1.0-SNAPSHOT
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.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] Adding ignore: module-info
[INFO]
[INFO] --- apache-rat-plugin:0.13: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] 70 implicit excludes (use -debug for more details).
[INFO] 6 explicit excludes (use -debug for more details).
[INFO] 42 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 41 licenses.
[INFO]
[INFO] --- maven-plugin-plugin:3.5.2: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.7.0:process (process-resource-bundles) @ dist-tool-plugin ---
[INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] Copying 3 resources from 1 bundle.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0: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.8.1:compile (default-compile) @ dist-tool-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 23 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.2: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 8 mojo descriptors.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0: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.8.1: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.22.0: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.075 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.2.0: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.2:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ dist-tool-plugin ---
[INFO]
[INFO] --- maven-site-plugin:3.7.1: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 is 1 error reported by Checkstyle 6.18 with config/maven_checks.xml ruleset.
[ERROR] src/main/java/org/apache/maven/dist/tools/JsoupRetry.java:[43] (sizes) LineLength: Line is longer than 120 characters (found 160).
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:29 min
[INFO] Finished at: 2020-05-22T08:27:44Z
[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 1 Checkstyle violation. -> [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 1 Checkstyle violation.
    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.jvnet.hudson.maven3.launcher.Maven35Launcher.main (Maven35Launcher.java:130)
    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.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at jenkins.maven3.agent.Maven35Main.launch (Maven35Main.java:178)
    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:212)
    at hudson.remoting.UserRequest.perform (UserRequest.java:54)
    at hudson.remoting.Request$2.run (Request.java:369)
    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 1 Checkstyle violation.
    at org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo.execute (CheckstyleViolationCheckMojo.java:576)
    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.jvnet.hudson.maven3.launcher.Maven35Launcher.main (Maven35Launcher.java:130)
    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.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at jenkins.maven3.agent.Maven35Main.launch (Maven35Main.java:178)
    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:212)
    at hudson.remoting.UserRequest.perform (UserRequest.java:54)
    at hudson.remoting.Request$2.run (Request.java:369)
    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)
[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
Reply | Threaded
Open this post in threaded view
|

Jenkins build is back to normal : dist-tool-plugin #2964

Apache Jenkins Server-2