See <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/6/changes> Changes: [Eric Chatellier] Fixes two runtime error in embedded mode ------------------------------------------ [...truncated 603 lines...] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-projectId) @ nuiton-gwt --- [WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:2.4:jar (attach-sources) < generate-sources @ nuiton-gwt <<< [INFO] [INFO] --- maven-source-plugin:2.4:jar (attach-sources) @ nuiton-gwt --- [INFO] Building jar: <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-gwt/target/nuiton-gwt-1.18-SNAPSHOT-sources.jar> [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 2 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Nuiton Web :: Nuiton Security 1.18-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6:clean (default-clean) @ nuiton-security --- [INFO] Deleting <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/target> [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-versions) @ nuiton-security --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-project-files) @ nuiton-security --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-site-deploy-classifier) @ nuiton-security --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-platform) @ nuiton-security --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-projectId) @ nuiton-security --- [INFO] [INFO] --- eugene-maven-plugin:2.13:generate (eugene-generation) @ nuiton-security --- [INFO] Process phase [zargo] [INFO] Generate one file in 1.604s. [INFO] Process phase [xmi] INFO [pool-1-thread-1 for channel] (Resource.java:296) getURLs - search URLs pattern: .*/default-uml14.xmi in 82 urls in 6.765s [INFO] Generate one file in 12.926s. [INFO] Process phase [model] WARN [pool-1-thread-1 for channel] (AbstractObjectModelReader.java:398) loadModelTagValue - Invalid model tag value [model.tagvalue.String] : the tagvalue 'String' is unknown. [INFO] Process phase [generator] [INFO] Apply generator TopiaMetaTransformer [INFO] Generate 21 files in 111.979ms. [INFO] [INFO] --- i18n-maven-plugin:3.3:parserJava (default) @ nuiton-security --- [INFO] start entry basedir:<http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/main/java,> includes:[**/*.java] [INFO] 12 file(s) to process (among 12 files) [INFO] Parsing is done. [treated file(s) : 2/12](total time:187.923ms) ( ~ 15.66ms / file) [INFO] [INFO] --- i18n-maven-plugin:3.3:parserValidation (default) @ nuiton-security --- [INFO] Load rules file validation.rules [INFO] Nothing was parsed - all files are up to date. [INFO] [INFO] >>> i18n-maven-plugin:3.3:gen (default) > :get @ nuiton-security >>> [INFO] [INFO] --- i18n-maven-plugin:3.3:get (get) @ nuiton-security --- [INFO] config - basedir : <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/target/generated-sources/i18n> [INFO] config - locales : [fr_FR, en_GB] [INFO] import getter java.getter in 602.493ms [INFO] import getter validation.getter in 441146ns [INFO] Copying nuiton-security.properties to <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/target/generated-sources/i18n/nuiton-security-fromGetters_fr_FR.properties> [INFO] Copying nuiton-security.properties to <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/target/generated-sources/i18n/nuiton-security-fromGetters_en_GB.properties> [INFO] [INFO] <<< i18n-maven-plugin:3.3:gen (default) < :get @ nuiton-security <<< [INFO] [INFO] --- i18n-maven-plugin:3.3:gen (default) @ nuiton-security --- [INFO] config - src basedir : <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/main/resources/i18n> [INFO] config - out basedir : <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/target/generated-sources/i18n> [INFO] config - locales : [fr_FR, en_GB] [INFO] prepare bundle for locale fr_FR [INFO] merge bundle fr_FR to out [WARNING] bundle fr_FR contains 4/4 empty entries! (use -Di18n.showEmpty to see these entries) [INFO] copy bundle fr_FR to src [INFO] prepare bundle for locale en_GB [INFO] merge bundle en_GB to out [WARNING] bundle en_GB contains 4/4 empty entries! (use -Di18n.showEmpty to see these entries) [INFO] copy bundle en_GB to src [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ nuiton-security --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 8 resources [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ nuiton-security --- [INFO] Compiling 31 source files to <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/target/classes> [WARNING] bootstrap class path not set in conjunction with -source 1.6 [WARNING] <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/main/java/org/nuiton/web/security/actions/UserRolesAction.java>:[83,64] findByTopiaId(java.lang.String) in org.nuiton.topia.persistence.internal.AbstractTopiaDao has been deprecated [WARNING] <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/main/java/org/nuiton/web/security/actions/UserRolesAction.java>:[89,68] findByTopiaId(java.lang.String) in org.nuiton.topia.persistence.internal.AbstractTopiaDao has been deprecated [WARNING] <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/main/java/org/nuiton/web/security/actions/UserAction.java>:[56,39] findByTopiaId(java.lang.String) in org.nuiton.topia.persistence.internal.AbstractTopiaDao has been deprecated [WARNING] <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/main/java/org/nuiton/web/security/actions/UserAction.java>:[79,52] findByTopiaId(java.lang.String) in org.nuiton.topia.persistence.internal.AbstractTopiaDao has been deprecated [WARNING] <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/main/java/org/nuiton/web/security/actions/RolePermissionsAction.java>:[126,64] findByTopiaId(java.lang.String) in org.nuiton.topia.persistence.internal.AbstractTopiaDao has been deprecated [WARNING] <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/main/java/org/nuiton/web/security/TopiaSecurityRealm.java>:[96,60] findByLogin(java.lang.String) in org.nuiton.web.security.GeneratedSecurityUserTopiaDao has been deprecated [WARNING] <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/main/java/org/nuiton/web/security/actions/RoleAction.java>:[50,39] findByTopiaId(java.lang.String) in org.nuiton.topia.persistence.internal.AbstractTopiaDao has been deprecated [WARNING] <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/main/java/org/nuiton/web/security/actions/RoleAction.java>:[65,52] findByTopiaId(java.lang.String) in org.nuiton.topia.persistence.internal.AbstractTopiaDao has been deprecated [INFO] <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/target/generated-sources/java/org/nuiton/web/security/GeneratedSecurityUserTopiaDao.java>: Some input files use unchecked or unsafe operations. [INFO] <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/target/generated-sources/java/org/nuiton/web/security/GeneratedSecurityUserTopiaDao.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-antrun-plugin:1.7:run (generate-surefire-workdir) @ nuiton-security --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ nuiton-security --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ nuiton-security --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ nuiton-security --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ nuiton-security --- [INFO] Building jar: <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/nuiton-security/target/nuiton-security-1.18-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ nuiton-security --- [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 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Nuiton Web ......................................... SUCCESS [ 24.104 s] [INFO] Nuiton Web :: Nuiton Web ........................... SUCCESS [ 27.053 s] [INFO] Nuiton Web :: Nuiton Struts 2 ...................... SUCCESS [ 29.895 s] [INFO] Nuiton Web :: Nuiton Tapestry ...................... SUCCESS [ 2.647 s] [INFO] Nuiton Web :: Nuiton RSS ........................... SUCCESS [ 24.043 s] [INFO] Nuiton Web :: Nuiton GWT ........................... SUCCESS [ 21.293 s] [INFO] Nuiton Web :: Nuiton Security ...................... SUCCESS [ 22.564 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:21 min [INFO] Finished at: 2015-11-15T00:30:19+01:00 [INFO] Final Memory: 43M/236M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data channel stopped [nuiton-web-sonar] $ /opt/maven3/bin/mvn -f <http://ci.nuiton.org/jenkins/job/nuiton-web-sonar/ws/pom.xml> -s /var/local/forge/data/nuiton.org/maven/settings.xml -e -B sonar:sonar -Dsonar.jdbc.url=jdbc:postgresql://localhost/sonar-nuiton.org ******** ******** -Dsonar.host.url=http://qa.nuiton.org ******** ******** [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Nuiton Web [INFO] Nuiton Web :: Nuiton Web [INFO] Nuiton Web :: Nuiton Struts 2 [INFO] Nuiton Web :: Nuiton Tapestry [INFO] Nuiton Web :: Nuiton RSS [INFO] Nuiton Web :: Nuiton GWT [INFO] Nuiton Web :: Nuiton Security [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Nuiton Web 1.18-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- sonar-maven-plugin:2.4:sonar (default-cli) @ nuiton-web-parent --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Nuiton Web ......................................... FAILURE [ 37.023 s] [INFO] Nuiton Web :: Nuiton Web ........................... SKIPPED [INFO] Nuiton Web :: Nuiton Struts 2 ...................... SKIPPED [INFO] Nuiton Web :: Nuiton Tapestry ...................... SKIPPED [INFO] Nuiton Web :: Nuiton RSS ........................... SKIPPED [INFO] Nuiton Web :: Nuiton GWT ........................... SKIPPED [INFO] Nuiton Web :: Nuiton Security ...................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 41.010 s [INFO] Finished at: 2015-11-15T00:31:16+01:00 [INFO] Final Memory: 18M/240M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.4:sonar (default-cli) on project nuiton-web-parent: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.4:sonar failed: SonarQube server can not be reached at http://qa.nuiton.org. Please check the parameter 'sonar.host.url'. connect timed out -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.4:sonar (default-cli) on project nuiton-web-parent: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.4:sonar failed: SonarQube server can not be reached at http://qa.nuiton.org. 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.4:sonar failed: SonarQube server can not be reached at http://qa.nuiton.org. 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.nuiton.org. 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:128) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851) at org.codehaus.mojo.sonar.ServerMetadata.getConnection(ServerMetadata.java:119) at org.codehaus.mojo.sonar.ServerMetadata.remoteContent(ServerMetadata.java:91) at org.codehaus.mojo.sonar.ServerMetadata.getVersion(ServerMetadata.java:66) ... 24 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException SonarQube analysis completed: FAILURE Build step 'SonarQube' changed build result to FAILURE Build step 'SonarQube' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds