Build failed in Jenkins: sispea-sonar #30
See <http://ci.codelutin.com/jenkins/job/sispea-sonar/30/changes> Changes: [Arnaud Thimel] Rename SISPEAConstants [Arnaud Thimel] Enable tests [Arnaud Thimel] fr.cs.gemif.utils. -> fr.onema.sispea.util. [Arnaud Thimel] Testify module sispea-util [Arnaud Thimel] Testify module sispea-util [Arnaud Thimel] Testify module sispea-persist [Arnaud Thimel] Testify module sispea-service (début) [Arnaud Thimel] Split des fichiers de conf Spring [Arnaud Thimel] Split des fichiers de conf Spring [Arnaud Thimel] Suppression des tests dans ExportApp ; Suppression des fichiers SQL de migration inutiles [Arnaud Thimel] Isolation des tests dans des bases différentes [Arnaud Thimel] Utilisation d'un runner custom [Arnaud Thimel] Deplacement des classe Runner dans sispea-service ; Ignore des tests legacy [Arnaud Thimel] Correction du chargement du fichier de conf des logs (support de classpath:) [Arnaud Thimel] Correction de la conf (ne pas utiliser un bean java.lang.String) [Arnaud Thimel] Quelques fix suite aux conflits de merge (dépendance guava en double ; NPE dans ShowTerritoryAction ; Mauvais merge dans UsersManagementAction) [Arnaud Thimel] Fichier de logs des tests depuis le classpath ------------------------------------------ [...truncated 1189 lines...] [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ sispea-exchange --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-exchange --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ sispea-exchange --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/sispea-exchange-2.16.0-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-exchange --- [INFO] [INFO] --- maven-assembly-plugin:2.5.4:single (make-assembly) @ sispea-exchange --- [INFO] Reading assembly descriptor: src/main/assembly/exportApp.xml [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/sispea-exchange-2.16.0-SNAPSHOT-with-dependencies.jar> [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA web application 2.16.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ sispea-webapp --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-webapp --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 33 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-webapp --- [INFO] Compiling 192 source files to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes> [INFO] <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/java/uk/org/axioma/servlet/ChartServlet.java>: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/java/uk/org/axioma/servlet/ChartServlet.java> uses unchecked or unsafe operations. [INFO] <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/java/uk/org/axioma/servlet/ChartServlet.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-webapp --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ sispea-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ sispea-webapp --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-webapp --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- maven-war-plugin:2.6:war (default-war) @ sispea-webapp --- [INFO] Packaging webapp [INFO] Assembling webapp [sispea-webapp] in [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp resources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/webapp]> [INFO] Webapp assembled in [20726 msecs] [INFO] Building war: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT.war> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-webapp --- [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. SUCCESS [ 18.476 s] [INFO] SISPEA Utils ....................................... SUCCESS [02:23 min] [INFO] SISPEA Persistence ................................. SUCCESS [ 33.138 s] [INFO] SISPEA Services .................................... SUCCESS [01:56 min] [INFO] SISPEA export application .......................... SUCCESS [ 48.761 s] [INFO] SISPEA web application ............................. SUCCESS [ 35.812 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 09:34 min [INFO] Finished at: 2015-07-04T01:37:54+02:00 [INFO] Final Memory: 41M/234M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data channel stopped [sispea-sonar] $ /opt/maven3/bin/mvn -f <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/pom.xml> -s /var/local/forge/data/codelutin.com/maven/settings.xml -e -B sonar:sonar -Dsonar.jdbc.url=jdbc:postgresql://localhost/sonar-codelutin.com ******** ******** -Dsonar.host.url=http://qa.codelutin.com/ ******** ******** [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] SISPEA [INFO] SISPEA Utils [INFO] SISPEA Persistence [INFO] SISPEA Services [INFO] SISPEA export application [INFO] SISPEA web application [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA 2.16.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-pe... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-pe... [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-se... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-se... [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-service:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-service:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [ 38.708 s] [INFO] SISPEA Utils ....................................... SKIPPED [INFO] SISPEA Persistence ................................. SKIPPED [INFO] SISPEA Services .................................... SKIPPED [INFO] SISPEA export application .......................... SKIPPED [INFO] SISPEA web application ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 43.992 s [INFO] Finished at: 2015-07-04T01:39:16+02:00 [INFO] Final Memory: 18M/240M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project sispea: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. connect timed out -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project sispea: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: java.lang.IllegalStateException: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. at org.codehaus.mojo.sonar.ServerMetadata.getVersion(ServerMetadata.java:70) at org.codehaus.mojo.sonar.ServerMetadata.logSettings(ServerMetadata.java:84) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:126) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851) at org.codehaus.mojo.sonar.ServerMetadata.getConnection(ServerMetadata.java:119) at org.codehaus.mojo.sonar.ServerMetadata.remoteContent(ServerMetadata.java:91) at org.codehaus.mojo.sonar.ServerMetadata.getVersion(ServerMetadata.java:66) ... 24 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException SonarQube analysis completed: FAILURE Build step 'SonarQube' changed build result to FAILURE Build step 'SonarQube' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 1 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 1 second
See <http://ci.codelutin.com/jenkins/job/sispea-sonar/31/changes> Changes: [Tony CHEMIT] Passage en protected de la méthode doExecute [Tony CHEMIT] Nettoyage des actions du paquetage admin + passage en classe abstraite de certaines actions [Tony CHEMIT] Renommage des actions abstraites + continuer à nettoyer le code des actions [Tony CHEMIT] correction des actions suite au merge [Tony CHEMIT] Suppression des fichiers de configuration obsolètes [Tony CHEMIT] Correction de l'appel à la génération jrtf [Tony CHEMIT] suppression contrat et son test inutilisé [Tony CHEMIT] renommage action en abstract [Tony CHEMIT] Simplification de l'injection dans ExchangeManager et ImportManager [Tony CHEMIT] Modification de certains tests (A continuer ou a supprimer...) [Tony CHEMIT] Continue à nettoyager les actions [Tony CHEMIT] Améloration de la configuration struts ------------------------------------------ [...truncated 1187 lines...] [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ sispea-exchange --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-exchange --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ sispea-exchange --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/sispea-exchange-2.16.0-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-exchange --- [INFO] [INFO] --- maven-assembly-plugin:2.5.4:single (make-assembly) @ sispea-exchange --- [INFO] Reading assembly descriptor: src/main/assembly/exportApp.xml [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/sispea-exchange-2.16.0-SNAPSHOT-with-dependencies.jar> [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA web application 2.16.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ sispea-webapp --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-webapp --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 33 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-webapp --- [INFO] Compiling 189 source files to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes> [INFO] <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/java/uk/org/axioma/servlet/ChartServlet.java>: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/java/uk/org/axioma/servlet/ChartServlet.java> uses unchecked or unsafe operations. [INFO] <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/java/uk/org/axioma/servlet/ChartServlet.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-webapp --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ sispea-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ sispea-webapp --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-webapp --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- maven-war-plugin:2.6:war (default-war) @ sispea-webapp --- [INFO] Packaging webapp [INFO] Assembling webapp [sispea-webapp] in [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp resources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/webapp]> [INFO] Webapp assembled in [6938 msecs] [INFO] Building war: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT.war> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-webapp --- [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. SUCCESS [ 17.722 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 25.015 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 20.703 s] [INFO] SISPEA Services .................................... SUCCESS [ 35.738 s] [INFO] SISPEA export application .......................... SUCCESS [ 14.838 s] [INFO] SISPEA web application ............................. SUCCESS [ 20.742 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:47 min [INFO] Finished at: 2015-07-05T01:27:47+02:00 [INFO] Final Memory: 42M/232M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data channel stopped [sispea-sonar] $ /opt/maven3/bin/mvn -f <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/pom.xml> -s /var/local/forge/data/codelutin.com/maven/settings.xml -e -B sonar:sonar -Dsonar.jdbc.url=jdbc:postgresql://localhost/sonar-codelutin.com ******** ******** -Dsonar.host.url=http://qa.codelutin.com/ ******** ******** [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] SISPEA [INFO] SISPEA Utils [INFO] SISPEA Persistence [INFO] SISPEA Services [INFO] SISPEA export application [INFO] SISPEA web application [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA 2.16.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-pe... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-pe... [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-se... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-se... [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-service:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-service:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [ 34.111 s] [INFO] SISPEA Utils ....................................... SKIPPED [INFO] SISPEA Persistence ................................. SKIPPED [INFO] SISPEA Services .................................... SKIPPED [INFO] SISPEA export application .......................... SKIPPED [INFO] SISPEA web application ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 38.279 s [INFO] Finished at: 2015-07-05T01:28:38+02:00 [INFO] Final Memory: 19M/240M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project sispea: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. connect timed out -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project sispea: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: java.lang.IllegalStateException: SonarQube server can not be reached at http://qa.codelutin.com. Please check the parameter 'sonar.host.url'. at org.codehaus.mojo.sonar.ServerMetadata.getVersion(ServerMetadata.java:70) at org.codehaus.mojo.sonar.ServerMetadata.logSettings(ServerMetadata.java:84) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:126) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851) at org.codehaus.mojo.sonar.ServerMetadata.getConnection(ServerMetadata.java:119) at org.codehaus.mojo.sonar.ServerMetadata.remoteContent(ServerMetadata.java:91) at org.codehaus.mojo.sonar.ServerMetadata.getVersion(ServerMetadata.java:66) ... 24 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException SonarQube analysis completed: FAILURE Build step 'SonarQube' changed build result to FAILURE Build step 'SonarQube' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds
See <http://ci.codelutin.com/jenkins/job/sispea-sonar/32/changes> Changes: [Arnaud Thimel] Montées de version : commons-logging, log4j, slf4j, spring, commons-beanutils [Tony CHEMIT] Suppression des propriétés de version ------------------------------------------ [...truncated 1265 lines...] [INFO] Assembling webapp [sispea-webapp] in [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp resources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/webapp]> [INFO] Webapp assembled in [2016 msecs] [INFO] Building war: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT.war> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-webapp --- [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. SUCCESS [ 22.487 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 28.323 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 25.002 s] [INFO] SISPEA Services .................................... SUCCESS [ 32.083 s] [INFO] SISPEA export application .......................... SUCCESS [ 6.183 s] [INFO] SISPEA web application ............................. SUCCESS [ 16.162 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:28 min [INFO] Finished at: 2015-07-07T01:27:21+02:00 [INFO] Final Memory: 46M/264M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data channel stopped [sispea-sonar] $ /opt/maven3/bin/mvn -f <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/pom.xml> -s /var/local/forge/data/codelutin.com/maven/settings.xml -e -B sonar:sonar -Dsonar.jdbc.url=jdbc:postgresql://localhost/sonar-codelutin.com ******** ******** -Dsonar.host.url=http://qa.codelutin.com/ ******** ******** [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] SISPEA [INFO] SISPEA Utils [INFO] SISPEA Persistence [INFO] SISPEA Services [INFO] SISPEA export application [INFO] SISPEA web application [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA 2.16.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-ut... [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-pe... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-pe... [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-se... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-se... [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-service:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [WARNING] The following dependencies could not be resolved at this point of the build but seem to be part of the reactor: [WARNING] o fr.onema:sispea-util:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-persist:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-service:jar:2.16.0-SNAPSHOT (compile) [WARNING] o fr.onema:sispea-util:jar:tests:2.16.0-SNAPSHOT (test) [WARNING] Try running the build up to the lifecycle phase "package" [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [INFO] SonarQube version: 5.1.1 INFO: Default locale: "en_GB", source code encoding: "UTF-8" INFO: Work directory: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/target/sonar> INFO: SonarQube Server 5.1.1 [INFO] [01:27:35.748] Load global repositories [INFO] [01:27:39.772] Load global repositories (done) | time=4027ms [INFO] [01:27:39.775] Server id: 20150619045930 [INFO] [01:27:39.776] User cache: /home/tomcat/.sonar/cache [INFO] [01:27:39.948] Install plugins [INFO] [01:27:52.505] Install JDBC driver [INFO] [01:27:52.546] Create JDBC datasource for jdbc:postgresql://localhost/sonar-codelutin.com [INFO] [01:28:01.646] Initializing Hibernate [INFO] [01:28:07.512] Load project repositories [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [01:01 min] [INFO] SISPEA Utils ....................................... SKIPPED [INFO] SISPEA Persistence ................................. SKIPPED [INFO] SISPEA Services .................................... SKIPPED [INFO] SISPEA export application .......................... SKIPPED [INFO] SISPEA web application ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:04 min [INFO] Finished at: 2015-07-07T01:28:27+02:00 [INFO] Final Memory: 33M/462M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project sispea: Unable to request: /batch/project?key=fr.onema%3Asispea&preview=false: Read timed out -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project sispea: Unable to request: /batch/project?key=fr.onema%3Asispea&preview=false at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286) at org.apache.maven.cli.MavenCli.main(MavenCli.java:197) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to request: /batch/project?key=fr.onema%3Asispea&preview=false at org.codehaus.mojo.sonar.bootstrap.ExceptionHandling.handle(ExceptionHandling.java:41) at org.codehaus.mojo.sonar.bootstrap.RunnerBootstraper.execute(RunnerBootstraper.java:139) at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:132) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: java.lang.IllegalStateException: Unable to request: /batch/project?key=fr.onema%3Asispea&preview=false at org.sonar.batch.bootstrap.ServerClient.request(ServerClient.java:109) at org.sonar.batch.bootstrap.ServerClient.request(ServerClient.java:99) at org.sonar.batch.bootstrap.ServerClient.request(ServerClient.java:87) at org.sonar.batch.repository.DefaultProjectRepositoriesLoader.load(DefaultProjectRepositoriesLoader.java:55) at org.sonar.batch.repository.ProjectRepositoriesProvider.provide(ProjectRepositoriesProvider.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.picocontainer.injectors.MethodInjector.invokeMethod(MethodInjector.java:129) at org.picocontainer.injectors.MethodInjector.access$000(MethodInjector.java:39) at org.picocontainer.injectors.MethodInjector$2.run(MethodInjector.java:113) at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270) at org.picocontainer.injectors.MethodInjector.decorateComponentInstance(MethodInjector.java:120) at org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58) at org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142) at org.picocontainer.injectors.ProviderAdapter.getComponentInstance(ProviderAdapter.java:96) at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:698) at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646) at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:631) at org.picocontainer.parameters.BasicComponentParameter$1.resolveInstance(BasicComponentParameter.java:118) at org.picocontainer.parameters.ComponentParameter$1.resolveInstance(ComponentParameter.java:136) at org.picocontainer.injectors.SingleMemberInjector.getParameter(SingleMemberInjector.java:78) at org.picocontainer.injectors.ConstructorInjector$CtorAndAdapters.getParameterArguments(ConstructorInjector.java:309) at org.picocontainer.injectors.ConstructorInjector$1.run(ConstructorInjector.java:335) at org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:270) at org.picocontainer.injectors.ConstructorInjector.getComponentInstance(ConstructorInjector.java:364) at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.getComponentInstance(AbstractInjectionFactory.java:56) at org.picocontainer.behaviors.AbstractBehavior.getComponentInstance(AbstractBehavior.java:64) at org.picocontainer.behaviors.Stored.getComponentInstance(Stored.java:91) at org.picocontainer.DefaultPicoContainer.getInstance(DefaultPicoContainer.java:698) at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:646) at org.picocontainer.DefaultPicoContainer.getComponent(DefaultPicoContainer.java:677) at org.sonar.api.platform.ComponentContainer.getComponentByType(ComponentContainer.java:209) at org.sonar.batch.scan.ProjectScanContainer.doBeforeStart(ProjectScanContainer.java:92) at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:90) at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77) at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:57) at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45) at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:135) at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92) at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77) at org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:158) at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:95) at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67) at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87) at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75) at java.security.AccessController.doPrivileged(Native Method) at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69) at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50) at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102) at org.sonar.runner.api.Runner.execute(Runner.java:100) at org.codehaus.mojo.sonar.bootstrap.RunnerBootstraper.execute(RunnerBootstraper.java:135) ... 23 more Caused by: java.net.SocketTimeoutException: Read timed out at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1676) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1674) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1672) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1245) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468) at org.sonar.api.utils.HttpDownloader$BaseHttpDownloader$HttpInputSupplier.getInput(HttpDownloader.java:298) at org.sonar.api.utils.HttpDownloader$BaseHttpDownloader$HttpInputSupplier.getInput(HttpDownloader.java:255) at org.sonar.batch.bootstrap.ServerClient.request(ServerClient.java:105) ... 80 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:152) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:690) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1324) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2691) at java.net.URLConnection.getContentEncoding(URLConnection.java:533) at org.sonar.api.utils.HttpDownloader$BaseHttpDownloader$HttpInputSupplier.getInput(HttpDownloader.java:296) ... 82 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException SonarQube analysis completed: FAILURE Build step 'SonarQube' changed build result to FAILURE Build step 'SonarQube' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 6 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds
participants (1)
-
admin+ci-codelutin.com@codelutin.com