Build failed in Jenkins: sispea-sonar #16
See <http://ci.codelutin.com/jenkins/job/sispea-sonar/16/> ------------------------------------------ [...truncated 409 lines...] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-exchange --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-exchange --- [INFO] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/classes> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-exchange --- [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] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-exchange --- [INFO] Tests are skipped. [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.15.0.2-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.15.0.2-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.15.0.2-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 1 resource [INFO] Copying 73 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-webapp --- [INFO] Compiling 199 source files to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes> [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] Tests are skipped. [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.15.0.2-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-service/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-persist/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp resources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/webapp]> [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT/WEB-INF/lib/sispea-webapp-2.15.0.2-SNAPSHOT.jar> [INFO] Webapp assembled in [4306 msecs] [INFO] Building war: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-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 [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. SUCCESS [ 21.432 s] [INFO] SISPEA Open CSV .................................... SUCCESS [ 16.315 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 5.277 s] [INFO] SISPEA jRTF adaption ............................... SUCCESS [ 2.497 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 15.298 s] [INFO] SISPEA Data model .................................. SUCCESS [ 6.046 s] [INFO] SISPEA Services .................................... SUCCESS [ 17.123 s] [INFO] SISPEA export application .......................... SUCCESS [ 9.983 s] [INFO] SISPEA web application ............................. SUCCESS [ 20.979 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:23 min [INFO] Finished at: 2015-06-20T01:26:17+02:00 [INFO] Final Memory: 43M/233M [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 Open CSV [INFO] SISPEA Utils [INFO] SISPEA jRTF adaption [INFO] SISPEA Persistence [INFO] SISPEA Data model [INFO] SISPEA Services [INFO] SISPEA export application [INFO] SISPEA web application [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA 2.15.0.2-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/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/repositories/snapshots/fr/onema/sispea... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-op... [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-jr... [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-mo... [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] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [ 4.936 s] [INFO] SISPEA Open CSV .................................... SKIPPED [INFO] SISPEA Utils ....................................... SKIPPED [INFO] SISPEA jRTF adaption ............................... SKIPPED [INFO] SISPEA Persistence ................................. SKIPPED [INFO] SISPEA Data model .................................. SKIPPED [INFO] SISPEA Services .................................... SKIPPED [INFO] SISPEA export application .......................... SKIPPED [INFO] SISPEA web application ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.688 s [INFO] Finished at: 2015-06-20T01:26:34+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'. Connection refused -> [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.ConnectException: Connection refused 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/17/changes> Changes: [Tony CHEMIT] correction de la license [Tony CHEMIT] ajout d'un readme pour bien vérifier qu'on peut supprimer le module sispea-opencsv et utiliser la dépendance citée [Tony CHEMIT] correction de la license (bis avec l'option license.force ça marche mieux^^) ------------------------------------------ [...truncated 409 lines...] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-exchange --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-exchange --- [INFO] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/classes> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-exchange --- [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] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-exchange --- [INFO] Tests are skipped. [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.15.0.2-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.15.0.2-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.15.0.2-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 1 resource [INFO] Copying 73 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-webapp --- [INFO] Compiling 199 source files to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes> [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] Tests are skipped. [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.15.0.2-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-service/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-persist/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp resources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/webapp]> [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT/WEB-INF/lib/sispea-webapp-2.15.0.2-SNAPSHOT.jar> [INFO] Webapp assembled in [3396 msecs] [INFO] Building war: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-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 [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. SUCCESS [ 22.503 s] [INFO] SISPEA Open CSV .................................... SUCCESS [ 15.510 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 3.461 s] [INFO] SISPEA jRTF adaption ............................... SUCCESS [ 2.104 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 13.183 s] [INFO] SISPEA Data model .................................. SUCCESS [ 5.394 s] [INFO] SISPEA Services .................................... SUCCESS [ 20.593 s] [INFO] SISPEA export application .......................... SUCCESS [ 8.018 s] [INFO] SISPEA web application ............................. SUCCESS [ 19.333 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:17 min [INFO] Finished at: 2015-06-21T01:26:12+02:00 [INFO] Final Memory: 43M/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 Open CSV [INFO] SISPEA Utils [INFO] SISPEA jRTF adaption [INFO] SISPEA Persistence [INFO] SISPEA Data model [INFO] SISPEA Services [INFO] SISPEA export application [INFO] SISPEA web application [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA 2.15.0.2-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/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-op... [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-jr... [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-mo... [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] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [ 3.812 s] [INFO] SISPEA Open CSV .................................... SKIPPED [INFO] SISPEA Utils ....................................... SKIPPED [INFO] SISPEA jRTF adaption ............................... SKIPPED [INFO] SISPEA Persistence ................................. SKIPPED [INFO] SISPEA Data model .................................. SKIPPED [INFO] SISPEA Services .................................... SKIPPED [INFO] SISPEA export application .......................... SKIPPED [INFO] SISPEA web application ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 7.454 s [INFO] Finished at: 2015-06-21T01:26:23+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'. Connection refused -> [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.ConnectException: Connection refused 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/18/> ------------------------------------------ [...truncated 408 lines...] [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-exchange --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-exchange --- [INFO] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/classes> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-exchange --- [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] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-exchange --- [INFO] Tests are skipped. [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.15.0.2-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.15.0.2-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.15.0.2-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 1 resource [INFO] Copying 73 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-webapp --- [INFO] Compiling 199 source files to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes> [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] Tests are skipped. [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.15.0.2-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-service/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-persist/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp resources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/webapp]> [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT/WEB-INF/lib/sispea-webapp-2.15.0.2-SNAPSHOT.jar> [INFO] Webapp assembled in [720 msecs] [INFO] Building war: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-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 [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. SUCCESS [ 1.893 s] [INFO] SISPEA Open CSV .................................... SUCCESS [ 2.219 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 1.424 s] [INFO] SISPEA jRTF adaption ............................... SUCCESS [ 1.348 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 2.885 s] [INFO] SISPEA Data model .................................. SUCCESS [ 1.749 s] [INFO] SISPEA Services .................................... SUCCESS [ 5.945 s] [INFO] SISPEA export application .......................... SUCCESS [ 2.577 s] [INFO] SISPEA web application ............................. SUCCESS [ 5.461 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.722 s [INFO] Finished at: 2015-06-23T11:49:44+02:00 [INFO] Final Memory: 50M/439M [INFO] ------------------------------------------------------------------------ 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 Open CSV [INFO] SISPEA Utils [INFO] SISPEA jRTF adaption [INFO] SISPEA Persistence [INFO] SISPEA Data model [INFO] SISPEA Services [INFO] SISPEA export application [INFO] SISPEA web application [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA 2.15.0.2-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/groups/sispea-group/fr/onema/sispea-pe... [INFO] Downloading: http://nexus.nuiton.org/nexus/content/groups/sispea-group/fr/onema/sispea-op... [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-jr... [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-mo... [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] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [ 1.264 s] [INFO] SISPEA Open CSV .................................... SKIPPED [INFO] SISPEA Utils ....................................... SKIPPED [INFO] SISPEA jRTF adaption ............................... SKIPPED [INFO] SISPEA Persistence ................................. SKIPPED [INFO] SISPEA Data model .................................. SKIPPED [INFO] SISPEA Services .................................... SKIPPED [INFO] SISPEA export application .......................... SKIPPED [INFO] SISPEA web application ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.888 s [INFO] Finished at: 2015-06-23T11:49:49+02:00 [INFO] Final Memory: 20M/303M [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'. Connection refused -> [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.ConnectException: Connection refused 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/19/changes> Changes: [Tony CHEMIT] suppression des @SuppressWarnings [Tony CHEMIT] mise à jour du readme.txt [Tony CHEMIT] suppression du module sispea-opencsv et utilisation de la librarie publique ------------------------------------------ [...truncated 332 lines...] [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-service --- [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 export application 2.15.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ sispea-exchange --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-exchange --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-exchange --- [INFO] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/classes> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-exchange --- [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] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-exchange --- [INFO] Tests are skipped. [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.15.0.2-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.15.0.2-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.15.0.2-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 1 resource [INFO] Copying 73 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-webapp --- [INFO] Compiling 199 source files to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes> [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] Tests are skipped. [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.15.0.2-SNAPSHOT]> [INFO] Processing war project [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-service/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-persist/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT]> [INFO] Copying webapp resources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/webapp]> [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-SNAPSHOT/WEB-INF/lib/sispea-webapp-2.15.0.2-SNAPSHOT.jar> [INFO] Webapp assembled in [412 msecs] [INFO] Building war: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.15.0.2-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 [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. SUCCESS [ 1.884 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 2.224 s] [INFO] SISPEA jRTF adaption ............................... SUCCESS [ 1.325 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 2.453 s] [INFO] SISPEA Data model .................................. SUCCESS [ 1.457 s] [INFO] SISPEA Services .................................... SUCCESS [ 3.825 s] [INFO] SISPEA export application .......................... SUCCESS [ 2.461 s] [INFO] SISPEA web application ............................. SUCCESS [ 4.466 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24.298 s [INFO] Finished at: 2015-06-23T12:10:53+02:00 [INFO] Final Memory: 48M/473M [INFO] ------------------------------------------------------------------------ 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 jRTF adaption [INFO] SISPEA Persistence [INFO] SISPEA Data model [INFO] SISPEA Services [INFO] SISPEA export application [INFO] SISPEA web application [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA 2.15.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [01:00 min] [INFO] SISPEA Utils ....................................... SKIPPED [INFO] SISPEA jRTF adaption ............................... SKIPPED [INFO] SISPEA Persistence ................................. SKIPPED [INFO] SISPEA Data model .................................. SKIPPED [INFO] SISPEA Services .................................... SKIPPED [INFO] SISPEA export application .......................... SKIPPED [INFO] SISPEA web application ............................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:01 min [INFO] Finished at: 2015-06-23T12:11:56+02:00 [INFO] Final Memory: 19M/303M [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'. 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: 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: 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 java.net.URLConnection.getContent(URLConnection.java:748) at org.codehaus.mojo.sonar.ServerMetadata.remoteContent(ServerMetadata.java:92) 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/20/changes> Changes: [Tony CHEMIT] mise à jour entete de license [Tony CHEMIT] ajout commentaires dans le readme de sispe-jrtf [Tony CHEMIT] Utilisation de la librairie publique jrtf (avec un petit hack pour appeler une méthode de visibilité package) [Tony CHEMIT] Suppression physique du module sispea-jrtf [Arnaud Thimel] Début de la 2.16.0-SNAPSHOT [Arnaud Thimel] Premier passage : fr.cs.sispea -> fr.onema.sispea [Arnaud Thimel] Fichiers de properties en UTF-8 [Arnaud Thimel] Deuxième passage : fr.cs.sispea -> fr.onema.sispea [Arnaud Thimel] Troisième passage : fr.cs.sispea -> fr.onema.sispea [Arnaud Thimel] Ajout d'un répertoire dans le module persist pour ajout les scripts de migrations + ajout du script de migration des noms de pakcages dans la base [Arnaud Thimel] Quatrième passage : fr.cs.sispea -> fr.onema.sispea [Arnaud Thimel] Echappement de l'encoding (quand possible) [Arnaud Thimel] Ajout du suffixe Dto sur toutes les classes du modules sispea-model [Arnaud Thimel] renommages des *Bean* en *Dto* [Arnaud Thimel] Déplacement des classes du module sispea-model vers sispea-service avec changement du paquetage [Arnaud Thimel] suppression physique du module sispea_model [Arnaud Thimel] Ajout de commandes utiles pour de la conversion de fichiers (encoding) [Arnaud Thimel] Suppression de références vers le fichier de conf Spring du module sispea-model (fichier vide BTW) [Arnaud Thimel] Ajout de FIXME sur les énumérations homonymes [Arnaud Thimel] Renommage des *Bean en *Dto dans le module service [Arnaud Thimel] Renommage des deux derniers *Bean en *Dto dans le module service [Arnaud Thimel] Renommage du dernier *Bean (sisi c'estle dernier) en *Dto dans le module service [Arnaud Thimel] Renommage des *Bean en $ dans le module persist [Arnaud Thimel] Import manquant (suite merge) [Arnaud Thimel] suppression de la dépendance vers sispea-model dans le pom de sispea-service ------------------------------------------ [...truncated 259 lines...] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-exchange --- [INFO] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/classes> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-exchange --- [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] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-exchange --- [INFO] Tests are skipped. [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 1 resource [INFO] Copying 73 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-webapp --- [INFO] Compiling 199 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/fr/onema/sispea/struts/referential/action/ShowDataComparatorAction.java>: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/java/fr/onema/sispea/struts/referential/action/ShowDataComparatorAction.java> uses unchecked or unsafe operations. [INFO] <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/java/fr/onema/sispea/struts/referential/action/ShowDataComparatorAction.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] Tests are skipped. [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 webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-service/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-persist/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT]> [INFO] Copying webapp resources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/webapp]> [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT/WEB-INF/lib/sispea-webapp-2.16.0-SNAPSHOT.jar> [INFO] Webapp assembled in [442 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 [ 1.956 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 2.223 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 2.729 s] [INFO] SISPEA Services .................................... SUCCESS [ 4.498 s] [INFO] SISPEA export application .......................... SUCCESS [ 2.409 s] [INFO] SISPEA web application ............................. SUCCESS [ 4.929 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.729 s [INFO] Finished at: 2015-06-23T15:38:03+02:00 [INFO] Final Memory: 47M/402M [INFO] ------------------------------------------------------------------------ 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/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/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-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" [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [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:02 min [INFO] Finished at: 2015-06-23T15:39:07+02:00 [INFO] Final Memory: 20M/303M [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'. 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: 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: 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 java.net.URLConnection.getContent(URLConnection.java:748) at org.codehaus.mojo.sonar.ServerMetadata.remoteContent(ServerMetadata.java:92) 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/21/> ------------------------------------------ [...truncated 242 lines...] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-exchange --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-exchange --- [INFO] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/classes> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-exchange --- [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] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-exchange/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-exchange --- [INFO] Tests are skipped. [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 1 resource [INFO] Copying 73 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-webapp --- [INFO] Compiling 199 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/fr/onema/sispea/struts/referential/action/ShowDataComparatorAction.java>: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/java/fr/onema/sispea/struts/referential/action/ShowDataComparatorAction.java> uses unchecked or unsafe operations. [INFO] <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/java/fr/onema/sispea/struts/referential/action/ShowDataComparatorAction.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] Tests are skipped. [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 webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-service/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT]> [INFO] Copying webapp webResources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/../sispea-persist/target/classes]> to [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT]> [INFO] Copying webapp resources [<http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/src/main/webapp]> [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-sonar/ws/sispea-webapp/target/sispea-webapp-2.16.0-SNAPSHOT/WEB-INF/lib/sispea-webapp-2.16.0-SNAPSHOT.jar> [INFO] Webapp assembled in [439 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 [ 1.921 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 2.326 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 2.761 s] [INFO] SISPEA Services .................................... SUCCESS [ 4.520 s] [INFO] SISPEA export application .......................... SUCCESS [ 2.389 s] [INFO] SISPEA web application ............................. SUCCESS [ 4.829 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22.434 s [INFO] Finished at: 2015-06-23T15:58:37+02:00 [INFO] Final Memory: 51M/472M [INFO] ------------------------------------------------------------------------ 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] ------------------------------------------------------------------------ [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" [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" [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-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" [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ sispea --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. FAILURE [01:00 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:01 min [INFO] Finished at: 2015-06-23T15:59:40+02:00 [INFO] Final Memory: 19M/303M [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'. 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: 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: 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 java.net.URLConnection.getContent(URLConnection.java:748) at org.codehaus.mojo.sonar.ServerMetadata.remoteContent(ServerMetadata.java:92) 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
participants (1)
-
admin+ci-codelutin.com@codelutin.com