Build failed in Jenkins: maven-default-skin #1

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

Build failed in Jenkins: maven-default-skin #1

Apache Jenkins Server-2
See <https://builds.apache.org/job/maven-default-skin/1/display/redirect>

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H22 (couchdbtest ubuntu xenial) in workspace <https://builds.apache.org/job/maven-default-skin/ws/>
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/maven-default-skin.git
 > git init <https://builds.apache.org/job/maven-default-skin/ws/> # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/maven-default-skin.git
 > git --version # timeout=10
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/maven-default-skin.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/maven-default-skin.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/maven-default-skin.git # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/maven-default-skin.git
 > git fetch --tags --progress https://gitbox.apache.org/repos/asf/maven-default-skin.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 62d95ee5063219b95220c5c31280fbc7818c5a99 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 62d95ee5063219b95220c5c31280fbc7818c5a99
Commit message: "updated parent pom to released version"
First time build. Skipping changelog.
Parsing POMs
Discovered a new module org.apache.maven.skins:maven-default-skin Maven Default Skin
Modules changed, recalculating dependency graph
Established TCP socket on 46209
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[maven-default-skin] $ /home/jenkins/tools/java/latest1.7/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/tools/maven/apache-maven-3.0.5 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven3-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 46209
<===[JENKINS REMOTING CAPACITY]===>   channel started
ERROR: ================================================================================
ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable : Unsupported major.minor version 52.0
ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK 1.7 (latest)' not supported to run Maven projects.
ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the master.
ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK.
ERROR: Retrying with slave Java and setting compile/test properties to point to /home/jenkins/tools/java/latest1.7.
ERROR: ================================================================================
Established TCP socket on 41951
maven3-agent.jar already up to date
maven3-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[maven-default-skin] $ /usr/local/asfpackages/java/jdk1.8.0_131/jre/bin/java -Xmx2g -Xms256m -cp /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /home/jenkins/tools/maven/apache-maven-3.0.5 /home/jenkins/jenkins-slave/slave.jar /home/jenkins/jenkins-slave/maven3-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 41951
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://builds.apache.org/job/maven-default-skin/ws/pom.xml> -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 clean install -B -U -e -fae -V -Prun-its
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 13:51:28+0000)
Maven home: /usr/local/asfpackages/maven/apache-maven-3.0.5
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr/local/asfpackages/java/jdk1.8.0_131/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "4.4.0-87-generic", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.maven.skins:maven-default-skin:jar:1.3-SNAPSHOT
[WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ org.apache.maven:maven-parent:30, /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/maven/maven-parent/30/maven-parent-30.pom, line 1065, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Skin 1.3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ maven-default-skin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ maven-default-skin ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (ban-known-bad-maven-versions) @ maven-default-skin ---
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (rat-check) @ maven-default-skin ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: DEPENDENCIES
[INFO] 17 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 11 licence.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ maven-default-skin ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ maven-default-skin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ maven-default-skin ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ maven-default-skin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory <https://builds.apache.org/job/maven-default-skin/ws/src/test/resources>
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ maven-default-skin ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ maven-default-skin ---
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-jar-plugin:3.0.0:jar (default-jar) @ maven-default-skin ---
[INFO] Building jar: <https://builds.apache.org/job/maven-default-skin/ws/target/maven-default-skin-1.3-SNAPSHOT.jar>
[INFO]
[INFO] --- maven-site-plugin:3.5.1:attach-descriptor (attach-descriptor) @ maven-default-skin ---
[INFO]
[INFO] --- maven-invoker-plugin:1.10:install (integration-test) @ maven-default-skin ---
[INFO] Installing <https://builds.apache.org/job/maven-default-skin/ws/pom.xml> to <https://builds.apache.org/job/maven-default-skin/ws/target/local-repo/org/apache/maven/skins/maven-default-skin/1.3-SNAPSHOT/maven-default-skin-1.3-SNAPSHOT.pom>
[INFO] Installing <https://builds.apache.org/job/maven-default-skin/ws/target/maven-default-skin-1.3-SNAPSHOT.jar> to <https://builds.apache.org/job/maven-default-skin/ws/target/local-repo/org/apache/maven/skins/maven-default-skin/1.3-SNAPSHOT/maven-default-skin-1.3-SNAPSHOT.jar>
[INFO]
[INFO] --- maven-invoker-plugin:1.10:integration-test (integration-test) @ maven-default-skin ---
[INFO] Building: sample/pom.xml
[INFO] ..SUCCESS (9.9 s)
MavenInvokerArchiver
found reports:[<https://builds.apache.org/job/maven-default-skin/ws/target/invoker-reports/BUILD-sample.xml]>
java.lang.reflect.InvocationTargetException
        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:329)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
        at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:181)
        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:181)
        at hudson.remoting.UserRequest.perform(UserRequest.java:52)
        at hudson.remoting.Request$2.run(Request.java:336)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: org.codehaus.plexus.util.xml.pull.MXParser.<init>(Lorg/codehaus/plexus/util/xml/pull/EntityReplacementMap;)V
        at org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader.read(BuildJobXpp3Reader.java:510)
        at org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader.read(BuildJobXpp3Reader.java:529)
        at org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader.read(BuildJobXpp3Reader.java:558)
        at org.jenkinsci.plugins.maveninvoker.MavenInvokerArchiver.postExecute(MavenInvokerArchiver.java:113)
        at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:629)
        at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:610)
        at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87)
        at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228)
        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:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
        ... 21 more
ERROR: Failed to parse POMs
java.io.IOException: java.lang.reflect.InvocationTargetException
        at hudson.maven.Maven3Builder.call(Maven3Builder.java:179)
        at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
        at hudson.remoting.UserRequest.perform(UserRequest.java:181)
        at hudson.remoting.UserRequest.perform(UserRequest.java:52)
        at hudson.remoting.Request$2.run(Request.java:336)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
        at ......remote call to Channel to Maven [/usr/local/asfpackages/java/jdk1.8.0_131/jre/bin/java, -Xmx2g, -Xms256m, -cp, /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/tools/maven/apache-maven-3.0.5/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /home/jenkins/tools/maven/apache-maven-3.0.5, /home/jenkins/jenkins-slave/slave.jar, /home/jenkins/jenkins-slave/maven3-interceptor.jar, /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar, 41951](Native Method)
        at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1554)
        at hudson.remoting.UserResponse.retrieve(UserRequest.java:281)
        at hudson.remoting.Channel.call(Channel.java:839)
        at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:161)
        at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:879)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:496)
        at hudson.model.Run.execute(Run.java:1737)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
        at hudson.model.ResourceController.execute(ResourceController.java:97)
        at hudson.model.Executor.run(Executor.java:419)
Caused by: java.lang.reflect.InvocationTargetException
        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:181)
        at hudson.remoting.UserRequest.perform(UserRequest.java:52)
        at hudson.remoting.Request$2.run(Request.java:336)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException
        at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:184)
        ... 14 more
Caused by: java.lang.reflect.InvocationTargetException
        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:329)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
        at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:181)
        ... 14 more
Caused by: java.lang.NoSuchMethodError: org.codehaus.plexus.util.xml.pull.MXParser.<init>(Lorg/codehaus/plexus/util/xml/pull/EntityReplacementMap;)V
        at org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader.read(BuildJobXpp3Reader.java:510)
        at org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader.read(BuildJobXpp3Reader.java:529)
        at org.apache.maven.plugin.invoker.model.io.xpp3.BuildJobXpp3Reader.read(BuildJobXpp3Reader.java:558)
        at org.jenkinsci.plugins.maveninvoker.MavenInvokerArchiver.postExecute(MavenInvokerArchiver.java:113)
        at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:629)
        at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:610)
        at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87)
        at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228)
        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:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
        ... 21 more
channel stopped
Reply | Threaded
Open this post in threaded view
|

Jenkins build is back to normal : maven-default-skin #2

Apache Jenkins Server-2