org.apache.maven.InternalErrorException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This one seems to be rather tricky. After upgrade to 1.587, I saw this exception during the the run of the sonar plugin in a post step: {code} 20:19:33 Warte bis Jenkins die Datensammlung abgeschlossen hat 20:19:33 [ERROR] Internal error: java.lang.IllegalStateException: cannot change build result while in COMPLETED -> [Help 1] 20:19:33 org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: cannot change build result while in COMPLETED 20:19:33 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) 20:19:33 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) 20:19:33 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) 20:19:33 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) 20:19:33 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) 20:19:33 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) 20:19:33 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 20:19:33 at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117) 20:19:33 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:19:33 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 20:19:33 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 20:19:33 at java.lang.reflect.Method.invoke(Method.java:597) 20:19:33 at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) 20:19:33 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) 20:19:33 at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178) 20:19:33 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:19:33 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 20:19:33 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 20:19:33 at java.lang.reflect.Method.invoke(Method.java:597) 20:19:33 at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) 20:19:33 at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) 20:19:33 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 20:19:33 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 20:19:33 at hudson.remoting.Request$2.run(Request.java:324) 20:19:33 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 20:19:33 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 20:19:33 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 20:19:33 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) 20:19:33 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) 20:19:33 at java.lang.Thread.run(Thread.java:662) 20:19:33 Caused by: java.lang.IllegalStateException: cannot change build result while in COMPLETED 20:19:33 at hudson.model.Run.setResult(Run.java:458) 20:19:33 at hudson.maven.MavenBuild$ProxyImpl.setResult(MavenBuild.java:494) 20:19:33 at hudson.maven.MavenBuild$ProxyImpl2.setResult(MavenBuild.java:547) 20:19:33 at sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source) 20:19:33 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:19:33 at java.lang.reflect.Method.invoke(Method.java:483) 20:19:33 at hudson.model.Executor$1.call(Executor.java:579) 20:19:33 at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) 20:19:33 at com.sun.proxy.$Proxy91.setResult(Unknown Source) 20:19:33 at sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source) 20:19:33 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:19:33 at java.lang.reflect.Method.invoke(Method.java:483) 20:19:33 at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:320) 20:19:33 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:295) 20:19:33 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:254) 20:19:33 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 20:19:33 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 20:19:33 at hudson.remoting.Request$2.run(Request.java:324) 20:19:33 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 20:19:33 at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18) 20:19:33 at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) 20:19:33 at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) 20:19:33 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 20:19:33 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 20:19:33 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 20:19:33 at java.lang.Thread.run(Thread.java:745) 20:19:33 at ......remote call to channel(Native Method) 20:19:33 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) 20:19:33 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) 20:19:33 at hudson.remoting.Channel.call(Channel.java:752) 20:19:33 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:173) 20:19:33 at com.sun.proxy.$Proxy7.setResult(Unknown Source) 20:19:33 at hudson.maven.MavenBuildProxy$Filter.setResult(MavenBuildProxy.java:235) 20:19:33 at hudson.maven.Maven3Builder$MavenExecutionListener.recordProjectEnded(Maven3Builder.java:554) 20:19:33 at hudson.maven.Maven3Builder$MavenExecutionListener.projectSucceeded(Maven3Builder.java:538) 20:19:33 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) 20:19:33 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) 20:19:33 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91) 20:19:33 ... 28 more {code} A also found mentions of similar behaviour here: https://groups.google.com/forum/#!topic/jenkinsci-users/jrkAQyq6jLs Downgrading to 1.583 did work for me. Somehow, the State of the run seems to be changed to COMPLETED before the actual build is finished. I think the reason for this to show up only now lies here: https://github.com/jenkinsci/jenkins/commit/28dfd90d2d6ae99c57eb174871c46f4e07e303ba#diff-c4f9931d88bca347279b881007d71f0eL445 Earlier, since asserts are disabled by default, it never presented a problem until this change.
    via by Stephan Pauxberger,
  • This one seems to be rather tricky. After upgrade to 1.587, I saw this exception during the the run of the sonar plugin in a post step: {code} 20:19:33 Warte bis Jenkins die Datensammlung abgeschlossen hat 20:19:33 [ERROR] Internal error: java.lang.IllegalStateException: cannot change build result while in COMPLETED -> [Help 1] 20:19:33 org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: cannot change build result while in COMPLETED 20:19:33 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) 20:19:33 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) 20:19:33 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) 20:19:33 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) 20:19:33 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) 20:19:33 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) 20:19:33 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 20:19:33 at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117) 20:19:33 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:19:33 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 20:19:33 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 20:19:33 at java.lang.reflect.Method.invoke(Method.java:597) 20:19:33 at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) 20:19:33 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) 20:19:33 at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178) 20:19:33 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:19:33 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 20:19:33 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 20:19:33 at java.lang.reflect.Method.invoke(Method.java:597) 20:19:33 at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) 20:19:33 at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) 20:19:33 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 20:19:33 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 20:19:33 at hudson.remoting.Request$2.run(Request.java:324) 20:19:33 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 20:19:33 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 20:19:33 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 20:19:33 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) 20:19:33 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) 20:19:33 at java.lang.Thread.run(Thread.java:662) 20:19:33 Caused by: java.lang.IllegalStateException: cannot change build result while in COMPLETED 20:19:33 at hudson.model.Run.setResult(Run.java:458) 20:19:33 at hudson.maven.MavenBuild$ProxyImpl.setResult(MavenBuild.java:494) 20:19:33 at hudson.maven.MavenBuild$ProxyImpl2.setResult(MavenBuild.java:547) 20:19:33 at sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source) 20:19:33 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:19:33 at java.lang.reflect.Method.invoke(Method.java:483) 20:19:33 at hudson.model.Executor$1.call(Executor.java:579) 20:19:33 at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) 20:19:33 at com.sun.proxy.$Proxy91.setResult(Unknown Source) 20:19:33 at sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source) 20:19:33 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:19:33 at java.lang.reflect.Method.invoke(Method.java:483) 20:19:33 at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:320) 20:19:33 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:295) 20:19:33 at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:254) 20:19:33 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 20:19:33 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 20:19:33 at hudson.remoting.Request$2.run(Request.java:324) 20:19:33 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 20:19:33 at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18) 20:19:33 at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) 20:19:33 at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) 20:19:33 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 20:19:33 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 20:19:33 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 20:19:33 at java.lang.Thread.run(Thread.java:745) 20:19:33 at ......remote call to channel(Native Method) 20:19:33 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) 20:19:33 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) 20:19:33 at hudson.remoting.Channel.call(Channel.java:752) 20:19:33 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:173) 20:19:33 at com.sun.proxy.$Proxy7.setResult(Unknown Source) 20:19:33 at hudson.maven.MavenBuildProxy$Filter.setResult(MavenBuildProxy.java:235) 20:19:33 at hudson.maven.Maven3Builder$MavenExecutionListener.recordProjectEnded(Maven3Builder.java:554) 20:19:33 at hudson.maven.Maven3Builder$MavenExecutionListener.projectSucceeded(Maven3Builder.java:538) 20:19:33 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) 20:19:33 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) 20:19:33 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91) 20:19:33 ... 28 more {code} A also found mentions of similar behaviour here: https://groups.google.com/forum/#!topic/jenkinsci-users/jrkAQyq6jLs Downgrading to 1.583 did work for me. Somehow, the State of the run seems to be changed to COMPLETED before the actual build is finished. I think the reason for this to show up only now lies here: https://github.com/jenkinsci/jenkins/commit/28dfd90d2d6ae99c57eb174871c46f4e07e303ba#diff-c4f9931d88bca347279b881007d71f0eL445 Earlier, since asserts are disabled by default, it never presented a problem until this change.
    via by Stephan Pauxberger,
  • Démarré par l'utilisateur Administrateur Building in workspace /usr/share/tomcat7/.jenkins/workspace/Commons Updating http://subversion.nt-solutions.fr/svn/repos-prototype/java/commons/trunk at revision '2016-03-09T11:56:12.219 +0100' At revision 45 no change for http://subversion.nt-solutions.fr/svn/repos-prototype/java/commons/trunk since the previous build Parsing POMs [Commons] $ java -cp /usr/share/tomcat7/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.5.jar:/usr/share/tomcat7/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.3.9/boot/plexus-classworlds-2.5.2.jar:/usr/share/tomcat7/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.3.9/conf/logging jenkins.maven3.agent.Maven31Main /usr/share/tomcat7/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.3.9 /var/lib/tomcat7/webapps/ROOT/WEB-INF/lib/remoting-2.53.3.jar /usr/share/tomcat7/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.5.jar /usr/share/tomcat7/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.5.jar 36866 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /usr/share/tomcat7/.jenkins/workspace/Commons/pom.xml install checkstyle:checkstyle [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.atn:commons:jar:2.0 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax.mail:mail:jar -> duplicate declaration of version ${javax.mail.version} @ line 179, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 80, column 12 [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] Downloading: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-source-plugin/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [INFO] Downloading: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-metadata.xml [INFO] Downloading: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/codehaus/mojo/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/codehaus/mojo/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [INFO] Downloading: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-checkstyle-plugin/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-checkstyle-plugin/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building commons 2.0 [INFO] ------------------------------------------------------------------------ [WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty was cached in the local repository, resolution will not be reattempted until the update interval of thirdparty has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty was cached in the local repository, resolution will not be reattempted until the update interval of thirdparty has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/codehaus/mojo/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [WARNING] Failure to transfer org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml from http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty was cached in the local repository, resolution will not be reattempted until the update interval of thirdparty has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-checkstyle-plugin/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ commons --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ commons --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ commons --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ commons --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ commons --- [JENKINS] Enregistrement des résultats des tests [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ commons --- [INFO] [INFO] >>> maven-source-plugin:3.0.0:jar (default) > generate-sources @ commons >>> [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.0:jar (default) < generate-sources @ commons <<< [INFO] [INFO] --- maven-source-plugin:3.0.0:jar (default) @ commons --- [INFO] [INFO] >>> maven-source-plugin:3.0.0:test-jar (default) > generate-sources @ commons >>> [WARNING] Failed to getClass for org.apache.maven.plugins.source.TestSourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.0:test-jar (default) < generate-sources @ commons <<< [INFO] [INFO] --- maven-source-plugin:3.0.0:test-jar (default) @ commons --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ commons --- [INFO] Installing /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0.jar to /usr/share/tomcat7/.m2/repository/com/atn/commons/2.0/commons-2.0.jar [INFO] Installing /usr/share/tomcat7/.jenkins/workspace/Commons/pom.xml to /usr/share/tomcat7/.m2/repository/com/atn/commons/2.0/commons-2.0.pom [INFO] Installing /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0-sources.jar to /usr/share/tomcat7/.m2/repository/com/atn/commons/2.0/commons-2.0-sources.jar [INFO] Installing /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0-test-sources.jar to /usr/share/tomcat7/.m2/repository/com/atn/commons/2.0/commons-2.0-test-sources.jar [INFO] [INFO] --- maven-checkstyle-plugin:2.17:checkstyle (default-cli) @ commons --- [INFO] There are 2478 errors reported by Checkstyle 6.11.2 with sun_checks.xml ruleset. [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.623 s [INFO] Finished at: 2016-03-09T11:57:05+01:00 [INFO] Final Memory: 29M/71M [INFO] ------------------------------------------------------------------------ En attente que Jenkins finisse de récupérer les données [JENKINS] Archiving /usr/share/tomcat7/.jenkins/workspace/Commons/pom.xml to com.atn/commons/2.0/commons-2.0.pom [JENKINS] Archiving /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0.jar to com.atn/commons/2.0/commons-2.0.jar [JENKINS] Archiving /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0-sources.jar to com.atn/commons/2.0/commons-2.0-sources.jar [JENKINS] Archiving /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0-test-sources.jar to com.atn/commons/2.0/commons-2.0-test-sources.jar ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.IllegalStateException: cannot change build result while in COMPLETED at hudson.model.Run.setResult(Run.java:456) at hudson.plugins.violations.ViolationsReport.setBuildResult(ViolationsReport.java:542) at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:100) at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:104) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:846) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) project=hudson.maven.MavenModuleSet@16796fc1[Commons] project.getModules()=[hudson.maven.MavenModule@a873987[Commons/com.atn:commons][Commons/com.atn:commons][relativePath:]] project.getRootModule()=hudson.maven.MavenModule@a873987[Commons/com.atn:commons][Commons/com.atn:commons][relativePath:] FATAL: cannot change build result while in COMPLETED java.lang.IllegalStateException: cannot change build result while in COMPLETED at hudson.model.Run.setResult(Run.java:456) at hudson.plugins.violations.ViolationsReport.setBuildResult(ViolationsReport.java:542) at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:100) at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:104) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:846) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered Finished: FAILURE
    via by walid mansia,
  • Démarré par l'utilisateur Administrateur Building in workspace /usr/share/tomcat7/.jenkins/workspace/Commons Updating http://subversion.nt-solutions.fr/svn/repos-prototype/java/commons/trunk at revision '2016-03-09T11:56:12.219 +0100' At revision 45 no change for http://subversion.nt-solutions.fr/svn/repos-prototype/java/commons/trunk since the previous build Parsing POMs [Commons] $ java -cp /usr/share/tomcat7/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.5.jar:/usr/share/tomcat7/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.3.9/boot/plexus-classworlds-2.5.2.jar:/usr/share/tomcat7/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.3.9/conf/logging jenkins.maven3.agent.Maven31Main /usr/share/tomcat7/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/3.3.9 /var/lib/tomcat7/webapps/ROOT/WEB-INF/lib/remoting-2.53.3.jar /usr/share/tomcat7/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.5.jar /usr/share/tomcat7/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.5.jar 36866 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /usr/share/tomcat7/.jenkins/workspace/Commons/pom.xml install checkstyle:checkstyle [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.atn:commons:jar:2.0 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: javax.mail:mail:jar -> duplicate declaration of version ${javax.mail.version} @ line 179, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-source-plugin is missing. @ line 80, column 12 [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] Downloading: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-source-plugin/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-source-plugin/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [INFO] Downloading: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-metadata.xml [INFO] Downloading: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/codehaus/mojo/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/codehaus/mojo/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [INFO] Downloading: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-checkstyle-plugin/maven-metadata.xml [WARNING] Could not transfer metadata org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-checkstyle-plugin/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building commons 2.0 [INFO] ------------------------------------------------------------------------ [WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty was cached in the local repository, resolution will not be reattempted until the update interval of thirdparty has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty was cached in the local repository, resolution will not be reattempted until the update interval of thirdparty has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/codehaus/mojo/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [WARNING] Failure to transfer org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml from http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty was cached in the local repository, resolution will not be reattempted until the update interval of thirdparty has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins:maven-checkstyle-plugin/maven-metadata.xml from/to thirdparty (http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty): Failed to transfer file: http://mvnrepo.nt-solutions.fr/content/repositories/thirdparty/org/apache/maven/plugins/maven-checkstyle-plugin/maven-metadata.xml. Return code is: 503 , ReasonPhrase:Service Unavailable. [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ commons --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ commons --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ commons --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ commons --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ commons --- [JENKINS] Enregistrement des résultats des tests [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ commons --- [INFO] [INFO] >>> maven-source-plugin:3.0.0:jar (default) > generate-sources @ commons >>> [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.0:jar (default) < generate-sources @ commons <<< [INFO] [INFO] --- maven-source-plugin:3.0.0:jar (default) @ commons --- [INFO] [INFO] >>> maven-source-plugin:3.0.0:test-jar (default) > generate-sources @ commons >>> [WARNING] Failed to getClass for org.apache.maven.plugins.source.TestSourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.0:test-jar (default) < generate-sources @ commons <<< [INFO] [INFO] --- maven-source-plugin:3.0.0:test-jar (default) @ commons --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ commons --- [INFO] Installing /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0.jar to /usr/share/tomcat7/.m2/repository/com/atn/commons/2.0/commons-2.0.jar [INFO] Installing /usr/share/tomcat7/.jenkins/workspace/Commons/pom.xml to /usr/share/tomcat7/.m2/repository/com/atn/commons/2.0/commons-2.0.pom [INFO] Installing /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0-sources.jar to /usr/share/tomcat7/.m2/repository/com/atn/commons/2.0/commons-2.0-sources.jar [INFO] Installing /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0-test-sources.jar to /usr/share/tomcat7/.m2/repository/com/atn/commons/2.0/commons-2.0-test-sources.jar [INFO] [INFO] --- maven-checkstyle-plugin:2.17:checkstyle (default-cli) @ commons --- [INFO] There are 2478 errors reported by Checkstyle 6.11.2 with sun_checks.xml ruleset. [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.623 s [INFO] Finished at: 2016-03-09T11:57:05+01:00 [INFO] Final Memory: 29M/71M [INFO] ------------------------------------------------------------------------ En attente que Jenkins finisse de récupérer les données [JENKINS] Archiving /usr/share/tomcat7/.jenkins/workspace/Commons/pom.xml to com.atn/commons/2.0/commons-2.0.pom [JENKINS] Archiving /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0.jar to com.atn/commons/2.0/commons-2.0.jar [JENKINS] Archiving /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0-sources.jar to com.atn/commons/2.0/commons-2.0-sources.jar [JENKINS] Archiving /usr/share/tomcat7/.jenkins/workspace/Commons/target/commons-2.0-test-sources.jar to com.atn/commons/2.0/commons-2.0-test-sources.jar ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.IllegalStateException: cannot change build result while in COMPLETED at hudson.model.Run.setResult(Run.java:456) at hudson.plugins.violations.ViolationsReport.setBuildResult(ViolationsReport.java:542) at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:100) at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:104) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:846) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) project=hudson.maven.MavenModuleSet@16796fc1[Commons] project.getModules()=[hudson.maven.MavenModule@a873987[Commons/com.atn:commons][Commons/com.atn:commons][relativePath:]] project.getRootModule()=hudson.maven.MavenModule@a873987[Commons/com.atn:commons][Commons/com.atn:commons][relativePath:] FATAL: cannot change build result while in COMPLETED java.lang.IllegalStateException: cannot change build result while in COMPLETED at hudson.model.Run.setResult(Run.java:456) at hudson.plugins.violations.ViolationsReport.setBuildResult(ViolationsReport.java:542) at hudson.plugins.violations.hudson.maven.ViolationsMavenReporter.end(ViolationsMavenReporter.java:100) at hudson.maven.AbstractMavenBuilder.end(AbstractMavenBuilder.java:104) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:846) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered Finished: FAILURE
    via by walid mansia,
    • org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalStateException: cannot change build result while in COMPLETED at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) 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) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IllegalStateException: cannot change build result while in COMPLETED at hudson.model.Run.setResult(Run.java:458) at hudson.maven.MavenBuild$ProxyImpl.setResult(MavenBuild.java:494) at hudson.maven.MavenBuild$ProxyImpl2.setResult(MavenBuild.java:547) at sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at hudson.model.Executor$1.call(Executor.java:579) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy91.setResult(Unknown Source) at sun.reflect.GeneratedMethodAccessor318.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:320) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:295) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:254) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18) at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,