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