See <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/755/display/redirect?page=changes> Changes: [Arnaud Thimel] Ajout d'un test pour démontrer le #13886 [Arnaud Thimel] refs #13886 Refactoring de SecurityService#checkUserAnyRightNoMandate [Arnaud Thimel] refs #13886 Refactoring de SecurityService#checkUserAnyRightNoMandate ------------------------------------------ [...truncated 1,19 MB...] Running fr.onema.sispea.service.user.UserTypeTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in fr.onema.sispea.service.user.UserTypeTest Running fr.onema.sispea.service.CommuneTest 2018-01-10 01:58:18,225 INFO Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] - org.springframework.test.context.support.DefaultTestContextBootstrapper:257 [main] 2018-01-10 01:58:18,225 INFO Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [javax/servlet/ServletContext] - org.springframework.test.context.support.DefaultTestContextBootstrapper:206 [main] 2018-01-10 01:58:18,225 INFO Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7e97da90, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@4d6898a3, org.springframework.test.context.support.DirtiesContextTestExecutionListener@69aae5b2, org.springframework.test.context.transaction.TransactionalTestExecutionListener@4b04a17c, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@b07b1d6] - org.springframework.test.context.support.DefaultTestContextBootstrapper:184 [main] 2018-01-10 01:58:18,256 INFO Refreshing org.springframework.context.support.GenericApplicationContext@2a39d95: startup date [Wed Jan 10 01:58:18 CET 2018]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:589 [main] 2018-01-10 01:58:18,294 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2184 [main] 2018-01-10 01:58:18,297 WARN Starting embedded postgres (cache: <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/1515545361445-0)> - fr.onema.sispea.SispeaConfiguration:141 [main] 2018-01-10 01:58:18,837 INFO start AbstractPostgresConfig{storage=Storage{dbDir=<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/postgresql-embed-e1fb552c-09bb-49c8-90c8-d3e3f11b027f/db-content-d7ed4a4a-7515-4b9e-bba6-2f4b964567dc,> dbName='test', isTmpDir=true}, network=Net{host='127.0.0.1', port=40655}, timeout=Timeout{startupTimeout=15000}, credentials=Credentials{username='sispea_contributeur', password='sa'}, args=[], additionalInitDbParams=[-E, UTF-8, --locale=C, --lc-collate=C, --lc-ctype=C]} - de.flapdoodle.embed.process.runtime.Executable:102 [main] 2018-01-10 01:58:19,353 INFO start AbstractPostgresConfig{storage=Storage{dbDir=<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/postgresql-embed-e1fb552c-09bb-49c8-90c8-d3e3f11b027f/db-content-d7ed4a4a-7515-4b9e-bba6-2f4b964567dc,> dbName='test', isTmpDir=true}, network=Net{host='127.0.0.1', port=40655}, timeout=Timeout{startupTimeout=15000}, credentials=Credentials{username='sispea_contributeur', password='sa'}, args=[test], additionalInitDbParams=[]} - de.flapdoodle.embed.process.runtime.Executable:102 [main] 2018-01-10 01:58:21,354 INFO start AbstractPostgresConfig{storage=Storage{dbDir=<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/postgresql-embed-e1fb552c-09bb-49c8-90c8-d3e3f11b027f/db-content-d7ed4a4a-7515-4b9e-bba6-2f4b964567dc,> dbName='test', isTmpDir=true}, network=Net{host='127.0.0.1', port=40655}, timeout=Timeout{startupTimeout=15000}, credentials=Credentials{username='sispea_contributeur', password='sa'}, args=[], additionalInitDbParams=[-E, UTF-8, --locale=C, --lc-collate=C, --lc-ctype=C]} - de.flapdoodle.embed.process.runtime.Executable:102 [main] 2018-01-10 01:58:21,386 INFO start AbstractPostgresConfig{storage=Storage{dbDir=<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/postgresql-embed-e1fb552c-09bb-49c8-90c8-d3e3f11b027f/db-content-d7ed4a4a-7515-4b9e-bba6-2f4b964567dc,> dbName='test', isTmpDir=true}, network=Net{host='127.0.0.1', port=40655}, timeout=Timeout{startupTimeout=15000}, credentials=Credentials{username='sispea_contributeur', password='sa'}, args=[-U, sispea_contributeur, -d, test, -h, 127.0.0.1, -p, 40655, <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/test-classes/pg/20171017_sispea-3.2_019-for-tests_sans-donnees-annuelles.dump],> additionalInitDbParams=[]} - de.flapdoodle.embed.process.runtime.Executable:102 [main] 2018-01-10 01:58:23,194 INFO Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 10, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge14e9s1pgxi2p133pe4q|5e54005c, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9s1pgxi2p133pe4q|5e54005c, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:postgresql://127.0.0.1:40655/test?user=sispea_contributeur&password=sa, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT 1, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] - com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource:212 [main] 2018-01-10 01:58:23,198 INFO HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect - org.hibernate.dialect.Dialect:157 [main] 2018-01-10 01:58:23,250 INFO HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException - org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl:124 [main] 2018-01-10 01:58:23,251 INFO HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@2e0163cb - org.hibernate.type.BasicTypeRegistry:148 [main] 2018-01-10 01:58:23,559 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9s1pgxi2p133pe4q|5e54005c, dataSourceName -> 1hge14e9s1pgxi2p133pe4q|5e54005c ]] of Hibernate SessionFactory for HibernateTransactionManager - fr.onema.sispea.serviceng.SispeaHibernateTransactionManager:378 [main] 2018-01-10 01:58:23,977 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:273 [main] 2018-01-10 01:58:23,980 INFO Began transaction (1) for test context [DefaultTestContext@1b45eae5 testClass = CommuneTest, testInstance = fr.onema.sispea.service.CommuneTest@3ab15abf, testMethod = testCountCommunes@CommuneTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@640c211a testClass = CommuneTest, locations = '{classpath:sispea-service-test-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextCustomizers = set[[empty]], contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]], attributes = map[[empty]]]; transaction manager [fr.onema.sispea.serviceng.SispeaHibernateTransactionManager@699aa5bd]; rollback [true] - org.springframework.test.context.transaction.TransactionContext:105 [main] 2018-01-10 01:58:23,980 INFO HHH000397: Using ASTQueryTranslatorFactory - org.hibernate.hql.internal.QueryTranslatorFactoryInitiator:47 [main] 2018-01-10 01:58:23,982 INFO Rolled back transaction for test context [DefaultTestContext@1b45eae5 testClass = CommuneTest, testInstance = fr.onema.sispea.service.CommuneTest@3ab15abf, testMethod = testCountCommunes@CommuneTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@640c211a testClass = CommuneTest, locations = '{classpath:sispea-service-test-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextCustomizers = set[[empty]], contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]], attributes = map[[empty]]]. - org.springframework.test.context.transaction.TransactionContext:137 [main] 2018-01-10 01:58:23,983 INFO Closing org.springframework.context.support.GenericApplicationContext@2a39d95: startup date [Wed Jan 10 01:58:18 CET 2018]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:989 [main] 2018-01-10 01:58:23,986 INFO trying to stop postgresql - ru.yandex.qatools.embed.postgresql.PostgresProcess:147 [main] 2018-01-10 01:58:24,002 INFO start AbstractPostgresConfig{storage=Storage{dbDir=<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/postgresql-embed-e1fb552c-09bb-49c8-90c8-d3e3f11b027f/db-content-d7ed4a4a-7515-4b9e-bba6-2f4b964567dc,> dbName='test', isTmpDir=true}, network=Net{host='127.0.0.1', port=40655}, timeout=Timeout{startupTimeout=15000}, credentials=Credentials{username='sispea_contributeur', password='sa'}, args=[stop], additionalInitDbParams=[]} - de.flapdoodle.embed.process.runtime.Executable:102 [main] 2018-01-10 01:58:25,020 INFO execSuccess: false [kill, 8120] - de.flapdoodle.embed.process.runtime.ProcessControl:231 [main] 2018-01-10 01:58:25,126 INFO Refreshing org.springframework.context.support.GenericApplicationContext@385eaea2: startup date [Wed Jan 10 01:58:25 CET 2018]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:589 [main] 2018-01-10 01:58:25,171 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2184 [main] 2018-01-10 01:58:25,437 INFO Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 10, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge14e9s1pgxi2p133pe4q|1985a91d, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9s1pgxi2p133pe4q|1985a91d, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/test-CommuneTest-testCreateCommune-1515545905174,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT 1, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] - com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource:212 [main] 2018-01-10 01:58:25,440 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:157 [main] 2018-01-10 01:58:25,793 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9s1pgxi2p133pe4q|1985a91d, dataSourceName -> 1hge14e9s1pgxi2p133pe4q|1985a91d ]] of Hibernate SessionFactory for HibernateTransactionManager - fr.onema.sispea.serviceng.SispeaHibernateTransactionManager:378 [main] 2018-01-10 01:58:26,198 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:273 [main] 2018-01-10 01:58:26,201 INFO Began transaction (1) for test context [DefaultTestContext@1b45eae5 testClass = CommuneTest, testInstance = fr.onema.sispea.service.CommuneTest@1d4946e3, testMethod = testCreateCommune@CommuneTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@640c211a testClass = CommuneTest, locations = '{classpath:sispea-service-test-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextCustomizers = set[[empty]], contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]], attributes = map[[empty]]]; transaction manager [fr.onema.sispea.serviceng.SispeaHibernateTransactionManager@3f99356c]; rollback [true] - org.springframework.test.context.transaction.TransactionContext:105 [main] 2018-01-10 01:58:26,201 INFO HHH000397: Using ASTQueryTranslatorFactory - org.hibernate.hql.internal.QueryTranslatorFactoryInitiator:47 [main] 2018-01-10 01:58:26,204 INFO Starting inserts from: /static/01-static.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:26,225 INFO End of static inserts : 89 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:26,227 INFO Starting inserts from: /static/02-address.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:27,173 INFO 10000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:27,960 INFO 20000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:28,530 INFO End of static inserts : 27739 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:28,638 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:28,640 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:28,641 INFO Starting inserts from: /static/03-organism.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:29,614 INFO 10000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:30,446 INFO 20000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:31,202 INFO 30000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:31,867 INFO 40000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:32,558 INFO 50000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:33,231 INFO 60000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:33,859 INFO 70000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:34,468 INFO 80000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:35,138 INFO 90000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:35,820 INFO 100000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:166 [main] 2018-01-10 01:58:35,977 INFO End of static inserts : 102493 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,580 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,581 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,587 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,588 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,588 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,589 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,591 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,591 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,592 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,592 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,593 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,594 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,594 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,595 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,596 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,597 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,597 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,599 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,600 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,601 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,602 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,602 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,603 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,604 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,604 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:150 [main] 2018-01-10 01:58:37,606 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:176 [main] 2018-01-10 01:58:37,637 INFO Rolled back transaction for test context [DefaultTestContext@1b45eae5 testClass = CommuneTest, testInstance = fr.onema.sispea.service.CommuneTest@1d4946e3, testMethod = testCreateCommune@CommuneTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@640c211a testClass = CommuneTest, locations = '{classpath:sispea-service-test-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextCustomizers = set[[empty]], contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]], attributes = map[[empty]]]. - org.springframework.test.context.transaction.TransactionContext:137 [main] 2018-01-10 01:58:37,638 INFO Closing org.springframework.context.support.GenericApplicationContext@385eaea2: startup date [Wed Jan 10 01:58:25 CET 2018]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:989 [main] 2018-01-10 01:58:37,744 INFO Refreshing org.springframework.context.support.GenericApplicationContext@1cd51e0b: startup date [Wed Jan 10 01:58:37 CET 2018]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:589 [main] 2018-01-10 01:58:37,781 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2184 [main] 2018-01-10 01:58:37,783 WARN Starting embedded postgres (cache: <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/1515545361445-0)> - fr.onema.sispea.SispeaConfiguration:141 [main] 2018-01-10 01:58:38,337 INFO start AbstractPostgresConfig{storage=Storage{dbDir=<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/postgresql-embed-e1fb552c-09bb-49c8-90c8-d3e3f11b027f/db-content-54ecb444-e21e-4762-ab96-1b795c1bc9f9,> dbName='test', isTmpDir=true}, network=Net{host='127.0.0.1', port=58611}, timeout=Timeout{startupTimeout=15000}, credentials=Credentials{username='sispea_contributeur', password='sa'}, args=[], additionalInitDbParams=[-E, UTF-8, --locale=C, --lc-collate=C, --lc-ctype=C]} - de.flapdoodle.embed.process.runtime.Executable:102 [main] 2018-01-10 01:58:38,853 INFO start AbstractPostgresConfig{storage=Storage{dbDir=<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/postgresql-embed-e1fb552c-09bb-49c8-90c8-d3e3f11b027f/db-content-54ecb444-e21e-4762-ab96-1b795c1bc9f9,> dbName='test', isTmpDir=true}, network=Net{host='127.0.0.1', port=58611}, timeout=Timeout{startupTimeout=15000}, credentials=Credentials{username='sispea_contributeur', password='sa'}, args=[test], additionalInitDbParams=[]} - de.flapdoodle.embed.process.runtime.Executable:102 [main] 2018-01-10 01:58:40,853 INFO start AbstractPostgresConfig{storage=Storage{dbDir=<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/postgresql-embed-e1fb552c-09bb-49c8-90c8-d3e3f11b027f/db-content-54ecb444-e21e-4762-ab96-1b795c1bc9f9,> dbName='test', isTmpDir=true}, network=Net{host='127.0.0.1', port=58611}, timeout=Timeout{startupTimeout=15000}, credentials=Credentials{username='sispea_contributeur', password='sa'}, args=[], additionalInitDbParams=[-E, UTF-8, --locale=C, --lc-collate=C, --lc-ctype=C]} - de.flapdoodle.embed.process.runtime.Executable:102 [main] 2018-01-10 01:58:40,886 INFO start AbstractPostgresConfig{storage=Storage{dbDir=<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/postgresql-embed-e1fb552c-09bb-49c8-90c8-d3e3f11b027f/db-content-54ecb444-e21e-4762-ab96-1b795c1bc9f9,> dbName='test', isTmpDir=true}, network=Net{host='127.0.0.1', port=58611}, timeout=Timeout{startupTimeout=15000}, credentials=Credentials{username='sispea_contributeur', password='sa'}, args=[-U, sispea_contributeur, -d, test, -h, 127.0.0.1, -p, 58611, <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/test-classes/pg/20171017_sispea-3.2_019-for-tests_sans-donnees-annuelles.dump],> additionalInitDbParams=[]} - de.flapdoodle.embed.process.runtime.Executable:102 [main] 2018-01-10 01:58:42,784 INFO Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 10, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge14e9s1pgxi2p133pe4q|4380e381, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9s1pgxi2p133pe4q|4380e381, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:postgresql://127.0.0.1:58611/test?user=sispea_contributeur&password=sa, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT 1, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] - com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource:212 [main] 2018-01-10 01:58:42,787 INFO HHH000400: Using dialect: org.hibernate.dialect.PostgreSQL9Dialect - org.hibernate.dialect.Dialect:157 [main] 2018-01-10 01:58:42,860 INFO HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException - org.hibernate.engine.jdbc.env.internal.LobCreatorBuilderImpl:124 [main] 2018-01-10 01:58:42,861 INFO HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@2e0163cb - org.hibernate.type.BasicTypeRegistry:148 [main] 2018-01-10 01:58:43,198 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9s1pgxi2p133pe4q|4380e381, dataSourceName -> 1hge14e9s1pgxi2p133pe4q|4380e381 ]] of Hibernate SessionFactory for HibernateTransactionManager - fr.onema.sispea.serviceng.SispeaHibernateTransactionManager:378 [main] 2018-01-10 01:58:43,699 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:273 [main] 2018-01-10 01:58:43,702 INFO Began transaction (1) for test context [DefaultTestContext@1b45eae5 testClass = CommuneTest, testInstance = fr.onema.sispea.service.CommuneTest@2396c3f5, testMethod = testFindCommune@CommuneTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@640c211a testClass = CommuneTest, locations = '{classpath:sispea-service-test-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextCustomizers = set[[empty]], contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]], attributes = map[[empty]]]; transaction manager [fr.onema.sispea.serviceng.SispeaHibernateTransactionManager@632fb24a]; rollback [true] - org.springframework.test.context.transaction.TransactionContext:105 [main] 2018-01-10 01:58:43,703 DEBUG Updating user with login "admin" - fr.onema.sispea.service.user.LegacyUserService:147 [main] 2018-01-10 01:58:43,704 INFO HHH000397: Using ASTQueryTranslatorFactory - org.hibernate.hql.internal.QueryTranslatorFactoryInitiator:47 [main] 2018-01-10 01:58:43,723 INFO Rolled back transaction for test context [DefaultTestContext@1b45eae5 testClass = CommuneTest, testInstance = fr.onema.sispea.service.CommuneTest@2396c3f5, testMethod = testFindCommune@CommuneTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@640c211a testClass = CommuneTest, locations = '{classpath:sispea-service-test-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextCustomizers = set[[empty]], contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]], attributes = map[[empty]]]. - org.springframework.test.context.transaction.TransactionContext:137 [main] 2018-01-10 01:58:43,723 INFO Closing org.springframework.context.support.GenericApplicationContext@1cd51e0b: startup date [Wed Jan 10 01:58:37 CET 2018]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:989 [main] 2018-01-10 01:58:43,727 INFO trying to stop postgresql - ru.yandex.qatools.embed.postgresql.PostgresProcess:147 [main] 2018-01-10 01:58:43,744 INFO start AbstractPostgresConfig{storage=Storage{dbDir=<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/postgresql-embed-e1fb552c-09bb-49c8-90c8-d3e3f11b027f/db-content-54ecb444-e21e-4762-ab96-1b795c1bc9f9,> dbName='test', isTmpDir=true}, network=Net{host='127.0.0.1', port=58611}, timeout=Timeout{startupTimeout=15000}, credentials=Credentials{username='sispea_contributeur', password='sa'}, args=[stop], additionalInitDbParams=[]} - de.flapdoodle.embed.process.runtime.Executable:102 [main] 2018-01-10 01:58:44,761 INFO execSuccess: false [kill, 8182] - de.flapdoodle.embed.process.runtime.ProcessControl:231 [main] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.613 sec - in fr.onema.sispea.service.CommuneTest Running fr.onema.sispea.service.SispeaServiceContextTest 2018-01-10 01:58:44,840 INFO Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] - org.springframework.test.context.support.DefaultTestContextBootstrapper:257 [main] 2018-01-10 01:58:44,841 INFO Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [javax/servlet/ServletContext] - org.springframework.test.context.support.DefaultTestContextBootstrapper:206 [main] 2018-01-10 01:58:44,841 INFO Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1ad9894, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@29a89027, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2af238ae, org.springframework.test.context.transaction.TransactionalTestExecutionListener@22e3badf, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4fe7ff2f] - org.springframework.test.context.support.DefaultTestContextBootstrapper:184 [main] 2018-01-10 01:58:44,870 INFO Refreshing org.springframework.context.support.GenericApplicationContext@22a3675c: startup date [Wed Jan 10 01:58:44 CET 2018]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:589 [main] 2018-01-10 01:58:44,913 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2184 [main] 2018-01-10 01:58:45,176 INFO Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 10, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge14e9s1pgxi2p133pe4q|66611939, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9s1pgxi2p133pe4q|66611939, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/test-SispeaServiceContextTest-testContextLoaded-1515545924915,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT 1, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] - com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource:212 [main] 2018-01-10 01:58:45,183 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:157 [main] 2018-01-10 01:58:45,550 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9s1pgxi2p133pe4q|66611939, dataSourceName -> 1hge14e9s1pgxi2p133pe4q|66611939 ]] of Hibernate SessionFactory for HibernateTransactionManager - fr.onema.sispea.serviceng.SispeaHibernateTransactionManager:378 [main] 2018-01-10 01:58:45,956 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:273 [main] 2018-01-10 01:58:45,959 INFO Began transaction (1) for test context [DefaultTestContext@5efa75a5 testClass = SispeaServiceContextTest, testInstance = fr.onema.sispea.service.SispeaServiceContextTest@5da3565d, testMethod = testContextLoaded@SispeaServiceContextTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@2222c0af testClass = SispeaServiceContextTest, locations = '{classpath:sispea-service-test-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextCustomizers = set[[empty]], contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]], attributes = map[[empty]]]; transaction manager [fr.onema.sispea.serviceng.SispeaHibernateTransactionManager@389e1ba9]; rollback [true] - org.springframework.test.context.transaction.TransactionContext:105 [main] 2018-01-10 01:58:45,959 INFO HHH000397: Using ASTQueryTranslatorFactory - org.hibernate.hql.internal.QueryTranslatorFactoryInitiator:47 [main] 2018-01-10 01:58:45,961 INFO Rolled back transaction for test context [DefaultTestContext@5efa75a5 testClass = SispeaServiceContextTest, testInstance = fr.onema.sispea.service.SispeaServiceContextTest@5da3565d, testMethod = testContextLoaded@SispeaServiceContextTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@2222c0af testClass = SispeaServiceContextTest, locations = '{classpath:sispea-service-test-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextCustomizers = set[[empty]], contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]], attributes = map[[empty]]]. - org.springframework.test.context.transaction.TransactionContext:137 [main] 2018-01-10 01:58:45,961 INFO Closing org.springframework.context.support.GenericApplicationContext@22a3675c: startup date [Wed Jan 10 01:58:44 CET 2018]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:989 [main] 2018-01-10 01:58:45,986 INFO Refreshing org.springframework.context.support.GenericApplicationContext@40062bb3: startup date [Wed Jan 10 01:58:45 CET 2018]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:589 [main] 2018-01-10 01:58:46,022 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2184 [main] 2018-01-10 01:58:46,315 INFO Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 10, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge14e9s1pgxi2p133pe4q|460e50c, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9s1pgxi2p133pe4q|460e50c, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/surefire-workdir/test-SispeaServiceContextTest-testCreateExercise-1515545926025,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT 1, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ] - com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource:212 [main] 2018-01-10 01:58:46,319 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:157 [main] 2018-01-10 01:58:46,673 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9s1pgxi2p133pe4q|460e50c, dataSourceName -> 1hge14e9s1pgxi2p133pe4q|460e50c ]] of Hibernate SessionFactory for HibernateTransactionManager - fr.onema.sispea.serviceng.SispeaHibernateTransactionManager:378 [main] 2018-01-10 01:58:47,118 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:273 [main] 2018-01-10 01:58:47,120 INFO Began transaction (1) for test context [DefaultTestContext@5efa75a5 testClass = SispeaServiceContextTest, testInstance = fr.onema.sispea.service.SispeaServiceContextTest@a757cef, testMethod = testCreateExercise@SispeaServiceContextTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@2222c0af testClass = SispeaServiceContextTest, locations = '{classpath:sispea-service-test-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextCustomizers = set[[empty]], contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]], attributes = map[[empty]]]; transaction manager [fr.onema.sispea.serviceng.SispeaHibernateTransactionManager@6f67d9f6]; rollback [true] - org.springframework.test.context.transaction.TransactionContext:105 [main] 2018-01-10 01:58:47,121 INFO HHH000397: Using ASTQueryTranslatorFactory - org.hibernate.hql.internal.QueryTranslatorFactoryInitiator:47 [main] 2018-01-10 01:58:47,123 INFO Rolled back transaction for test context [DefaultTestContext@5efa75a5 testClass = SispeaServiceContextTest, testInstance = fr.onema.sispea.service.SispeaServiceContextTest@a757cef, testMethod = testCreateExercise@SispeaServiceContextTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@2222c0af testClass = SispeaServiceContextTest, locations = '{classpath:sispea-service-test-context.xml}', classes = '{}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextCustomizers = set[[empty]], contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]], attributes = map[[empty]]]. - org.springframework.test.context.transaction.TransactionContext:137 [main] 2018-01-10 01:58:47,124 INFO Closing org.springframework.context.support.GenericApplicationContext@40062bb3: startup date [Wed Jan 10 01:58:45 CET 2018]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:989 [main] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.287 sec - in fr.onema.sispea.service.SispeaServiceContextTest Results : Tests run: 126, Failures: 0, Errors: 0, Skipped: 17 [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ sispea-service --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-demo-latest/fr.onema$sispea-service/ws/target/sispea-service-3.2-rc-5-rev7a43a6a.jar> [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ sispea-service >>> [INFO] [INFO] --- helper-maven-plugin:2.3.2:check-auto-container (check-central-safe) @ sispea-service --- [INFO] Will use repository http://repo1.maven.org/maven2/ [INFO] Will use repository https://nexus.nuiton.org/nexus/content/repositories/central-releases [INFO] 96 dependencies to check. [INFO] 96 artifact(s) resolved by repository http://repo1.maven.org/maven2/ in 180411ns [INFO] All dependencies are safe. [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-project-files) @ sispea-service --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-platform) @ sispea-service --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-projectId) @ sispea-service --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-ciViewId) @ sispea-service --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-javaVersion) @ sispea-service --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-signatureArtifactId) @ sispea-service --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-signatureVersion) @ sispea-service --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-versions) @ sispea-service --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (ensure-no-container-api) @ sispea-service --- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-bytecode-version) @ sispea-service --- [INFO] [INFO] --- helper-maven-plugin:2.3.2:share-server-secret (get-redmine-login) @ sispea-service --- [INFO] Skipping goal (runOnce flag is on and goal was already executed). [WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ sispea-service <<< [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ sispea-service --- [INFO] Skipping source per configuration. [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @ sispea-service --- [INFO] Skipping javadoc generation [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-service --- [INFO] [INFO] --- helper-maven-plugin:2.3.2:share-server-secret (get-pgp-passphrase) @ sispea-service --- [INFO] Exporting server [gpg-signer] username in ${gpg.keyname} [INFO] Exporting server [gpg-signer] password in ${gpg.passphrase} [INFO] [INFO] --- helper-maven-plugin:2.3.2:collect-files (collect-build-artifacts) @ sispea-service --- [INFO] Loaded /var/local/forge/data/codelutin.com/jenkins/workspace/sispea-demo-latest/target/collect-artifacts.txt [INFO] Copying sispea-service-3.2-rc-5-rev7a43a6a.jar to /var/local/forge/data/codelutin.com/jenkins/workspace/sispea-demo-latest/target/collect/fr.onema--sispea-service/sispea-service-3.2-rc-5-rev7a43a6a.jar [INFO] Copying THIRD-PARTY.properties to /var/local/forge/data/codelutin.com/jenkins/workspace/sispea-demo-latest/target/collect/fr.onema--sispea-service/THIRD-PARTY.properties [INFO] [INFO] --- helper-maven-plugin:2.3.2:collect-files (collect-build-attachements) @ sispea-service --- [WARNING] Skipping goal (No file to collect). [INFO] [INFO] --- helper-maven-plugin:2.3.2:collect-files (collect-deploy-files) @ sispea-service --- [WARNING] Skipping goal (No file to collect). [INFO] [INFO] --- maven-gpg-plugin:1.6:sign (sign-artifacts) @ sispea-service --- [INFO] [INFO] --- maven-dependency-plugin:2.10:analyze-only (analyze) @ sispea-service --- [INFO] Used declared dependencies found: [INFO] fr.onema:sispea-util:jar:3.2-rc-5-rev7a43a6a:compile [INFO] fr.onema:sispea-persist:jar:3.2-rc-5-rev7a43a6a:compile [INFO] org.nuiton:nuiton-utils:jar:3.0:compile [INFO] org.nuiton:nuiton-csv:jar:3.0-rc-6:compile [INFO] net.sf.opencsv:opencsv:jar:2.3:compile [INFO] com.tutego:jrtf:jar:0.7:compile [INFO] org.hibernate:hibernate-core:jar:5.2.12.Final:compile [INFO] xml-apis:xml-apis:jar:2.0.2:compile [INFO] org.reflections:reflections:jar:0.9.11:compile [INFO] org.immutables:value:jar:2.5.6:compile [INFO] com.google.code.findbugs:annotations:jar:3.0.1u2:compile [INFO] com.google.errorprone:error_prone_annotations:jar:2.1.3:compile [INFO] javax.mail:mail:jar:1.4.7:compile [INFO] javax.activation:activation:jar:1.1.1:compile [INFO] org.apache.velocity:velocity:jar:1.7:compile [INFO] org.apache.velocity:velocity-tools:jar:2.0:compile [INFO] org.springframework:spring-beans:jar:5.0.2.RELEASE:compile [INFO] org.springframework.ldap:spring-ldap-core:jar:2.3.2.RELEASE:compile [INFO] org.springframework:spring-context-support:jar:5.0.2.RELEASE:compile [INFO] org.springframework:spring-context:jar:5.0.2.RELEASE:compile [INFO] org.springframework:spring-tx:jar:5.0.2.RELEASE:compile [INFO] org.springframework:spring-orm:jar:5.0.2.RELEASE:compile [INFO] org.apache.commons:commons-lang3:jar:3.7:compile [INFO] org.apache.commons:commons-text:jar:1.2:compile [INFO] org.apache.commons:commons-collections4:jar:4.1:compile [INFO] commons-digester:commons-digester:jar:2.1:compile [INFO] com.google.guava:guava:jar:23.6-jre:compile [INFO] com.google.code.gson:gson:jar:2.8.2:compile [INFO] jdom:jdom:jar:1.0:compile [INFO] org.nfunk:jep:jar:2.4.0:compile [INFO] jfree:jfreechart:jar:1.0.7:compile [INFO] junit:junit:jar:4.12:test [INFO] ru.yandex.qatools.embed:postgresql-embedded:jar:2.6:test [INFO] de.flapdoodle.embed:de.flapdoodle.embed.process:jar:2.0.1:test [INFO] log4j:log4j:jar:1.2.17:compile [INFO] org.springframework:spring-test:jar:5.0.2.RELEASE:test [INFO] org.mockito:mockito-core:jar:2.13.0:test [INFO] commons-io:commons-io:jar:2.6:compile [INFO] org.apache.poi:poi:jar:3.16:compile [INFO] org.apache.poi:poi-ooxml:jar:3.16:compile [WARNING] Used undeclared dependencies found: [WARNING] org.springframework:spring-jcl:jar:5.0.2.RELEASE:compile [WARNING] org.springframework:spring-core:jar:5.0.2.RELEASE:compile [WARNING] Unused declared dependencies found: [WARNING] commons-logging:commons-logging:jar:1.2:compile [JENKINS] Archiving disabled