See <http://ci.codelutin.com/jenkins/job/sispea-ci/97/changes> Changes: [Arnaud Thimel] Rename SISPEAConstants [Arnaud Thimel] Enable tests [Arnaud Thimel] fr.cs.gemif.utils. -> fr.onema.sispea.util. [Arnaud Thimel] Testify module sispea-util [Arnaud Thimel] Testify module sispea-util [Arnaud Thimel] Testify module sispea-persist [Arnaud Thimel] Testify module sispea-service (début) [Arnaud Thimel] Split des fichiers de conf Spring [Arnaud Thimel] Split des fichiers de conf Spring [Arnaud Thimel] Suppression des tests dans ExportApp ; Suppression des fichiers SQL de migration inutiles [Arnaud Thimel] Isolation des tests dans des bases différentes [Arnaud Thimel] Utilisation d'un runner custom [Arnaud Thimel] Deplacement des classe Runner dans sispea-service ; Ignore des tests legacy [Arnaud Thimel] Correction du chargement du fichier de conf des logs (support de classpath:) [Arnaud Thimel] Correction de la conf (ne pas utiliser un bean java.lang.String) ------------------------------------------ [...truncated 952 lines...] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:150) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261) at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68) at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:259) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:261) at fr.onema.sispea.SispeaJunit4SpringRunner.methodBlock(SispeaJunit4SpringRunner.java:43) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:219) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) 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.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Running fr.onema.sispea.service.CalculateTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in fr.onema.sispea.service.CalculateTest Results : Tests in error: SispeaPersistContextTest.testContextLoaded » IllegalState Failed to load Appli... SispeaPersistContextTest.testCreateExercise » IllegalState Failed to load Appl... Tests run: 25, Failures: 0, Errors: 2, Skipped: 22 [ERROR] There are test failures. Please refer to <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-service/target/surefire-reports> for the individual test results. [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ sispea-service --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-service/target/sispea-service-2.16.0-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-service --- [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA export application 2.16.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ sispea-exchange --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-exchange/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ sispea-exchange --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-exchange --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-exchange --- [INFO] Compiling 1 source file to <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-exchange/target/classes> [INFO] [INFO] --- maven-antrun-plugin:1.8:run (generate-surefire-workdir) @ sispea-exchange --- [INFO] Executing tasks main: [mkdir] Created dir: <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-exchange/target/surefire-workdir> [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ sispea-exchange --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-exchange/src/test/resources> [INFO] [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ sispea-exchange --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ sispea-exchange --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ sispea-exchange --- [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-exchange/target/sispea-exchange-2.16.0-SNAPSHOT.jar> [INFO] [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ sispea-exchange --- [INFO] [INFO] --- maven-assembly-plugin:2.5.4:single (make-assembly) @ sispea-exchange --- [INFO] Reading assembly descriptor: src/main/assembly/exportApp.xml [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [INFO] Building jar: <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-exchange/target/sispea-exchange-2.16.0-SNAPSHOT-with-dependencies.jar> [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building SISPEA web application 2.16.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ sispea-webapp --- [INFO] Deleting <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-webapp/target> [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-project-files) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-site-deploy-classifier) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-platform) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-projectId) @ sispea-webapp --- [INFO] [INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java-versions) @ sispea-webapp --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ sispea-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 33 resources [INFO] [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ sispea-webapp --- [INFO] Compiling 192 source files to <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-webapp/target/classes> [INFO] <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-webapp/src/main/java/uk/org/axioma/servlet/ChartServlet.java>: <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-webapp/src/main/java/uk/org/axioma/servlet/ChartServlet.java> uses unchecked or unsafe operations. [INFO] <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-webapp/src/main/java/uk/org/axioma/servlet/ChartServlet.java>: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-webapp/src/main/java/fr/onema/sispea/struts/referential/action/UsersManagementAction.java>:[78,16] cannot return a value from method whose result type is void [ERROR] <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-webapp/src/main/java/fr/onema/sispea/struts/referential/action/UsersManagementAction.java>:[111,16] cannot return a value from method whose result type is void [INFO] 2 errors [INFO] ------------------------------------------------------------- [JENKINS] Archiving disabled Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [JENKINS] Archiving disabled [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] SISPEA ............................................. SUCCESS [ 1.970 s] [INFO] SISPEA Utils ....................................... SUCCESS [ 4.949 s] [INFO] SISPEA Persistence ................................. SUCCESS [ 4.665 s] [INFO] SISPEA Services .................................... SUCCESS [ 8.128 s] [INFO] SISPEA export application .......................... SUCCESS [ 3.285 s] [INFO] SISPEA web application ............................. FAILURE [ 2.082 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 28.719 s [INFO] Finished at: 2015-07-03T12:07:39+02:00 [INFO] Final Memory: 46M/431M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project sispea-webapp: Compilation failure: Compilation failure: [ERROR] <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-webapp/src/main/java/fr/onema/sispea/struts/referential/action/UsersManagementAction.java>:[78,16] cannot return a value from method whose result type is void [ERROR] <http://ci.codelutin.com/jenkins/job/sispea-ci/ws/sispea-webapp/src/main/java/fr/onema/sispea/struts/referential/action/UsersManagementAction.java>:[111,16] cannot return a value from method whose result type is void [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project sispea-webapp: Compilation failure at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.jvnet.hudson.maven3.launcher.Maven32Launcher.main(Maven32Launcher.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238) at jenkins.maven3.agent.Maven32Main.launch(Maven32Main.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:325) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:911) at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:129) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 31 more [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :sispea-webapp Sending e-mails to: sispea-build@list.forge.codelutin.com thimel@codelutin.com Sending e-mails to: sispea-build@list.forge.codelutin.com thimel@codelutin.com channel stopped Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds