See <http://ci.codelutin.com/jenkins/job/observe-sonar/17/changes> Changes: [bavencoff] TripSeineServiceTopia : implantation des tests de sauvegarde. Ne pas [bavencoff] déplacement du stéréotype ordered du model zargo dans le fichier de [bavencoff] ajout d'un DTO stub pour les tripSeine et modification des service + [bavencoff] correction du test pour TripSeineServiceTopia (refs #7458). [Tony CHEMIT] Correction du type d'objet utilisé [Tony CHEMIT] Utilisation dernière version stable d'eugene [Tony CHEMIT] Suppression de la notion d'Openable sur les entitées Ajout des tag [Tony CHEMIT] Suppresion de open dans les requetes spécifiques de dao [Tony CHEMIT] Changement de la version du modèle de persistence [Tony CHEMIT] Suppression du binding sur la propriété open [bavencoff] supression du ordered dans les modèles argo pour les DTO (remplacer par ------------------------------------------ [...truncated 422 lines...] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in fr.ird.observe.util.NumbersTest Running fr.ird.observe.ScriptTest INFO [main] (fr.ird.observe.ScriptTest:65) init - available factory [engine: Mozilla Rhino v.1.7 release 3 PRERELEASE] [language: ECMAScript, version:1.8], mime-types : ?[application/javascript, application/ecmascript, text/javascript, text/ecmascript]?[js] INFO [main] (fr.ird.observe.ScriptTest:111) doEvaluate - [js ] 'a*(x^b)' nb eval 1 in 1.835ms (~ 1.835ms) INFO [main] (fr.ird.observe.ScriptTest:111) doEvaluate - [js ] 'a*(x^b)' nb eval 10 in 17.453ms (~ 1.745ms) INFO [main] (fr.ird.observe.ScriptTest:111) doEvaluate - [js ] 'a*(x^b)' nb eval 100 in 1.184s (~ 11.843ms) INFO [main] (fr.ird.observe.ScriptTest:111) doEvaluate - [js ] 'a*(x^b)' nb eval 1000 in 592.805ms (~ 592805ns) INFO [main] (fr.ird.observe.ScriptTest:111) doEvaluate - [js ] 'a*(x^b)' nb eval 1000 in 224.351ms (~ 224351ns) INFO [main] (fr.ird.observe.ScriptTest:111) doEvaluate - [js ] 'a*(x^b)' nb eval 100 in 17.328ms (~ 173283ns) INFO [main] (fr.ird.observe.ScriptTest:111) doEvaluate - [js ] 'a*(x^b)' nb eval 10 in 1.805ms (~ 180452ns) INFO [main] (fr.ird.observe.ScriptTest:111) doEvaluate - [js ] 'a*(x^b)' nb eval 1 in 182977ns (~ 182977ns) Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.095 sec - in fr.ird.observe.ScriptTest Running fr.ird.observe.ObserveTopiaApplicationContextTest INFO [main] (fr.ird.observe.test.TestHelper:193) getTestsTimeStamp - tests timestamp : 1440552132070 INFO [main] (fr.ird.observe.test.TestHelper:212) getTestDir - tests basedir : <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-entities/target/surefire-workdir/26_08_2015/03_22_12> INFO [main] (fr.ird.observe.ObserveTopiaApplicationContextTest:46) testOpenEmptyDatabase - database directory: <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-entities/target/surefire-workdir/26_08_2015/03_22_12/ObserveTopiaApplicationContextTest/testOpenEmptyDatabase/db> INFO [main] (fr.ird.observe.ObserveTopiaConfigurationFactory:109) forH2Database - H2 topia configuration: {hibernate.connection.url=jdbc:h2:<http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-entities/target/surefire-workdir/26_08_2015/03_22_12/ObserveTopiaApplicationContextTest/testOpenEmptyDatabase/db/obstuna;FILE_LOCK=file;LOG=0;MODE=postgresql;DEFAULT_LOCK_TIMEOUT=2000;DB_CLOSE_DELAY=0;LOCK_MODE=3;TRACE_LEVEL_FILE=0;TRACE_LEVEL_SYSTEM_OUT=0;CACHE_SIZE=65536,> hibernate.connection.username=sa, hibernate.connection.password=sa, hibernate.connection.driver_class=org.h2.Driver, topia.persistence.validateSchema=false, topia.persistence.topiaIdFactoryClassName=fr.ird.observe.ObserveTopiaIdFactory, topia.service..migration=fr.ird.observe.entities.migration.ObserveMigrationEngine, topia.service..migration.callback=fr.ird.observe.entities.migration.H2DataSourceMigration, topia.service..migration.showProgression=true, topia.service..migration.showSql=true, topia.service..migration.auto.migrate=true, topia.service..replication=org.nuiton.topia.replication.TopiaReplicationServiceImpl} INFO [main] (org.nuiton.topia.persistence.internal.support.TopiaServiceSupportImpl:99) initServices - instantiated service migration: fr.ird.observe.entities.migration.ObserveMigrationEngine@4d09b5ca INFO [main] (org.nuiton.topia.persistence.internal.support.TopiaServiceSupportImpl:99) initServices - instantiated service replication: org.nuiton.topia.replication.TopiaReplicationServiceImpl@5a520d98 INFO [main] (org.nuiton.topia.persistence.internal.support.TopiaServiceSupportImpl:125) initServices - will init service migration with configuration {callback=fr.ird.observe.entities.migration.H2DataSourceMigration, showProgression=true, showSql=true, auto.migrate=true} INFO [main] (org.nuiton.topia.persistence.internal.support.TopiaServiceSupportImpl:125) initServices - will init service replication with configuration {} INFO [main] (org.nuiton.topia.persistence.internal.AbstractTopiaApplicationContext:133) init - Schema initialization enabled INFO [main] (org.nuiton.topia.persistence.internal.HibernateProvider:152) newHibernateConfiguration - will start hibernate with configuration {hibernate.c3p0.timeout=1800, hibernate.use_sql_comments=true, hibernate.connection.driver_class=org.h2.Driver, hibernate.c3p0.max_statements=50, hibernate.c3p0.max_size=20, hibernate.dialect=org.hibernate.dialect.H2Dialect, hibernate.format_sql=true, hibernate.c3p0.min_size=5, hibernate.ejb.naming_strategy=org.hibernate.cfg.ImprovedNamingStrategy, hibernate.connection.username=sa, hibernate.connection.url=jdbc:h2:<http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-entities/target/surefire-workdir/26_08_2015/03_22_12/ObserveTopiaApplicationContextTest/testOpenEmptyDatabase/db/obstuna;FILE_LOCK=file;LOG=0;MODE=postgresql;DEFAULT_LOCK_TIMEOUT=2000;DB_CLOSE_DELAY=0;LOCK_MODE=3;TRACE_LEVEL_FILE=0;TRACE_LEVEL_SYSTEM_OUT=0;CACHE_SIZE=65536,> hibernate.connection.password=sa} INFO [main] (org.nuiton.topia.persistence.internal.AbstractTopiaApplicationContext:185) initSchema - schema is empty, will create INFO [main] (org.nuiton.topia.persistence.internal.AbstractTopiaApplicationContext:190) initSchema - schema created, will call migration service INFO [main] (org.nuiton.topia.persistence.internal.HibernateProvider:152) newHibernateConfiguration - will start hibernate with configuration {hibernate.c3p0.timeout=1800, hibernate.use_sql_comments=true, hibernate.connection.driver_class=org.h2.Driver, hibernate.c3p0.max_statements=50, hibernate.c3p0.max_size=20, hibernate.dialect=org.hibernate.dialect.H2Dialect, hibernate.format_sql=true, hibernate.c3p0.min_size=5, hibernate.ejb.naming_strategy=org.hibernate.cfg.ImprovedNamingStrategy, hibernate.connection.username=sa, hibernate.connection.url=jdbc:h2:<http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-entities/target/surefire-workdir/26_08_2015/03_22_12/ObserveTopiaApplicationContextTest/testOpenEmptyDatabase/db/obstuna;FILE_LOCK=file;LOG=0;MODE=postgresql;DEFAULT_LOCK_TIMEOUT=2000;DB_CLOSE_DELAY=0;LOCK_MODE=3;TRACE_LEVEL_FILE=0;TRACE_LEVEL_SYSTEM_OUT=0;CACHE_SIZE=65536,> hibernate.connection.password=sa} WARN [main] (org.nuiton.topia.migration.TopiaMigrationEngine:567) detectDbVersion - Version not found on table tms_version INFO [main] (org.nuiton.topia.migration.TopiaMigrationEngine:580) detectDbVersion - Database version not found, so database schema is considered as V0 INFO [main] (org.nuiton.topia.migration.TopiaMigrationEngine:487) apply - Saving new database version: 5.0 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 205.66 sec - in fr.ird.observe.ObserveTopiaApplicationContextTest Results : Tests run: 11, Failures: 0, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ observe-entities --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-entities/target/observe-entities-4.0.2-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ observe-entities --- [INFO] [INFO] --- maven-jar-plugin:2.6:test-jar (attach-test) @ observe-entities --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-entities/target/observe-entities-4.0.2-SNAPSHOT-tests.jar> [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 4 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 30 second [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building ObServe :: Services ToPIA Configuration 4.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ observe-services-configuration-topia --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-configuration-topia/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ observe-services-configuration-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ observe-services-configuration-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ observe-services-configuration-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ observe-services-configuration-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ observe-services-configuration-topia --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ observe-services-configuration-topia --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-configuration-topia/src/main/resources> [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ observe-services-configuration-topia --- [INFO] Compiling 3 source files to <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-configuration-topia/target/classes> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ observe-services-configuration-topia --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-configuration-topia/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ observe-services-configuration-topia --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ observe-services-configuration-topia --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ observe-services-configuration-topia --- [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ observe-services-configuration-topia --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-configuration-topia/target/observe-services-configuration-topia-4.0.2-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ observe-services-configuration-topia --- [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 4 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building ObServe :: Services ToPIA Implementation 4.0.2-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ observe-services-topia --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ observe-services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ observe-services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ observe-services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ observe-services-topia --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ observe-services-topia --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ observe-services-topia --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ observe-services-topia --- [INFO] Compiling 17 source files to <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/target/classes> [INFO] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/src/main/java/fr/ird/observe/services/ObserveServiceTopia.java>: Some input files use unchecked or unsafe operations. [INFO] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/src/main/java/fr/ird/observe/services/ObserveServiceTopia.java>: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ observe-services-topia --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ observe-services-topia --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ observe-services-topia --- [INFO] Compiling 9 source files to <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/target/test-classes> [INFO] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/src/test/java/fr/ird/observe/services/service/seine/TripSeineServiceTopiaTest.java>: Some input files use unchecked or unsafe operations. [INFO] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/src/test/java/fr/ird/observe/services/service/seine/TripSeineServiceTopiaTest.java>: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/src/test/java/fr/ird/observe/services/builder/EntityToDtoBuilderTest.java>:[210,104] cannot find symbol symbol: method get(int) location: interface java.util.Set<fr.ird.observe.services.dto.seine.GearUseFeaturesMeasurementSeineDto> [INFO] 1 error [INFO] ------------------------------------------------------------- [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 28 second [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 [ 29.909 s] [INFO] ObServe :: Services Configuration API .............. SUCCESS [ 27.641 s] [INFO] ObServe :: Services model .......................... SUCCESS [02:28 min] [INFO] ObServe :: Services API ............................ SUCCESS [ 16.859 s] [INFO] ObServe :: Test data ............................... SUCCESS [02:31 min] [INFO] ObServe :: Entities ................................ SUCCESS [11:56 min] [INFO] ObServe :: Services ToPIA Configuration ............ SUCCESS [ 28.127 s] [INFO] ObServe :: Services ToPIA Implementation ........... FAILURE [01:17 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 37:36 min [INFO] Finished at: 2015-08-26T03:36:44+02:00 [INFO] Final Memory: 53M/469M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project observe-services-topia: Compilation failure [ERROR] <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/src/test/java/fr/ird/observe/services/builder/EntityToDtoBuilderTest.java>:[210,104] cannot find symbol [ERROR] symbol: method get(int) [ERROR] location: interface java.util.Set<fr.ird.observe.services.dto.seine.GearUseFeaturesMeasurementSeineDto> [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project observe-services-topia: Compilation failure <http://ci.codelutin.com/jenkins/job/observe-sonar/ws/observe-services-topia/src/test/java/fr/ird/observe/services/builder/EntityToDtoBuilderTest.java>:[210,104] cannot find symbol symbol: method get(int) location: interface java.util.Set<fr.ird.observe.services.dto.seine.GearUseFeaturesMeasurementSeineDto> 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: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.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:181) 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 hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 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/observe-services-topia/src/test/java/fr/ird/observe/services/builder/EntityToDtoBuilderTest.java>:[210,104] cannot find symbol symbol: method get(int) location: interface java.util.Set<fr.ird.observe.services.dto.seine.GearUseFeaturesMeasurementSeineDto> at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:911) 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 :observe-services-topia Sending e-mails to: observe-build@list.forge.codelutin.com bavencoff@codelutin.com chemit+codelutin-ci@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 5 second Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 21 second