See <http://ci.nuiton.org/jenkins/job/nuiton-utils-sonar/9/changes> Changes: [Tony CHEMIT] Add method to test if a file is GZipped (See #3770) [Tony CHEMIT] Add also a method to check if an inputStream is GZippped (See #3770) ------------------------------------------ [...truncated 242 lines...] Running org.nuiton.util.StringUtilTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in org.nuiton.util.StringUtilTest Running org.nuiton.util.ListenerSetTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec - in org.nuiton.util.ListenerSetTest Running org.nuiton.util.ObjectUtilTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec - in org.nuiton.util.ObjectUtilTest Running org.nuiton.util.pagination.PaginationParameterTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.nuiton.util.pagination.PaginationParameterTest Running org.nuiton.util.pagination.PaginationResultTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.nuiton.util.pagination.PaginationResultTest Running org.nuiton.util.converter.VersionConverterTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.nuiton.util.converter.VersionConverterTest Running org.nuiton.util.converter.ConverterUtilTest WARN [main] (ConverterUtil.java:196) initConverters - could not find method getType on converter org.nuiton.util.converter.UnregistreableConverter@8453227, will not be registred... INFO [main] (ConverterUtil.java:188) initConverters - register converter org.nuiton.util.converter.VersionConverter@54318a7a INFO [main] (ConverterUtil.java:188) initConverters - register converter org.nuiton.util.version.VersionConverter@69121bc1 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.nuiton.util.converter.ConverterUtilTest Running org.nuiton.util.CollectionUtilTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.nuiton.util.CollectionUtilTest Running org.nuiton.util.ReverseFileReaderTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.nuiton.util.ReverseFileReaderTest Running org.nuiton.util.beans.BeanUtilTest Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec - in org.nuiton.util.beans.BeanUtilTest Running org.nuiton.util.beans.BinderTest DEBUG [main] (Binder.java:525) copy - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:525) copy - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:525) copy - property b, type : class java.lang.String, value = b DEBUG [main] (Binder.java:525) copy - property c, type : class java.lang.String, value = c DEBUG [main] (Binder.java:525) copy - property e, type : int, value = 10 DEBUG [main] (Binder.java:525) copy - property a, type : class java.lang.String, value = null DEBUG [main] (Binder.java:525) copy - property b, type : class java.lang.String, value = null DEBUG [main] (Binder.java:525) copy - property c, type : class java.lang.String, value = null DEBUG [main] (Binder.java:525) copy - property e, type : int, value = 0 DEBUG [main] (Binder.java:525) copy - property a, type : class org.nuiton.util.beans.BeanA, value = org.nuiton.util.beans.BeanA@3af686da DEBUG [main] (Binder.java:525) copy - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:525) copy - property a, type : class org.nuiton.util.beans.BeanA, value = null DEBUG [main] (Binder.java:569) readProperty - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:569) readProperty - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:569) readProperty - property b, type : class java.lang.String, value = a DEBUG [main] (Binder.java:569) readProperty - property b, type : class java.lang.String, value = b DEBUG [main] (Binder.java:569) readProperty - property c, type : class java.lang.String, value = null DEBUG [main] (Binder.java:569) readProperty - property c2, type : class java.lang.String, value = null DEBUG [main] (Binder.java:569) readProperty - property e, type : int, value = 0 DEBUG [main] (Binder.java:569) readProperty - property e2, type : int, value = 0 DEBUG [main] (Binder.java:525) copy - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:307) obtainTargetProperty - property a, type : class java.lang.String, value = null DEBUG [main] (Binder.java:307) obtainTargetProperty - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:307) obtainTargetProperty - property e2, type : int, value = 0 DEBUG [main] (Binder.java:307) obtainTargetProperty - property e2, type : int, value = 10 DEBUG [main] (Binder.java:272) obtainSourceProperty - property a, type : class java.lang.String, value = null DEBUG [main] (Binder.java:272) obtainSourceProperty - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:272) obtainSourceProperty - property e, type : int, value = 0 DEBUG [main] (Binder.java:272) obtainSourceProperty - property e, type : int, value = 10 DEBUG [main] (Binder.java:196) obtainProperties - property a, type : class java.lang.String, value = null DEBUG [main] (Binder.java:196) obtainProperties - property a, type : class java.lang.String, value = null DEBUG [main] (Binder.java:196) obtainProperties - property a, type : class java.lang.String, value = null DEBUG [main] (Binder.java:196) obtainProperties - property b, type : class java.lang.String, value = null DEBUG [main] (Binder.java:196) obtainProperties - property c, type : class java.lang.String, value = null DEBUG [main] (Binder.java:196) obtainProperties - property e, type : int, value = 0 DEBUG [main] (Binder.java:196) obtainProperties - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:196) obtainProperties - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:196) obtainProperties - property b, type : class java.lang.String, value = null DEBUG [main] (Binder.java:196) obtainProperties - property c, type : class java.lang.String, value = null DEBUG [main] (Binder.java:196) obtainProperties - property e, type : int, value = 0 DEBUG [main] (Binder.java:196) obtainProperties - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:196) obtainProperties - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:196) obtainProperties - property b, type : class java.lang.String, value = b DEBUG [main] (Binder.java:196) obtainProperties - property c, type : class java.lang.String, value = null DEBUG [main] (Binder.java:196) obtainProperties - property e, type : int, value = 0 DEBUG [main] (Binder.java:356) injectProperties - Inject property: a to org.nuiton.util.beans.BeanA@7b725d6d DEBUG [main] (Binder.java:356) injectProperties - Inject property: a to org.nuiton.util.beans.BeanA@7b725d6d DEBUG [main] (Binder.java:356) injectProperties - Inject property: a to org.nuiton.util.beans.BeanB@2be42ee1 DEBUG [main] (Binder.java:356) injectProperties - Inject property: b to org.nuiton.util.beans.BeanB@2be42ee1 DEBUG [main] (Binder.java:525) copy - property b, type : class java.lang.String, value = b DEBUG [main] (Binder.java:525) copy - property c, type : class java.lang.String, value = c DEBUG [main] (Binder.java:525) copy - property e, type : int, value = 10 DEBUG [main] (Binder.java:525) copy - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:525) copy - property b, type : class java.lang.String, value = b DEBUG [main] (Binder.java:525) copy - property c, type : class java.lang.String, value = c DEBUG [main] (Binder.java:525) copy - property e, type : int, value = 10 DEBUG [main] (Binder.java:525) copy - property a, type : class java.lang.String, value = a DEBUG [main] (Binder.java:525) copy - property b, type : class java.lang.String, value = b DEBUG [main] (Binder.java:525) copy - property c, type : class java.lang.String, value = c DEBUG [main] (Binder.java:525) copy - property e, type : int, value = 10 Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - in org.nuiton.util.beans.BinderTest Running org.nuiton.util.beans.BinderModelBuilderTest DEBUG [main] (Binder.java:525) copy - property salutationCode, type : class java.lang.String, value = youhou Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in org.nuiton.util.beans.BinderModelBuilderTest Running org.nuiton.util.beans.BeanMonitorTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.nuiton.util.beans.BeanMonitorTest Running org.nuiton.util.beans.BinderFactoryTest INFO [main] (BinderFactory.java:325) newBinder0 - No binder model found for <org.nuiton.util.beans.BeanA - org.nuiton.util.beans.BeanA > [null] , will create a new default one. INFO [main] (BinderFactory.java:325) newBinder0 - No binder model found for <org.nuiton.util.beans.BeanA - org.nuiton.util.beans.BeanA > [null] , will create a new default one. WARN [main] (BinderFactory.java:191) registerBinderModel - Remove existing binder model from cache : <org.nuiton.util.beans.BeanA - org.nuiton.util.beans.BeanA > [null] WARN [main] (BinderFactory.java:191) registerBinderModel - Remove existing binder model from cache : <org.nuiton.util.beans.BeanA - org.nuiton.util.beans.BeanA > [context] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.nuiton.util.beans.BinderFactoryTest Running org.nuiton.util.CardinalityHelperTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.nuiton.util.CardinalityHelperTest Running org.nuiton.util.CategorisedListenerSetTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.nuiton.util.CategorisedListenerSetTest Running org.nuiton.util.VersionTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.nuiton.util.VersionTest Running org.nuiton.util.RecursivePropertiesTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.nuiton.util.RecursivePropertiesTest Running org.nuiton.util.SemVerTest Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec - in org.nuiton.util.SemVerTest Running org.nuiton.util.TransparenteReferenceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 sec - in org.nuiton.util.TransparenteReferenceTest Running org.nuiton.util.ReflectUtilTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.nuiton.util.ReflectUtilTest Running org.nuiton.util.rmi.RmiExporterAndProxyTest WARN [main] (ServiceExporter.java:55) testRmiConfig - Server might not have been initialized properly, please specify '-Djava.rmi.server.hostname=<IP-address>' WARN [main] (ServiceExporter.java:76) getRegistry - Registry not found, creating a new one WARN [main] (ServiceExporter.java:55) testRmiConfig - Server might not have been initialized properly, please specify '-Djava.rmi.server.hostname=<IP-address>' INFO [main] (RemoteProxyFactory.java:114) invoke - Server exception: RemoteException occurred in server thread; nested exception is: java.rmi.RemoteException: Business exception occurred; nested exception is: org.nuiton.util.rmi.AnyException: Please provide 'true' WARN [main] (ServiceExporter.java:55) testRmiConfig - Server might not have been initialized properly, please specify '-Djava.rmi.server.hostname=<IP-address>' WARN [main] (ServiceExporter.java:55) testRmiConfig - Server might not have been initialized properly, please specify '-Djava.rmi.server.hostname=<IP-address>' WARN [main] (ServiceExporter.java:55) testRmiConfig - Server might not have been initialized properly, please specify '-Djava.rmi.server.hostname=<IP-address>' Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.243 sec - in org.nuiton.util.rmi.RmiExporterAndProxyTest Running org.nuiton.util.DateUtilTest INFO [main] (DateUtilTest.java:233) testGetDifferenceInMonths - getDifferenceInMonths INFO [main] (DateUtilTest.java:239) testGetDifferenceInMonths - result1 : 19 INFO [main] (DateUtilTest.java:246) testGetDifferenceInMonths - result2 : 2 INFO [main] (DateUtilTest.java:253) testGetDifferenceInMonths - result3 : 1 INFO [main] (DateUtilTest.java:127) testBetween - between INFO [main] (DateUtilTest.java:142) testBetween - period : [ Sun Mar 01 00:00:00 CET 2009 (pattern: 01/03/2009) -> Tue Mar 31 23:59:59 CEST 2009 (pattern: 31/03/2009) ] INFO [main] (DateUtilTest.java:284) testGetMonthLibelle - getMonthLibelle INFO [main] (DateUtilTest.java:52) testCreateDate - createDate INFO [main] (DateUtilTest.java:75) testCreateDateIsDeterministic - 1293039180000 ?= 1293039180000 INFO [main] (DateUtilTest.java:199) testGetDifferenceInHours - getDifferenceInHours INFO [main] (DateUtilTest.java:216) testGetDifferenceInDays - getDifferenceInDays INFO [main] (DateUtilTest.java:182) testGetDifferenceInMinutes - getDifferenceInMinutes INFO [main] (DateUtilTest.java:259) testGetAge - getAge INFO [main] (DateUtilTest.java:266) testGetAge - result1 : 20 INFO [main] (DateUtilTest.java:272) testGetAge - result2 : 19 INFO [main] (DateUtilTest.java:278) testGetAge - result3 : 0 INFO [main] (DateUtilTest.java:165) testGetDifferenceInSeconds - getDifferenceInSecondes Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - in org.nuiton.util.DateUtilTest Running org.nuiton.util.CallAnalyseTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in org.nuiton.util.CallAnalyseTest Results : Tests run: 179, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ nuiton-utils --- [INFO] Building jar: <http://ci.nuiton.org/jenkins/job/nuiton-utils-sonar/ws/target/nuiton-utils-3.0-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ nuiton-utils --- [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 1 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 1 second [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:46 min [INFO] Finished at: 2015-08-28T00:47:26+02:00 [INFO] Final Memory: 32M/287M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data channel stopped [nuiton-utils-sonar] $ /opt/maven3/bin/mvn -f <http://ci.nuiton.org/jenkins/job/nuiton-utils-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] ------------------------------------------------------------------------ [INFO] Building Nuiton Utils 3.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- sonar-maven-plugin:2.6:sonar (default-cli) @ nuiton-utils --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 33.528 s [INFO] Finished at: 2015-08-28T00:48:06+02:00 [INFO] Final Memory: 15M/240M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project nuiton-utils: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6: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.6:sonar (default-cli) on project nuiton-utils: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6: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.6: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:126) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) ... 21 more Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:997) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:933) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:851) at org.codehaus.mojo.sonar.ServerMetadata.getConnection(ServerMetadata.java:119) at org.codehaus.mojo.sonar.ServerMetadata.remoteContent(ServerMetadata.java:91) at org.codehaus.mojo.sonar.ServerMetadata.getVersion(ServerMetadata.java:66) ... 24 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException SonarQube analysis completed: FAILURE Build step 'SonarQube' changed build result to FAILURE Build step 'SonarQube' marked build as failure Started calculate disk usage of build Finished Calculation of disk usage of build in 20 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds