See <http://ci.chorem.org/jenkins/job/lima-ci/16/changes> Changes: [dcosse] fixes #994 bouton HTML remplacé par OK (les rapports HTMLs sont les seuls choix possibles) ------------------------------------------ [...truncated 1666 lines...] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: org.hibernate.TransactionException: JDBC commit failed at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:157) at org.nuiton.topia.framework.TopiaContextImpl.commitTransaction(TopiaContextImpl.java:836) ... 47 more Caused by: org.h2.jdbc.JdbcSQLException: The object is already closed [90007-172] at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) at org.h2.message.DbException.get(DbException.java:169) at org.h2.message.DbException.get(DbException.java:146) at org.h2.message.DbException.get(DbException.java:135) at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1410) at org.h2.jdbc.JdbcConnection.checkClosedForWrite(JdbcConnection.java:1398) at org.h2.jdbc.JdbcConnection.commit(JdbcConnection.java:446) at org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:166) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:142) ... 48 more Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.96 sec <<< FAILURE! - in org.chorem.lima.business.EntryBookServiceImplTest modifyJournalTest(org.chorem.lima.business.EntryBookServiceImplTest) Time elapsed: 0.108 sec <<< ERROR! org.chorem.lima.business.LimaException: Can't create account at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) at org.h2.message.DbException.get(DbException.java:169) at org.h2.message.DbException.get(DbException.java:146) at org.h2.message.DbException.get(DbException.java:135) at org.h2.jdbc.JdbcConnection.checkClosed(JdbcConnection.java:1410) at org.h2.jdbc.JdbcStatement.checkClosed(JdbcStatement.java:967) at org.h2.jdbc.JdbcPreparedStatement.checkClosed(JdbcPreparedStatement.java:1574) at org.h2.jdbc.JdbcStatement.checkClosed(JdbcStatement.java:941) at org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:99) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208) at org.hibernate.loader.Loader.getResultSet(Loader.java:1953) at org.hibernate.loader.Loader.doQuery(Loader.java:802) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274) at org.hibernate.loader.Loader.doList(Loader.java:2542) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276) at org.hibernate.loader.Loader.list(Loader.java:2271) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:459) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:365) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at org.nuiton.topia.framework.TopiaContextImpl.find(TopiaContextImpl.java:1044) at org.nuiton.topia.framework.TopiaQuery.execute(TopiaQuery.java:1386) at org.nuiton.topia.framework.TopiaQuery.executeToObject(TopiaQuery.java:1534) at org.nuiton.topia.framework.TopiaQuery.executeToInteger(TopiaQuery.java:1556) at org.nuiton.topia.framework.TopiaQuery.executeCount(TopiaQuery.java:1635) at org.nuiton.topia.persistence.TopiaDAOImpl.countByQuery(TopiaDAOImpl.java:560) at org.nuiton.topia.persistence.TopiaDAOImpl.existByQuery(TopiaDAOImpl.java:547) at org.nuiton.topia.persistence.TopiaDAOImpl.existByProperties(TopiaDAOImpl.java:541) at org.chorem.lima.entity.AccountDAOAbstract.existByNaturalId(AccountDAOAbstract.java:48) at org.chorem.lima.business.ejb.AccountServiceImpl.createAccount(AccountServiceImpl.java:96) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.chorem.lima.business.LimaInterceptor.invoke(LimaInterceptor.java:99) at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.apache.openejb.cdi.CdiInterceptor.invoke(CdiInterceptor.java:126) at org.apache.openejb.cdi.CdiInterceptor.access$000(CdiInterceptor.java:42) at org.apache.openejb.cdi.CdiInterceptor$1.call(CdiInterceptor.java:63) at org.apache.openejb.cdi.CdiInterceptor.aroundInvoke(CdiInterceptor.java:69) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:176) at org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:95) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:181) at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:163) at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:138) at org.apache.openejb.core.stateless.StatelessContainer._invoke(StatelessContainer.java:239) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:191) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.synchronizedBusinessMethod(EjbObjectProxyHandler.java:246) at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:241) at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:83) at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:279) at com.sun.proxy.$Proxy67.createAccount(Unknown Source) at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.chorem.lima.service.ServiceMonitorableHandler.invoke(ServiceMonitorableHandler.java:76) at com.sun.proxy.$Proxy68.createAccount(Unknown Source) at org.chorem.lima.business.AbstractLimaTest.initTestAccounts(AbstractLimaTest.java:235) at org.chorem.lima.business.AbstractLimaTest.initTestDatabase(AbstractLimaTest.java:209) at org.chorem.lima.business.EntryBookServiceImplTest.initTest(EntryBookServiceImplTest.java:48) Running org.chorem.lima.business.FinancialTransactionServiceImplTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.014 sec - in org.chorem.lima.business.FinancialTransactionServiceImplTest Running org.chorem.lima.business.FiscalPeriodServiceImplTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.957 sec - in org.chorem.lima.business.FiscalPeriodServiceImplTest Running org.chorem.lima.business.ImportServiceImplTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 593 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 51 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 20 ms INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 573 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 47 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 14 ms INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 543 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 40 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 11 ms Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.043 sec - in org.chorem.lima.business.ImportServiceImplTest Running org.chorem.lima.business.ReportServiceImplTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.chorem.lima.business.ReportServiceImplTest Running org.chorem.lima.business.accountingrules.AccountServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 1.124 sec - in org.chorem.lima.business.accountingrules.AccountServiceRuleFrTest Running org.chorem.lima.business.accountingrules.ReportServiceRuleFrTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.chorem.lima.business.accountingrules.ReportServiceRuleFrTest Running org.chorem.lima.business.accountingrules.FiscalPeriodServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.677 sec - in org.chorem.lima.business.accountingrules.FiscalPeriodServiceRuleFrTest Running org.chorem.lima.business.accountingrules.FinancialPeriodServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.425 sec - in org.chorem.lima.business.accountingrules.FinancialPeriodServiceRuleFrTest Running org.chorem.lima.business.accountingrules.ImportServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 465 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 46 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 13 ms INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 542 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 44 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 11 ms INFO [main] (ImportServiceImpl.java:382) importAccountsChartFromEbp - Imported form EBP : 571 accounts in 472 ms INFO [main] (ImportServiceImpl.java:433) importEntryBookFromEbp - Imported form EBP : 9 accounts in 93 ms INFO [main] (ImportServiceImpl.java:326) importEntriesFromEbp - Imported form EBP : 19 entries in 9 ms Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.566 sec - in org.chorem.lima.business.accountingrules.ImportServiceRuleFrTest Running org.chorem.lima.business.accountingrules.FinancialTransactionServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.418 sec - in org.chorem.lima.business.accountingrules.FinancialTransactionServiceRuleFrTest Running org.chorem.lima.business.accountingrules.EntryBookServiceRuleFrTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.314 sec - in org.chorem.lima.business.accountingrules.EntryBookServiceRuleFrTest Running org.chorem.lima.business.LimaMiscTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec - in org.chorem.lima.business.LimaMiscTest Running org.chorem.lima.business.FinancialPeriodServiceImplTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.123 sec - in org.chorem.lima.business.FinancialPeriodServiceImplTest Running org.chorem.lima.business.LetteringComparatorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in org.chorem.lima.business.LetteringComparatorTest Running org.chorem.lima.business.AccountServiceImplTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.615 sec - in org.chorem.lima.business.AccountServiceImplTest Running org.chorem.lima.entity.AccountDAOTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.105 sec - in org.chorem.lima.entity.AccountDAOTest Running org.chorem.lima.entity.FinancialTransactionDAOTest INFO - EJBContainer already initialized. Call ejbContainer.close() to allow reinitialization Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec - in org.chorem.lima.entity.FinancialTransactionDAOTest Results : Tests in error: EntryBookServiceImplTest.initTest:48->AbstractLimaTest.initTestDatabase:209->AbstractLimaTest.initTestAccounts:235 » Lima Tests run: 79, Failures: 0, Errors: 1, Skipped: 3 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Lima .............................................. SUCCESS [ 2.021 s] [INFO] Lima :: callao .................................... SUCCESS [ 12.423 s] [INFO] Lima :: business API .............................. SUCCESS [ 2.603 s] [INFO] Lima :: business .................................. FAILURE [ 19.015 s] [INFO] Lima :: Swing ..................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 36.597 s [INFO] Finished at: 2014-03-14T18:05:10+01:00 [INFO] Final Memory: 53M/696M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project lima-business: There are test failures. [ERROR] [ERROR] Please refer to <http://ci.chorem.org/jenkins/job/lima-ci/ws/trunk/lima-business/target/surefire-reports> for the individual test results. [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project lima-business: There are test failures. Please refer to <http://ci.chorem.org/jenkins/job/lima-ci/ws/trunk/lima-business/target/surefire-reports> for the individual test results. 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:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) 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.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures. Please refer to <http://ci.chorem.org/jenkins/job/lima-ci/ws/trunk/lima-business/target/surefire-reports> for the individual test results. at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82) at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:169) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:777) at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:645) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 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 :lima-business Build step 'Invoke top-level Maven targets' marked build as failure