Build failed in Jenkins: mapod-sonar #22
See <http://ci.codelutin.com/jenkins/job/mapod-sonar/22/changes> Changes: [Tony CHEMIT] Ajout de la méthode pour mettre à jour le workspace à partir du projet (refs #7364) [Tony CHEMIT] Mise à jour du workspace lors d'une suppression d'un Name entity + amélioration du code (refs #7364) [Tony CHEMIT] Utiliser la date de création de projet uniquement quand celui-ci est ouvert (refs #7364) [Tony CHEMIT] Mise à jour du workspace à la sauvegarde d'un élément du projet (refs #7364) [Tony CHEMIT] Ajout au contrat MapodProject dans méthodes utilisables par les deux types de projet (refs #7377) [Tony CHEMIT] Un peu de ménage dans le code, les storages sont sans état donc inutile de les instancier à chaque fois... + un peu de factorisation de code (refs #7377) [Tony CHEMIT] Les appels sont désormais transparents là où il ne faut... (refs #7377) [Tony CHEMIT] Suppression du lanceur de simulation dans le workspace (refs #7376) [Tony CHEMIT] Mise à jour du nom du lanceur uniquement à l'ouvertture du projet + correction de la date de création en fermeture (refs #7376) [Tony CHEMIT] Suppresion de la colonne id dans l'import/export utilisateur d'un fichier météo (refs #7380) [Tony CHEMIT] Rendre l'import/export strict sur les itinéraires techniques (refs #7381) ------------------------------------------ [...truncated 297 lines...] Results : Tests run: 29, Failures: 0, Errors: 0, Skipped: 2 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ mapod-services --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-services/target/mapod-services-0.3-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ mapod-services --- [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 5 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Mapod :: Swing 0.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ mapod-swing --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ mapod-swing --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ mapod-swing --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ mapod-swing --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ mapod-swing --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ mapod-swing --- [INFO] [INFO] --- jaxx-maven-plugin:2.24:generate (default) @ mapod-swing --- [INFO] use project compile scope class-path [INFO] Detects 35 modified jaxx file(s). [INFO] Generated 35 file(s) in 32.862s [INFO] [INFO] --- jaxx-maven-plugin:2.24:generate-help-ids (default) @ mapod-swing --- [INFO] Store detected help ids to <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/generated-sources/jaxx/helpIds.txt> [INFO] Merge help ids to <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/generated-sources/jaxx/helpIds-all.txt> [INFO] Use input file: <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/filtered-resources/mapod-help-en.properties> [INFO] No keys to add. [INFO] [INFO] --- i18n-maven-plugin:3.3:parserJava (scan-sources) @ mapod-swing --- [INFO] [INFO] --- i18n-maven-plugin:3.3:parserValidation (scan-sources) @ mapod-swing --- [INFO] Load rules file validation.rules [INFO] [INFO] >>> i18n-maven-plugin:3.3:gen (scan-sources) > :get @ mapod-swing >>> [INFO] [INFO] --- i18n-maven-plugin:3.3:get (get) @ mapod-swing --- [INFO] Copying mapod-swing.properties to <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/generated-sources/i18n/mapod-swing-fromGetters_fr_FR.properties> [INFO] Copying mapod-swing.properties to <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/generated-sources/i18n/mapod-swing-fromGetters_en_GB.properties> [INFO] [INFO] <<< i18n-maven-plugin:3.3:gen (scan-sources) < :get @ mapod-swing <<< [INFO] [INFO] --- i18n-maven-plugin:3.3:gen (scan-sources) @ mapod-swing --- [WARNING] bundle fr_FR contains 47/1017 empty entries! (use -Di18n.showEmpty to see these entries) [WARNING] bundle en_GB contains 1085/1091 empty entries! (use -Di18n.showEmpty to see these entries) [INFO] [INFO] >>> i18n-maven-plugin:3.3:bundle (make-bundle) > :collect-i18n-artifacts @ mapod-swing >>> [INFO] [INFO] --- i18n-maven-plugin:3.3:collect-i18n-artifacts (collect-i18n-artifacts) @ mapod-swing --- [INFO] collected 11 i18n artifacts for locale fr_FR stored in <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/i18n/collect-mapod-swing-i18n_fr_FR.properties> [INFO] collected 11 i18n artifacts for locale en_GB stored in <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/i18n/collect-mapod-swing-i18n_en_GB.properties> [INFO] [INFO] <<< i18n-maven-plugin:3.3:bundle (make-bundle) < :collect-i18n-artifacts @ mapod-swing <<< [INFO] [INFO] --- i18n-maven-plugin:3.3:bundle (make-bundle) @ mapod-swing --- [WARNING] bundle fr_FR contains 47/1239 empty entries! (use -Di18n.showEmpty to see these entries) [WARNING] bundle en_GB contains 1124/1312 empty entries! (use -Di18n.showEmpty to see these entries) [INFO] [INFO] --- i18n-maven-plugin:3.3:generate-csv-bundle (make-bundle) @ mapod-swing --- [INFO] [INFO] --- license-maven-plugin:1.8:update-project-license (attach-licenses) @ mapod-swing --- [INFO] adding extra resolver file://<http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/src/license> [INFO] [INFO] --- license-maven-plugin:1.8:add-third-party (attach-licenses) @ mapod-swing --- [INFO] Load missing file <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/license/THIRD-PARTY.properties> [INFO] Missing file <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/license/THIRD-PARTY.properties> is up-to-date. [INFO] Writing third-party file to <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/generated-sources/license/THIRD-PARTY.txt> [INFO] Writing bundled third-party file to <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/generated-sources/license/META-INF/mapod-THIRD-PARTY.txt> [INFO] Will attach third party file from <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/license/THIRD-PARTY.properties> [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ mapod-swing --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] Copying 82 resources [INFO] Copying 4 resources [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ mapod-swing --- [INFO] Compiling 379 source files to <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/classes> [WARNING] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/AbstractMapodUIHandler.java>:[19,38] jaxx.runtime.swing.editor.cell.NumberCellEditor in jaxx.runtime.swing.editor.cell has been deprecated [WARNING] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/table/AbstractMapodUIHandlerWithTable.java>:[19,38] jaxx.runtime.swing.editor.cell.NumberCellEditor in jaxx.runtime.swing.editor.cell has been deprecated [WARNING] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/AbstractMapodUIHandler.java>:[73,30] getValidator() in org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler has been deprecated [WARNING] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/AbstractMapodUIHandler.java>:[233,9] jaxx.runtime.swing.editor.cell.NumberCellEditor in jaxx.runtime.swing.editor.cell has been deprecated [WARNING] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/table/AbstractMapodUIHandlerWithTable.java>:[237,39] jaxx.runtime.swing.editor.cell.NumberCellEditor in jaxx.runtime.swing.editor.cell has been deprecated [WARNING] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/table/AbstractMapodUIHandlerWithTable.java>:[238,17] jaxx.runtime.swing.editor.cell.NumberCellEditor in jaxx.runtime.swing.editor.cell has been deprecated [WARNING] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/table/AbstractMapodUIHandlerWithTable.java>:[238,44] jaxx.runtime.swing.editor.cell.NumberCellEditor in jaxx.runtime.swing.editor.cell has been deprecated [WARNING] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/table/AbstractMapodUIHandlerWithTable.java>:[260,43] jaxx.runtime.swing.editor.cell.NumberCellEditor in jaxx.runtime.swing.editor.cell has been deprecated [WARNING] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/table/AbstractMapodUIHandlerWithTable.java>:[261,21] jaxx.runtime.swing.editor.cell.NumberCellEditor in jaxx.runtime.swing.editor.cell has been deprecated [WARNING] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/table/AbstractMapodUIHandlerWithTable.java>:[261,48] jaxx.runtime.swing.editor.cell.NumberCellEditor in jaxx.runtime.swing.editor.cell has been deprecated [INFO] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/AbstractMapodUIHandler.java>: Some input files use unchecked or unsafe operations. [INFO] <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/main/java/fr/inra/mapod/swing/util/AbstractMapodUIHandler.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-assembly-plugin:2.5.4:single (assembly-help) @ mapod-swing --- [INFO] Reading assembly descriptor: src/main/assembly/help.xml [INFO] Building zip: <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/classes/mapod-help.zip> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ mapod-swing --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ mapod-swing --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ mapod-swing --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ mapod-swing --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- maven-dependency-plugin:2.10:copy-dependencies (copy-dependencies) @ mapod-swing --- [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ mapod-swing --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/mapod-sonar/ws/mapod-swing/target/mapod-swing-0.3-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ mapod-swing --- [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[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Mapod .............................................. SUCCESS [ 37.507 s] [INFO] Mapod :: Persistence ............................... SUCCESS [01:29 min] [INFO] Mapod :: Services .................................. SUCCESS [01:01 min] [INFO] Mapod :: Swing ..................................... SUCCESS [02:00 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:47 min [INFO] Finished at: 2015-07-20T01:45:28+02:00 [INFO] Final Memory: 111M/480M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data channel stopped [mapod-sonar] $ /opt/maven3/bin/mvn -f <http://ci.codelutin.com/jenkins/job/mapod-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] Mapod [INFO] Mapod :: Persistence [INFO] Mapod :: Services [INFO] Mapod :: Swing [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Mapod 0.3-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ mapod --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Mapod .............................................. FAILURE [01:03 min] [INFO] Mapod :: Persistence ............................... SKIPPED [INFO] Mapod :: Services .................................. SKIPPED [INFO] Mapod :: Swing ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:08 min [INFO] Finished at: 2015-07-20T01:47:19+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 mapod: 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 mapod: 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