See <http://ci.codelutin.com/jenkins/job/observe-sonar/34/changes> Changes: [Tony CHEMIT] Correction de la condition empty, on sauvait des enregistrement avec des [Tony CHEMIT] Clean code [Tony CHEMIT] Tri des listes de référence selon le code si possible (See #8538) [Tony CHEMIT] Specialize trads (See #8538) [Tony CHEMIT] Tri des listes de référence aussi dans les autres cas via decorateur [Tony CHEMIT] Utilisation des nouvelles api http commons + un peu de ménage par ci par ------------------------------------------ [...truncated 990 lines...] [INFO] <<< i18n-maven-plugin:3.6.2:gen (gen) < :get @ services-topia-validation <<< [INFO] [INFO] --- i18n-maven-plugin:3.6.2:gen (gen) @ services-topia-validation --- [INFO] [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ services-topia-validation --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 192 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ services-topia-validation --- [INFO] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia-validation/target/classes> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ services-topia-validation --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia-validation/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ services-topia-validation --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ services-topia-validation --- [INFO] Compiling 2 source files to <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia-validation/target/test-classes> [INFO] [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ services-topia-validation --- [INFO] Surefire report directory: <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia-validation/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- Running fr.ird.observe.services.topia.validation.BeanValidatorDetectorTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.736 sec - in fr.ird.observe.services.topia.validation.BeanValidatorDetectorTest Running fr.ird.observe.services.topia.validation.validators.ActivitySeineSpeedValidatorTest INFO [main] (fr.ird.observe.services.topia.validators.ActivitySimpleSpeedValidator:162) validateOneEntry - Speed from ActivitySeineImpl{time=Thu Jan 01 10:10:00 CET 1970, quadrant=4, latitude=-1.525, longitude=-1.525} to ActivitySeineImpl{time=Thu Jan 01 11:10:00 CET 1970, quadrant=1, latitude=1.096, longitude=1.096} is 196.61542 which is more thant authorized one 100.0 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec - in fr.ird.observe.services.topia.validation.validators.ActivitySeineSpeedValidatorTest Results : Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ services-topia-validation --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia-validation/target/services-topia-validation-5.0-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ services-topia-validation --- [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 ObServe :: Services ToPIA Implementation 5.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ services-topia --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-project-files) @ services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-platform) @ services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-projectId) @ services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-ciViewId) @ services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-javaVersion) @ services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-signatureArtifactId) @ services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-signatureVersion) @ services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-versions) @ services-topia --- [INFO] [INFO] --- i18n-maven-plugin:3.6.2:parserJava (default) @ services-topia --- [INFO] [INFO] >>> i18n-maven-plugin:3.6.2:gen (default) > :get @ services-topia >>> [INFO] [INFO] --- i18n-maven-plugin:3.6.2:get (get) @ services-topia --- [INFO] Copying services-topia.properties to <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/target/generated-sources/i18n/services-topia-fromGetters_fr_FR.properties> [INFO] Copying services-topia.properties to <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/target/generated-sources/i18n/services-topia-fromGetters_en_GB.properties> [INFO] Copying services-topia.properties to <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/target/generated-sources/i18n/services-topia-fromGetters_es_ES.properties> [INFO] [INFO] <<< i18n-maven-plugin:3.6.2:gen (default) < :get @ services-topia <<< [INFO] [INFO] --- i18n-maven-plugin:3.6.2:gen (default) @ services-topia --- [INFO] [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ services-topia --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ services-topia --- [INFO] Compiling 187 source files to <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/target/classes> [INFO] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/src/main/java/fr/ird/observe/services/topia/binder/BinderSupport.java>: Some input files use unchecked or unsafe operations. [INFO] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/src/main/java/fr/ird/observe/services/topia/binder/BinderSupport.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- gmavenplus-plugin:1.5:execute (generate-reflections.xml) @ services-topia --- [INFO] Using Groovy 2.4.7 to perform execute. [INFO] Reflections took 64 ms to scan 3 urls, producing 68 keys and 227 values [INFO] Reflections successfully saved in <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/target/classes/META-INF/reflections/services-topia-reflections.xml> using XmlSerializer [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ services-topia --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ services-topia --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ services-topia --- [INFO] Compiling 40 source files to <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/target/test-classes> [INFO] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/src/test/java/fr/ird/observe/services/topia/service/actions/report/AbstractReportServiceTopiaTest.java>: Some input files use unchecked or unsafe operations. [INFO] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/src/test/java/fr/ird/observe/services/topia/service/actions/report/AbstractReportServiceTopiaTest.java>: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/src/test/java/fr/ird/observe/services/topia/TopiaTestClassResource.java>:[173,20] unreported exception java.io.IOException; must be caught or declared to be thrown [INFO] 1 error [INFO] ------------------------------------------------------------- [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 [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 [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] ObServe ............................................ SUCCESS [ 2.893 s] [INFO] ObServe :: Toolbox Maven plugin .................... SUCCESS [ 8.226 s] [INFO] ObServe :: ToPIA Extension ......................... SUCCESS [ 2.471 s] [INFO] ObServe :: ToPIA Templates Extension ............... SUCCESS [ 2.785 s] [INFO] ObServe :: Services Configuration .................. SUCCESS [ 1.080 s] [INFO] ObServe :: Services ToPIA Configuration ............ SUCCESS [ 1.173 s] [INFO] ObServe :: Services REST Configuration ............. SUCCESS [ 0.935 s] [INFO] ObServe :: Services DTO ............................ SUCCESS [ 9.921 s] [INFO] ObServe :: Services ................................ SUCCESS [ 11.638 s] [INFO] ObServe :: Test .................................... SUCCESS [ 2.005 s] [INFO] ObServe :: Entities ................................ SUCCESS [ 13.175 s] [INFO] ObServe :: Entities Migration ...................... SUCCESS [ 2.976 s] [INFO] ObServe :: Services ToPIA Validators ............... SUCCESS [ 1.399 s] [INFO] ObServe :: Services ToPIA Validation ............... SUCCESS [ 10.203 s] [INFO] ObServe :: Services ToPIA Implementation ........... FAILURE [ 7.916 s] [INFO] ObServe :: Services REST Implementation ............ SKIPPED [INFO] ObServe :: Application Swing Decoration ............ SKIPPED [INFO] ObServe :: Application Swing Validators ............ SKIPPED [INFO] ObServe :: Application Swing Validation ............ SKIPPED [INFO] ObServe :: Services Runner ......................... SKIPPED [INFO] ObServe :: Application Web Configuration ........... SKIPPED [INFO] ObServe :: Application Web ......................... SKIPPED [INFO] ObServe :: Application Swing Configuration ......... SKIPPED [INFO] ObServe :: Application Swing ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:02 min [INFO] Finished at: 2016-09-11T02:53:49+02:00 [INFO] Final Memory: 109M/494M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile (default-testCompile) on project services-topia: Compilation failure [ERROR] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/src/test/java/fr/ird/observe/services/topia/TopiaTestClassResource.java>:[173,20] unreported exception java.io.IOException; must be caught or declared to be thrown [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:testCompile (default-testCompile) on project services-topia: Compilation failure <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/src/test/java/fr/ird/observe/services/topia/TopiaTestClassResource.java>:[173,20] unreported exception java.io.IOException; must be caught or declared to be thrown at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) 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.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:186) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:153) at hudson.remoting.UserRequest.perform(UserRequest.java:50) at hudson.remoting.Request$2.run(Request.java:332) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/services-topia/src/test/java/fr/ird/observe/services/topia/TopiaTestClassResource.java>:[173,20] unreported exception java.io.IOException; must be caught or declared to be thrown at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:972) at org.apache.maven.plugin.compiler.TestCompilerMojo.execute(TestCompilerMojo.java:153) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 31 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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :services-topia Sending e-mails to: observe-build@list.forge.codelutin.com channel stopped Skipping sonar analysis due to bad build status 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