brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Svetoslav Neykov <svetoslav.ney...@cloudsoftcorp.com>
Subject Re: Build failed in Jenkins: brooklyn-server-master #614
Date Fri, 02 Jun 2017 11:09:15 GMT
This is caused by incompatibility between Jenkins and the recently updated Maven 3.5.0.
See [1] for details from infra. The temporary solution is to downgrade maven manually in the
build jobs, which I'll do at least for the master builds.

Svet.


[1] https://lists.apache.org/thread.html/cb39a537a23af83b56522160e8c02938c34a76553b03e8a3aba3b662@%3Cbuilds.apache.org%3E


> On 2.06.2017 г., at 13:51, Apache Jenkins Server <jenkins@builds.apache.org> wrote:
> 
> See <https://builds.apache.org/job/brooklyn-server-master/614/display/redirect?page=changes>
> 
> Changes:
> 
> [aled.sage] BROOKLYN-513: fix coercion for jclouds reflective builder calls
> 
> [aled.sage] PR #714: incorporate review comments
> 
> ------------------------------------------
> Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Building remotely on ubuntu-6 (ubuntu trusty) in workspace <https://builds.apache.org/job/brooklyn-server-master/ws/>
>> git rev-parse --is-inside-work-tree # timeout=10
> Fetching changes from the remote Git repository
>> git config remote.origin.url https://git-wip-us.apache.org/repos/asf/brooklyn-server.git
# timeout=10
> Fetching upstream changes from https://git-wip-us.apache.org/repos/asf/brooklyn-server.git
>> git --version # timeout=10
>> git fetch --tags --progress https://git-wip-us.apache.org/repos/asf/brooklyn-server.git
+refs/heads/*:refs/remotes/origin/*
>> git rev-parse origin/master^{commit} # timeout=10
> Checking out Revision 97eaf5acd27d12f41d0d29a2e75e56e16e1a96bd (origin/master)
>> git config core.sparsecheckout # timeout=10
>> git checkout -f 97eaf5acd27d12f41d0d29a2e75e56e16e1a96bd
>> git rev-list ad5d43eb905d97b7d72afcdd92d975272ff9d42f # timeout=10
> Parsing POMs
> Modules changed, recalculating dependency graph
> Established TCP socket on 52054
> maven33-agent.jar already up to date
> maven33-interceptor.jar already up to date
> maven3-interceptor-commons.jar already up to date
> [brooklyn-server-master] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx1024m -Xms512m
-XX:MaxPermSize=512m -cp /home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging
jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/latest3/ /home/jenkins/jenkins-slave/slave.jar
/home/jenkins/jenkins-slave/maven33-interceptor.jar /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar
52054
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support
was removed in 8.0
> <===[JENKINS REMOTING CAPACITY]===>   channel started
> Executing Maven:  -B -f <https://builds.apache.org/job/brooklyn-server-master/ws/pom.xml>
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 clean install
> 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: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:153)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
> 	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:745)
> Caused by: java.lang.NoSuchFieldError: DEFAULT_USER_SETTINGS_FILE
> 	at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.settings(DefaultMavenExecutionRequestBuilder.java:658)
> 	at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.getMavenExecutionRequest(DefaultMavenExecutionRequestBuilder.java:149)
> 	at org.jvnet.hudson.maven3.launcher.Maven33Launcher.getMavenExecutionRequest(Maven33Launcher.java:150)
> 	at org.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:127)
> 	... 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:153)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
> 	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:745)
> 	at ......remote call to Channel to Maven [/home/jenkins/tools/java/latest1.8/bin/java,
-Xmx1024m, -Xms512m, -XX:MaxPermSize=512m, -cp, /home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/latest3/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/latest3/conf/logging,
jenkins.maven3.agent.Maven33Main, /home/jenkins/tools/maven/latest3/, /home/jenkins/jenkins-slave/slave.jar,
/home/jenkins/jenkins-slave/maven33-interceptor.jar, /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar,
52054](Native Method)
> 	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
> 	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
> 	at hudson.remoting.Channel.call(Channel.java:830)
> 	at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:161)
> 	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:873)
> 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
> 	at hudson.model.Run.execute(Run.java:1728)
> 	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
> 	at hudson.model.ResourceController.execute(ResourceController.java:98)
> 	at hudson.model.Executor.run(Executor.java:405)
> 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:153)
> 	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
> 	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:745)
> Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException
> 	at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:179)
> 	... 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:330)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
> 	at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)
> 	... 14 more
> Caused by: java.lang.NoSuchFieldError: DEFAULT_USER_SETTINGS_FILE
> 	at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.settings(DefaultMavenExecutionRequestBuilder.java:658)
> 	at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.getMavenExecutionRequest(DefaultMavenExecutionRequestBuilder.java:149)
> 	at org.jvnet.hudson.maven3.launcher.Maven33Launcher.getMavenExecutionRequest(Maven33Launcher.java:150)
> 	at org.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:127)
> 	... 21 more
> channel stopped


Mime
View raw message