java.lang.IllegalStateException

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.

  • Hello , When Tagging Successful builds in Dimensions as a Baseline and when the said a baseline name already exists in Dimensions, the dimensionsscm plugin reports the failure thrown by Dimesions (as expected) by logging the message{color:red} 'Tag successful builds in Dimensions as a baseline' marked build as failure{color} but then it carries on and doesn't mark the entire build as failed. It ends the job with {color:red}*Finished: SUCCESS*{color} which is misleading. Ideally when the tagging fails it should make the entire build as failed and change the icon accordingly. here is the full error and some ---- _FATAL: Unable to tag build in Dimensions (DimensionsRuntimeException: Create baseline (DimensionsRuntimeException: Dimensions command 'CBL "STREAM1:TEST_MAIN_33" /WORKSET="STREAM1:TEST_MAIN" /SCOPE=WORKSET /DESCRIPTION="Baseline created by Hudson/Jenkins for job 'TEST_MAIN' - build 94"' failed (DimensionsRuntimeException: {color:red}COR0005315E Identifier "TEST_MAIN_33" is already used for another object of this type, please use a different identifier{color} ))) ERROR: Build step failed with exception java.lang.IllegalStateException: cannot change build result while in POST_PRODUCTION at hudson.model.Run.setResult(Run.java:456) at hudson.plugins.dimensionsscm.DimensionsBuildNotifier.perform(DimensionsBuildNotifier.java:410) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.cleanUp(Build.java:195) at hudson.model.Run.execute(Run.java:1785) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) {color:red}Build step 'Tag successful builds in Dimensions as a baseline' marked build as failure Finished: SUCCESS{color}_
    via by Nas Taibi,
  • Hello , When Tagging Successful builds in Dimensions as a Baseline and when the said a baseline name already exists in Dimensions, the dimensionsscm plugin reports the failure thrown by Dimesions (as expected) by logging the message{color:red} 'Tag successful builds in Dimensions as a baseline' marked build as failure{color} but then it carries on and doesn't mark the entire build as failed. It ends the job with {color:red}*Finished: SUCCESS*{color} which is misleading. Ideally when the tagging fails it should make the entire build as failed and change the icon accordingly. here is the full error and some ---- _FATAL: Unable to tag build in Dimensions (DimensionsRuntimeException: Create baseline (DimensionsRuntimeException: Dimensions command 'CBL "STREAM1:TEST_MAIN_33" /WORKSET="STREAM1:TEST_MAIN" /SCOPE=WORKSET /DESCRIPTION="Baseline created by Hudson/Jenkins for job 'TEST_MAIN' - build 94"' failed (DimensionsRuntimeException: {color:red}COR0005315E Identifier "TEST_MAIN_33" is already used for another object of this type, please use a different identifier{color} ))) ERROR: Build step failed with exception java.lang.IllegalStateException: cannot change build result while in POST_PRODUCTION at hudson.model.Run.setResult(Run.java:456) at hudson.plugins.dimensionsscm.DimensionsBuildNotifier.perform(DimensionsBuildNotifier.java:410) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.cleanUp(Build.java:195) at hudson.model.Run.execute(Run.java:1785) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) {color:red}Build step 'Tag successful builds in Dimensions as a baseline' marked build as failure Finished: SUCCESS{color}_
    via by Nas Taibi,
  • The preintegration post build step fails with an exception and marks build as failure. Still the build ends up as success. {code} [PREINT] Performing pre-verified post build steps [PREINT] Using the master branch for polling and development is not allowed since it will attempt to merge it to other branches and delete it after. Failing build. ERROR: Build step failed with exception java.lang.IllegalStateException: cannot change build result while in POST_PRODUCTION at hudson.model.Run.setResult(Run.java:459) at org.jenkinsci.plugins.pretestedintegration.scm.git.GitBridge.handlePostBuild(GitBridge.java:565) at org.jenkinsci.plugins.pretestedintegration.PretestedIntegrationAction.finalise(PretestedIntegrationAction.java:94) at org.jenkinsci.plugins.pretestedintegration.PretestedIntegrationPostCheckout.perform(PretestedIntegrationPostCheckout.java:58) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:776) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.cleanUp(Build.java:193) at hudson.model.Run.execute(Run.java:1785) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Build step 'Pretested Integration post-build' marked build as failure [WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done Warning: ‘Access Control for Builds’ in global security configuration is empty, so falling back to legacy behavior of permitting any downstream builds to be triggered Triggering a new build of pack-status__publish__master Finished: SUCCESS {code}
    via by Per Arnold Blaasmo,
  • When build is successful, but the push fails the plugin tries to change state of the build to failed. At this point it is not allowed by the Jenkins plugin model. So integration is successful according to build status, but the changes never got pushed. {code} Performing pre-verified post build steps [PREINT-GIT] Commiting changes [PREINT] git push origin master [bpe.roadshow.verify] $ git push origin master Failed to commit integrated changes, message was: fatal: could not read Username for 'https://github.com': No such device or address ERROR: Build step failed with exception java.lang.IllegalStateException: cannot change build result while in POST_PRODUCTION at hudson.model.Run.setResult(Run.java:461) at org.jenkinsci.plugins.pretestedintegration.PretestedIntegrationPostCheckout.perform(PretestedIntegrationPostCheckout.java:71) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.cleanUp(Build.java:193) at hudson.model.Run.execute(Run.java:1797) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Build step 'Pretested Integration post-build' marked build as failure Finished: SUCCESS {code}
    via by Bue Petersen,
  • The preintegration post build step fails with an exception and marks build as failure. Still the build ends up as success. {code} [PREINT] Performing pre-verified post build steps [PREINT] Using the master branch for polling and development is not allowed since it will attempt to merge it to other branches and delete it after. Failing build. ERROR: Build step failed with exception java.lang.IllegalStateException: cannot change build result while in POST_PRODUCTION at hudson.model.Run.setResult(Run.java:459) at org.jenkinsci.plugins.pretestedintegration.scm.git.GitBridge.handlePostBuild(GitBridge.java:565) at org.jenkinsci.plugins.pretestedintegration.PretestedIntegrationAction.finalise(PretestedIntegrationAction.java:94) at org.jenkinsci.plugins.pretestedintegration.PretestedIntegrationPostCheckout.perform(PretestedIntegrationPostCheckout.java:58) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:776) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.cleanUp(Build.java:193) at hudson.model.Run.execute(Run.java:1785) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Build step 'Pretested Integration post-build' marked build as failure [WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] done Warning: ‘Access Control for Builds’ in global security configuration is empty, so falling back to legacy behavior of permitting any downstream builds to be triggered Triggering a new build of pack-status__publish__master Finished: SUCCESS {code}
    via by Per Arnold Blaasmo,
  • When build is successful, but the push fails the plugin tries to change state of the build to failed. At this point it is not allowed by the Jenkins plugin model. So integration is successful according to build status, but the changes never got pushed. {code} Performing pre-verified post build steps [PREINT-GIT] Commiting changes [PREINT] git push origin master [bpe.roadshow.verify] $ git push origin master Failed to commit integrated changes, message was: fatal: could not read Username for 'https://github.com': No such device or address ERROR: Build step failed with exception java.lang.IllegalStateException: cannot change build result while in POST_PRODUCTION at hudson.model.Run.setResult(Run.java:461) at org.jenkinsci.plugins.pretestedintegration.PretestedIntegrationPostCheckout.perform(PretestedIntegrationPostCheckout.java:71) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) at hudson.model.Build$BuildExecution.cleanUp(Build.java:193) at hudson.model.Run.execute(Run.java:1797) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Build step 'Pretested Integration post-build' marked build as failure Finished: SUCCESS {code}
    via by Bue Petersen,
  • 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,
    • java.lang.IllegalStateException: cannot change build result while in POST_PRODUCTION at hudson.model.Run.setResult(Run.java:456) at hudson.plugins.dimensionsscm.DimensionsBuildNotifier.perform(DimensionsBuildNotifier.java:410) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.cleanUp(Build.java:195) at hudson.model.Run.execute(Run.java:1785) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)

    Users with the same issue

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