Build failed in Jenkins: sispea-sonar » SISPEA Services #337
See <http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/337/changes> Changes: [Arnaud Thimel] refs #8476 Affichage de liens supplémentaires dans le cas d'un seul [Arnaud Thimel] refs #6752 Inclusion des IP/ID diffusés (partiellement) dans l'export [Arnaud Thimel] refs #6752 Inclusion des IP/ID diffusés (partiellement) dans l'export [Arnaud Thimel] refs #6752 Suppression d'un TODO (levée d'exception ajoutée en 3.0) ------------------------------------------ [...truncated 1894 lines...] Running fr.onema.sispea.service.legacy.data.FormCalculateServiceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in fr.onema.sispea.service.legacy.data.FormCalculateServiceTest Running fr.onema.sispea.service.exchange.XmlFileReaderTest 2016-09-01 01:34:07,831 DEBUG Parsing file /tmp/XmlFileReaderTest-testReadXmlAno6875-2987900840271470.xml - fr.onema.sispea.service.exchange.XmlFileReader:62 [main] 2016-09-01 01:34:07,878 DEBUG Resolve entity pPublicId: "null" pSystemId: "file:/tmp/SISPEA_Import.xsd" - fr.onema.sispea.service.exchange.XsdResolver:74 [main] 2016-09-01 01:34:08,001 DEBUG File parsed successfully - fr.onema.sispea.service.exchange.XmlFileReader:84 [main] 2016-09-01 01:34:08,022 DEBUG Parsing file /tmp/XmlFileReaderTest-testReadXmlAno6875-2987901077234905.xml - fr.onema.sispea.service.exchange.XmlFileReader:62 [main] 2016-09-01 01:34:08,034 DEBUG Resolve entity pPublicId: "null" pSystemId: "file:/tmp/SISPEA_Import.xsd" - fr.onema.sispea.service.exchange.XsdResolver:74 [main] 2016-09-01 01:34:08,088 DEBUG File parsed successfully - fr.onema.sispea.service.exchange.XmlFileReader:84 [main] 2016-09-01 01:34:08,109 DEBUG Parsing file /tmp/XmlFileReaderTest-testSetManagementModeStartDate-2987901164284155.xml - fr.onema.sispea.service.exchange.XmlFileReader:62 [main] 2016-09-01 01:34:08,118 DEBUG Resolve entity pPublicId: "null" pSystemId: "file:/tmp/SISPEA_Import.xsd" - fr.onema.sispea.service.exchange.XsdResolver:74 [main] 2016-09-01 01:34:08,147 DEBUG File parsed successfully - fr.onema.sispea.service.exchange.XmlFileReader:84 [main] 2016-09-01 01:34:08,277 DEBUG Parsing file /tmp/XmlFileReaderTest-testParse2_20SampleFromGSP-2987901285121478.xml - fr.onema.sispea.service.exchange.XmlFileReader:62 [main] 2016-09-01 01:34:08,284 DEBUG Resolve entity pPublicId: "null" pSystemId: "file:/tmp/SISPEA_Import.xsd" - fr.onema.sispea.service.exchange.XsdResolver:74 [main] 2016-09-01 01:34:09,010 DEBUG File parsed successfully - fr.onema.sispea.service.exchange.XmlFileReader:84 [main] 2016-09-01 01:34:09,038 DEBUG Parsing file /tmp/XmlFileReaderTest-testNoVersionException-2987902085544313.xml - fr.onema.sispea.service.exchange.XmlFileReader:62 [main] 2016-09-01 01:34:09,044 DEBUG Resolve entity pPublicId: "null" pSystemId: "file:/tmp/SISPEA_Import.xsd" - fr.onema.sispea.service.exchange.XsdResolver:74 [main] 2016-09-01 01:34:09,071 ERROR Parse Error at line 6 column 17: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mstns:DDAF'. One of '{"http://tempuri.org/XMLSchema.xsd":version}' is expected. - org.apache.commons.digester.Digester:1770 [main] org.xml.sax.SAXParseException; systemId: file:/tmp/XmlFileReaderTest-testNoVersionException-2987902085544313.xml; lineNumber: 6; columnNumber: 17; cvc-complex-type.2.4.a: Invalid content was found starting with element 'mstns:DDAF'. One of '{"http://tempuri.org/XMLSchema.xsd":version}' is expected. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:134) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:452) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3230) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1790) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:740) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643) at org.apache.commons.digester.Digester.parse(Digester.java:1871) at fr.onema.sispea.service.exchange.XmlFileReader.getSispeaDtoFromFile(XmlFileReader.java:132) at fr.onema.sispea.service.exchange.XmlFileReader.parse(XmlFileReader.java:78) at fr.onema.sispea.service.exchange.XmlFileReaderTest.testNoVersionException(XmlFileReaderTest.java:110) 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121) 2016-09-01 01:34:09,088 ERROR Error at line 6, column 17 while parsing cvc-complex-type.2.4.a: Invalid content was found starting with element 'mstns:DDAF'. One of '{"http://tempuri.org/XMLSchema.xsd":version}' is expected. - fr.onema.sispea.service.exchange.XmlErrorManager:84 [main] 2016-09-01 01:34:09,101 ERROR File is not valid - fr.onema.sispea.service.exchange.XmlFileReader:213 [main] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.298 sec - in fr.onema.sispea.service.exchange.XmlFileReaderTest Running fr.onema.sispea.service.exchange.users.UsersExportProcessTest 2016-09-01 01:34:09,103 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:260 [main] 2016-09-01 01:34:09,104 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:209 [main] 2016-09-01 01:34:09,104 INFO Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@68201133, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@36697ff, org.springframework.test.context.support.DirtiesContextTestExecutionListener@492138bb, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3bea0f1b, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@532b38dc] - org.springframework.test.context.support.DefaultTestContextBootstrapper:187 [main] 2016-09-01 01:34:09,140 INFO Overriding bean definition for bean 'ldapService' with a different definition: replacing [Generic bean: class [fr.onema.sispea.service.ldap.LdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-services-context.xml]] with [Generic bean: class [fr.onema.sispea.service.MockLdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-test-context.xml]] - org.springframework.beans.factory.support.DefaultListableBeanFactory:843 [main] 2016-09-01 01:34:09,141 INFO Refreshing org.springframework.context.support.GenericApplicationContext@64459429: startup date [Thu Sep 01 01:34:09 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:581 [main] 2016-09-01 01:34:09,171 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2012 [main] 2016-09-01 01:34:09,175 INFO JSR-330 'javax.inject.Inject' annotation found and supported for autowiring - org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor:155 [main] 2016-09-01 01:34:11,730 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 -> 1hge14e9i1qyow801rqgqfl|13a3fdcb, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9i1qyow801rqgqfl|13a3fdcb, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/surefire-workdir/test-UsersExportProcessTest-testFullDownload-1472686449174,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT * FROM EXERCISE, 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] 2016-09-01 01:34:11,733 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:153 [main] 2016-09-01 01:34:12,039 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9i1qyow801rqgqfl|13a3fdcb, dataSourceName -> 1hge14e9i1qyow801rqgqfl|13a3fdcb ]] of Hibernate SessionFactory for HibernateTransactionManager - org.springframework.orm.hibernate5.HibernateTransactionManager:357 [main] 2016-09-01 01:34:12,456 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:244 [main] 2016-09-01 01:34:14,478 DEBUG Updating user with login "espen" - fr.onema.sispea.service.user.LegacyUserService:875 [main] 2016-09-01 01:34:14,478 INFO HHH000397: Using ASTQueryTranslatorFactory - org.hibernate.hql.internal.QueryTranslatorFactoryInitiator:47 [main] 2016-09-01 01:34:14,590 DEBUG Reading user: espen - fr.onema.sispea.service.user.LegacyUserService:357 [main] 2016-09-01 01:34:14,592 INFO Generating CSV users export - fr.onema.sispea.service.exchange.users.UsersExportProcess:86 [main] 2016-09-01 01:34:14,861 INFO Zip entry fullDownload.csv added to zip file - fr.onema.sispea.util.file.SispeaZipUtils:165 [main] 2016-09-01 01:34:16,901 DEBUG Adding message: INFO - fr.onema.sispea.struts.user.action.DownloadUsersAction.csv.success - fr.onema.sispea.service.exchange.thread.MailZipProcess:153 [main] 2016-09-01 01:34:16,970 INFO E-mail not sent with no to adresses from=thimel@codelutin.com subject=null - fr.onema.sispea.service.notification.LegacyMailService:100 [main] 2016-09-01 01:34:19,982 INFO Closing org.springframework.context.support.GenericApplicationContext@64459429: startup date [Thu Sep 01 01:34:09 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:982 [main] 2016-09-01 01:34:21,079 INFO Overriding bean definition for bean 'ldapService' with a different definition: replacing [Generic bean: class [fr.onema.sispea.service.ldap.LdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-services-context.xml]] with [Generic bean: class [fr.onema.sispea.service.MockLdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-test-context.xml]] - org.springframework.beans.factory.support.DefaultListableBeanFactory:843 [main] 2016-09-01 01:34:21,079 INFO Refreshing org.springframework.context.support.GenericApplicationContext@1cb11c83: startup date [Thu Sep 01 01:34:21 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:581 [main] 2016-09-01 01:34:21,146 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2012 [main] 2016-09-01 01:34:21,155 INFO JSR-330 'javax.inject.Inject' annotation found and supported for autowiring - org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor:155 [main] 2016-09-01 01:34:21,583 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 -> 1hge14e9i1qyow801rqgqfl|33bf201a, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9i1qyow801rqgqfl|33bf201a, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/surefire-workdir/test-UsersExportProcessTest-testDownload-1472686461154,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT * FROM EXERCISE, 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] 2016-09-01 01:34:21,593 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:153 [main] 2016-09-01 01:34:21,978 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9i1qyow801rqgqfl|33bf201a, dataSourceName -> 1hge14e9i1qyow801rqgqfl|33bf201a ]] of Hibernate SessionFactory for HibernateTransactionManager - org.springframework.orm.hibernate5.HibernateTransactionManager:357 [main] 2016-09-01 01:34:22,131 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:244 [main] 2016-09-01 01:34:22,136 DEBUG Updating user with login "espen" - fr.onema.sispea.service.user.LegacyUserService:875 [main] 2016-09-01 01:34:22,136 INFO HHH000397: Using ASTQueryTranslatorFactory - org.hibernate.hql.internal.QueryTranslatorFactoryInitiator:47 [main] 2016-09-01 01:34:22,139 DEBUG Reading user: espen - fr.onema.sispea.service.user.LegacyUserService:357 [main] 2016-09-01 01:34:22,140 INFO Generating CSV users export - fr.onema.sispea.service.exchange.users.UsersExportProcess:86 [main] 2016-09-01 01:34:22,141 INFO Zip entry userDownload.csv added to zip file - fr.onema.sispea.util.file.SispeaZipUtils:165 [main] 2016-09-01 01:34:22,725 DEBUG Adding message: INFO - fr.onema.sispea.struts.user.action.DownloadUsersAction.csv.success - fr.onema.sispea.service.exchange.thread.MailZipProcess:153 [main] 2016-09-01 01:34:22,769 INFO E-mail not sent with no to adresses from=thimel@codelutin.com subject=null - fr.onema.sispea.service.notification.LegacyMailService:100 [main] 2016-09-01 01:34:25,022 INFO Closing org.springframework.context.support.GenericApplicationContext@1cb11c83: startup date [Thu Sep 01 01:34:21 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:982 [main] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.923 sec - in fr.onema.sispea.service.exchange.users.UsersExportProcessTest Running fr.onema.sispea.service.exchange.CSVFileReaderTest 2016-09-01 01:34:25,027 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:260 [main] 2016-09-01 01:34:25,028 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:209 [main] 2016-09-01 01:34:25,028 INFO Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@269ec5b6, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@47a80e09, org.springframework.test.context.support.DirtiesContextTestExecutionListener@402b4cc1, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6d84ef63, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@3de73410] - org.springframework.test.context.support.DefaultTestContextBootstrapper:187 [main] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 sec - in fr.onema.sispea.service.exchange.CSVFileReaderTest Running fr.onema.sispea.service.user.UserDtoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in fr.onema.sispea.service.user.UserDtoTest Running fr.onema.sispea.service.user.UserTypeTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec - in fr.onema.sispea.service.user.UserTypeTest Running fr.onema.sispea.service.CommuneTest 2016-09-01 01:34:25,305 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:260 [main] 2016-09-01 01:34:25,306 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:209 [main] 2016-09-01 01:34:25,306 INFO Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@7d2037d4, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@666c6987, org.springframework.test.context.support.DirtiesContextTestExecutionListener@75037b43, org.springframework.test.context.transaction.TransactionalTestExecutionListener@155899d8, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@693a9230] - org.springframework.test.context.support.DefaultTestContextBootstrapper:187 [main] 2016-09-01 01:34:25,342 INFO Overriding bean definition for bean 'ldapService' with a different definition: replacing [Generic bean: class [fr.onema.sispea.service.ldap.LdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-services-context.xml]] with [Generic bean: class [fr.onema.sispea.service.MockLdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-test-context.xml]] - org.springframework.beans.factory.support.DefaultListableBeanFactory:843 [main] 2016-09-01 01:34:25,343 INFO Refreshing org.springframework.context.support.GenericApplicationContext@6c9ffec1: startup date [Thu Sep 01 01:34:25 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:581 [main] 2016-09-01 01:34:25,413 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2012 [main] 2016-09-01 01:34:25,417 INFO JSR-330 'javax.inject.Inject' annotation found and supported for autowiring - org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor:155 [main] 2016-09-01 01:34:25,719 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 -> 1hge14e9i1qyow801rqgqfl|5066d1da, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9i1qyow801rqgqfl|5066d1da, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/surefire-workdir/test-CommuneTest-testCreateCommune-1472686465416,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT * FROM EXERCISE, 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] 2016-09-01 01:34:25,721 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:153 [main] 2016-09-01 01:34:26,066 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9i1qyow801rqgqfl|5066d1da, dataSourceName -> 1hge14e9i1qyow801rqgqfl|5066d1da ]] of Hibernate SessionFactory for HibernateTransactionManager - org.springframework.orm.hibernate5.HibernateTransactionManager:357 [main] 2016-09-01 01:34:26,220 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:244 [main] 2016-09-01 01:34:26,234 INFO Began transaction (1) for test context [DefaultTestContext@4b51a287 testClass = CommuneTest, testInstance = fr.onema.sispea.service.CommuneTest@798526a9, testMethod = testCreateCommune@CommuneTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@561eabae 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]]]; transaction manager [org.springframework.orm.hibernate5.HibernateTransactionManager@54b560aa]; rollback [true] - org.springframework.test.context.transaction.TransactionContext:101 [main] 2016-09-01 01:34:26,234 INFO HHH000397: Using ASTQueryTranslatorFactory - org.hibernate.hql.internal.QueryTranslatorFactoryInitiator:47 [main] 2016-09-01 01:34:26,238 INFO Starting inserts from: /static/01-static.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:26,350 INFO End of static inserts : 84 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:26,351 INFO Starting inserts from: /static/02-address.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:27,720 INFO 10000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:28,396 INFO 20000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:28,810 INFO End of static inserts : 27739 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:29,054 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:29,082 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:29,083 INFO Starting inserts from: /static/03-organism.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:30,093 INFO 10000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:31,071 INFO 20000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:31,927 INFO 30000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:32,476 INFO 40000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:33,178 INFO 50000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:33,765 INFO 60000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:34,320 INFO 70000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:34,893 INFO 80000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:35,840 INFO 90000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:36,742 INFO 100000 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:217 [main] 2016-09-01 01:34:36,984 INFO End of static inserts : 102493 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,386 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,387 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,391 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,391 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,392 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,393 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,393 WARN HHH90000022: Hibernate's legacy org.hibernate.Criteria API is deprecated; use the JPA javax.persistence.criteria.CriteriaQuery instead - org.hibernate.orm.deprecation:1773 [main] 2016-09-01 01:34:38,397 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,398 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,398 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,399 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,400 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,401 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,401 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,402 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,403 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,404 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,405 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,407 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,408 WARN HHH90000022: Hibernate's legacy org.hibernate.Criteria API is deprecated; use the JPA javax.persistence.criteria.CriteriaQuery instead - org.hibernate.orm.deprecation:1773 [main] 2016-09-01 01:34:38,409 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,410 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,410 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,411 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,412 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,413 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,414 INFO Starting inserts from: /static/99-sequences.sql - fr.onema.sispea.service.SispeaFixtures:201 [main] 2016-09-01 01:34:38,415 INFO End of static inserts : 6 row(w) inserted - fr.onema.sispea.service.SispeaFixtures:227 [main] 2016-09-01 01:34:38,452 INFO Rolled back transaction for test context [DefaultTestContext@4b51a287 testClass = CommuneTest, testInstance = fr.onema.sispea.service.CommuneTest@798526a9, testMethod = testCreateCommune@CommuneTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@561eabae 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]]]. - org.springframework.test.context.transaction.TransactionContext:136 [main] 2016-09-01 01:34:38,452 INFO Closing org.springframework.context.support.GenericApplicationContext@6c9ffec1: startup date [Thu Sep 01 01:34:25 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:982 [main] 2016-09-01 01:34:38,480 INFO Overriding bean definition for bean 'ldapService' with a different definition: replacing [Generic bean: class [fr.onema.sispea.service.ldap.LdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-services-context.xml]] with [Generic bean: class [fr.onema.sispea.service.MockLdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-test-context.xml]] - org.springframework.beans.factory.support.DefaultListableBeanFactory:843 [main] 2016-09-01 01:34:38,480 INFO Refreshing org.springframework.context.support.GenericApplicationContext@2d4787e8: startup date [Thu Sep 01 01:34:38 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:581 [main] 2016-09-01 01:34:38,511 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2012 [main] 2016-09-01 01:35:00,446 INFO JSR-330 'javax.inject.Inject' annotation found and supported for autowiring - org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor:155 [main] 2016-09-01 01:35:03,814 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 -> 1hge14e9i1qyow801rqgqfl|af20986, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9i1qyow801rqgqfl|af20986, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/surefire-workdir/test-CommuneTest-testFindCommune-1472686478514,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT * FROM EXERCISE, 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] 2016-09-01 01:35:06,965 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:153 [main] 2016-09-01 01:35:07,576 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9i1qyow801rqgqfl|af20986, dataSourceName -> 1hge14e9i1qyow801rqgqfl|af20986 ]] of Hibernate SessionFactory for HibernateTransactionManager - org.springframework.orm.hibernate5.HibernateTransactionManager:357 [main] 2016-09-01 01:35:07,726 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:244 [main] 2016-09-01 01:35:07,729 INFO Began transaction (1) for test context [DefaultTestContext@4b51a287 testClass = CommuneTest, testInstance = fr.onema.sispea.service.CommuneTest@6475ab0a, testMethod = testFindCommune@CommuneTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@561eabae 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]]]; transaction manager [org.springframework.orm.hibernate5.HibernateTransactionManager@1624530c]; rollback [true] - org.springframework.test.context.transaction.TransactionContext:101 [main] 2016-09-01 01:35:07,729 WARN HHH90000022: Hibernate's legacy org.hibernate.Criteria API is deprecated; use the JPA javax.persistence.criteria.CriteriaQuery instead - org.hibernate.orm.deprecation:1773 [main] 2016-09-01 01:35:08,093 INFO Rolled back transaction for test context [DefaultTestContext@4b51a287 testClass = CommuneTest, testInstance = fr.onema.sispea.service.CommuneTest@6475ab0a, testMethod = testFindCommune@CommuneTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@561eabae 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]]]. - org.springframework.test.context.transaction.TransactionContext:136 [main] 2016-09-01 01:35:08,093 INFO Closing org.springframework.context.support.GenericApplicationContext@2d4787e8: startup date [Thu Sep 01 01:34:38 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:982 [main] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.789 sec - in fr.onema.sispea.service.CommuneTest Running fr.onema.sispea.service.data.ConsistencyCheckServiceTest 2016-09-01 01:35:08,099 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:260 [main] 2016-09-01 01:35:08,101 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:209 [main] 2016-09-01 01:35:08,101 INFO Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@628f3723, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@6b82a73b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4b431edf, org.springframework.test.context.transaction.TransactionalTestExecutionListener@10f4c1cd, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@bd9cadf] - org.springframework.test.context.support.DefaultTestContextBootstrapper:187 [main] 2016-09-01 01:35:08,129 INFO Overriding bean definition for bean 'ldapService' with a different definition: replacing [Generic bean: class [fr.onema.sispea.service.ldap.LdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-services-context.xml]] with [Generic bean: class [fr.onema.sispea.service.MockLdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-test-context.xml]] - org.springframework.beans.factory.support.DefaultListableBeanFactory:843 [main] 2016-09-01 01:35:08,130 INFO Refreshing org.springframework.context.support.GenericApplicationContext@759c1fe0: startup date [Thu Sep 01 01:35:08 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:581 [main] 2016-09-01 01:35:08,163 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2012 [main] 2016-09-01 01:35:08,166 INFO JSR-330 'javax.inject.Inject' annotation found and supported for autowiring - org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor:155 [main] 2016-09-01 01:35:08,422 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 -> 1hge14e9i1qyow801rqgqfl|3ab4d84f, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9i1qyow801rqgqfl|3ab4d84f, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/surefire-workdir/test-ConsistencyCheckServiceTest-testIsInGoodFormatInt-1472686508165,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT * FROM EXERCISE, 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] 2016-09-01 01:35:08,425 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:153 [main] 2016-09-01 01:35:08,802 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9i1qyow801rqgqfl|3ab4d84f, dataSourceName -> 1hge14e9i1qyow801rqgqfl|3ab4d84f ]] of Hibernate SessionFactory for HibernateTransactionManager - org.springframework.orm.hibernate5.HibernateTransactionManager:357 [main] 2016-09-01 01:35:08,955 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:244 [main] 2016-09-01 01:35:08,994 INFO Closing org.springframework.context.support.GenericApplicationContext@759c1fe0: startup date [Thu Sep 01 01:35:08 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:982 [main] 2016-09-01 01:35:09,032 INFO Overriding bean definition for bean 'ldapService' with a different definition: replacing [Generic bean: class [fr.onema.sispea.service.ldap.LdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-services-context.xml]] with [Generic bean: class [fr.onema.sispea.service.MockLdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-test-context.xml]] - org.springframework.beans.factory.support.DefaultListableBeanFactory:843 [main] 2016-09-01 01:35:09,032 INFO Refreshing org.springframework.context.support.GenericApplicationContext@5a8fd030: startup date [Thu Sep 01 01:35:09 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:581 [main] 2016-09-01 01:35:09,063 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2012 [main] 2016-09-01 01:35:09,067 INFO JSR-330 'javax.inject.Inject' annotation found and supported for autowiring - org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor:155 [main] 2016-09-01 01:35:09,329 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 -> 1hge14e9i1qyow801rqgqfl|5b0eeaff, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9i1qyow801rqgqfl|5b0eeaff, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/surefire-workdir/test-ConsistencyCheckServiceTest-testIsInGoodFormatFloat-1472686509066,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT * FROM EXERCISE, 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] 2016-09-01 01:35:09,333 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:153 [main] 2016-09-01 01:35:09,625 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9i1qyow801rqgqfl|5b0eeaff, dataSourceName -> 1hge14e9i1qyow801rqgqfl|5b0eeaff ]] of Hibernate SessionFactory for HibernateTransactionManager - org.springframework.orm.hibernate5.HibernateTransactionManager:357 [main] 2016-09-01 01:35:09,763 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:244 [main] 2016-09-01 01:35:09,766 INFO Closing org.springframework.context.support.GenericApplicationContext@5a8fd030: startup date [Thu Sep 01 01:35:09 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:982 [main] 2016-09-01 01:35:09,792 INFO Overriding bean definition for bean 'ldapService' with a different definition: replacing [Generic bean: class [fr.onema.sispea.service.ldap.LdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-services-context.xml]] with [Generic bean: class [fr.onema.sispea.service.MockLdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-test-context.xml]] - org.springframework.beans.factory.support.DefaultListableBeanFactory:843 [main] 2016-09-01 01:35:09,792 INFO Refreshing org.springframework.context.support.GenericApplicationContext@66f25c42: startup date [Thu Sep 01 01:35:09 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:581 [main] 2016-09-01 01:35:09,822 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2012 [main] 2016-09-01 01:35:09,826 INFO JSR-330 'javax.inject.Inject' annotation found and supported for autowiring - org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor:155 [main] 2016-09-01 01:35:10,094 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 -> 1hge14e9i1qyow801rqgqfl|19457db7, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9i1qyow801rqgqfl|19457db7, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/surefire-workdir/test-ConsistencyCheckServiceTest-testIsInGoodFormatBoolean-1472686509824,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT * FROM EXERCISE, 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] 2016-09-01 01:35:10,096 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:153 [main] 2016-09-01 01:35:10,370 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9i1qyow801rqgqfl|19457db7, dataSourceName -> 1hge14e9i1qyow801rqgqfl|19457db7 ]] of Hibernate SessionFactory for HibernateTransactionManager - org.springframework.orm.hibernate5.HibernateTransactionManager:357 [main] 2016-09-01 01:35:10,506 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:244 [main] 2016-09-01 01:35:10,508 INFO Closing org.springframework.context.support.GenericApplicationContext@66f25c42: startup date [Thu Sep 01 01:35:09 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:982 [main] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.413 sec - in fr.onema.sispea.service.data.ConsistencyCheckServiceTest Running fr.onema.sispea.service.data.FormCalculateServiceTest 2016-09-01 01:35:10,511 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:260 [main] 2016-09-01 01:35:10,512 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:209 [main] 2016-09-01 01:35:10,512 INFO Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@364a7c85, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@7a8060b8, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2ca19ada, org.springframework.test.context.transaction.TransactionalTestExecutionListener@418a1907, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@24c1fbe7] - org.springframework.test.context.support.DefaultTestContextBootstrapper:187 [main] 2016-09-01 01:35:10,534 INFO Overriding bean definition for bean 'ldapService' with a different definition: replacing [Generic bean: class [fr.onema.sispea.service.ldap.LdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-services-context.xml]] with [Generic bean: class [fr.onema.sispea.service.MockLdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-test-context.xml]] - org.springframework.beans.factory.support.DefaultListableBeanFactory:843 [main] 2016-09-01 01:35:10,535 INFO Refreshing org.springframework.context.support.GenericApplicationContext@5d3dda67: startup date [Thu Sep 01 01:35:10 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:581 [main] 2016-09-01 01:35:10,565 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2012 [main] 2016-09-01 01:35:10,568 INFO JSR-330 'javax.inject.Inject' annotation found and supported for autowiring - org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor:155 [main] 2016-09-01 01:35:40,796 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 -> 1hge14e9i1qyow801rqgqfl|738f41cb, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge14e9i1qyow801rqgqfl|738f41cb, idleConnectionTestPeriod -> 1800, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:<http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/surefire-workdir/test-FormCalculateServiceTest-testGetVariables-1472686510567,> maxAdministrativeTaskTime -> 0, maxConnectionAge -> 1800, maxIdleTime -> 600, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 30, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT * FROM EXERCISE, 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] 2016-09-01 01:35:54,445 INFO HHH000400: Using dialect: org.hibernate.dialect.H2Dialect - org.hibernate.dialect.Dialect:153 [main] 2016-09-01 01:35:54,808 INFO Using DataSource [com.mchange.v2.c3p0.ComboPooledDataSource[ identityToken -> 1hge14e9i1qyow801rqgqfl|738f41cb, dataSourceName -> 1hge14e9i1qyow801rqgqfl|738f41cb ]] of Hibernate SessionFactory for HibernateTransactionManager - org.springframework.orm.hibernate5.HibernateTransactionManager:357 [main] 2016-09-01 01:35:55,024 INFO No TaskScheduler/ScheduledExecutorService bean found for scheduled processing - org.springframework.scheduling.annotation.ScheduledAnnotationBeanPostProcessor:244 [main] 2016-09-01 01:35:55,027 INFO Closing org.springframework.context.support.GenericApplicationContext@5d3dda67: startup date [Thu Sep 01 01:35:10 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:982 [main] 2016-09-01 01:35:55,090 INFO Overriding bean definition for bean 'ldapService' with a different definition: replacing [Generic bean: class [fr.onema.sispea.service.ldap.LdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-services-context.xml]] with [Generic bean: class [fr.onema.sispea.service.MockLdapService]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [sispea-service-test-context.xml]] - org.springframework.beans.factory.support.DefaultListableBeanFactory:843 [main] 2016-09-01 01:35:55,091 INFO Refreshing org.springframework.context.support.GenericApplicationContext@999b80b: startup date [Thu Sep 01 01:35:55 CEST 2016]; root of context hierarchy - org.springframework.context.support.GenericApplicationContext:581 [main] 2016-09-01 01:35:55,132 INFO Loading configuration file (classpath) : <http://ci.codelutin.com/jenkins/job/sispea-sonar/fr.onema$sispea-service/ws/target/test-classes/sispea-service-test.conf> - org.nuiton.config.ApplicationConfig:2012 [main] 2016-09-01 01:35:55,136 INFO JSR-330 'javax.inject.Inject' annotation found and supported for autowiring - org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor:155 [main] Results : Tests run: 82, Failures: 0, Errors: 0, Skipped: 21 [JENKINS] Recording test results [JENKINS] Archiving disabled
participants (1)
-
admin+ci-codelutin.com@codelutin.com