See
http://hudson.qa.jboss.com/hudson/job/jbpm4-jboss/./DATABASE=postgresql,J...
Changes:
[tom.baeyens(a)jboss.com] JBPM-2306 updating dev guide
[tom.baeyens(a)jboss.com] JBPM-2275 async end combinations
[jbarrez] Added tests for JBPM-1214 : self-transition/loop back to State activity
[jbarrez] Initial import for concurrency tests (JBPM-1987)
[jbarrez] Importing work done for concurrent testing (JBPM-1987)
[tom.baeyens(a)jboss.com] added pointer on how to configure identity component
[tom.baeyens(a)jboss.com] JBPM-2322 enabled module test-db in the integration test suite
------------------------------------------
[...truncated 5675 lines...]
at
org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
at $Proxy2.execute(Unknown Source)
at
org.jbpm.enterprise.internal.ejb.EjbRemoteCommandService.execute(EjbRemoteCommandService.java:66)
at
org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:66)
at
org.jbpm.test.async.AsyncEndCombinationTest.testConcurrentScenario2(AsyncEndCombinationTest.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at org.jbpm.test.BaseJbpmTestCase.runTest(BaseJbpmTestCase.java:83)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
Caused by: java.lang.IllegalStateException: BaseTransaction.rollback -
[com.arjuna.ats.internal.jta.transaction.arjunacore.notx]
[com.arjuna.ats.internal.jta.transaction.arjunacore.notx] no transaction!
at
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:158)
at
com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:114)
at
org.jboss.ejb.EnterpriseContext$UserTransactionImpl.rollback(EnterpriseContext.java:659)
at
org.jboss.ejb.StatelessSessionEnterpriseContext$SessionContextImpl$1.rollback(StatelessSessionEnterpriseContext.java:279)
at org.jbpm.pvm.internal.tx.jta.JtaTransaction.rollback(JtaTransaction.java:77)
at
org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:78)
at
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
at
org.jbpm.enterprise.internal.ejb.CommandExecutorSLSB.execute(CommandExecutorSLSB.java:102)
at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:386)
at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:228)
at
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
at
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at
org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173)
at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97)
at
org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
at org.jboss.ejb.Container.invoke(Container.java:1029)
at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:232)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
at
org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742)
at
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695)
at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:549)
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230)
### EXCEPTION ###########################################
15:09:53,313 SEV | [BaseJbpmTestCase]
15:09:53,592 FIN | [BaseJbpmTestCase] === ending testConcurrentScenario2
=============================
15:09:53,595 FIN | [BaseJbpmTestCase] === starting testAsyncToEnd
=============================
15:09:54,760 FIN | [BaseJbpmTestCase] === ending testAsyncToEnd
=============================
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.573 sec <<<
FAILURE!
Running org.jbpm.test.task.TaskVariablesTest
15:09:54,771 FIN | [BaseJbpmTestCase] === starting testTaskVariables
=============================
15:09:55,478 FIN | [BaseJbpmTestCase] === ending testTaskVariables
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.723 sec
Running org.jbpm.test.history.ProcessInstanceHistoryTest
15:09:55,503 FIN | [BaseJbpmTestCase] === starting testProcessInstanceHistory
=============================
15:09:56,732 FIN | [BaseJbpmTestCase] === ending testProcessInstanceHistory
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.247 sec
15:09:56,749 FIN | [BaseJbpmTestCase] === starting testImage
=============================
Running org.jbpm.test.deploy.ImageTest
15:09:57,393 FIN | [BaseJbpmTestCase] === ending testImage =============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.662 sec
Running org.jbpm.test.task.TaskListTest
15:09:57,437 FIN | [BaseJbpmTestCase] === starting testPersonalTaskList
=============================
15:09:59,141 FIN | [BaseJbpmTestCase] === ending testPersonalTaskList
=============================
15:09:59,141 FIN | [BaseJbpmTestCase] === starting testPersonalTaskListDefaultSortOrder
=============================
15:10:01,005 FIN | [BaseJbpmTestCase] === ending testPersonalTaskListDefaultSortOrder
=============================
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.601 sec
Running org.jbpm.test.execution.SystemVariablesTest
15:10:01,026 FIN | [BaseJbpmTestCase] === starting testSystemVariables
=============================
15:10:02,253 FIN | [BaseJbpmTestCase] === ending testSystemVariables
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.247 sec
Running org.jbpm.test.identity.IdentityTest
15:10:02,271 FIN | [BaseJbpmTestCase] === starting testSingleUser
=============================
15:10:02,705 FIN | [BaseJbpmTestCase] === ending testSingleUser
=============================
15:10:02,709 FIN | [BaseJbpmTestCase] === starting testCreateGroup
=============================
15:10:03,126 FIN | [BaseJbpmTestCase] === ending testCreateGroup
=============================
15:10:03,127 FIN | [BaseJbpmTestCase] === starting testFindGroupsByUser
=============================
15:10:04,174 FIN | [BaseJbpmTestCase] === ending testFindGroupsByUser
=============================
15:10:04,176 FIN | [BaseJbpmTestCase] === starting testFindGroupByUserAndGroupType
=============================
15:10:05,334 FIN | [BaseJbpmTestCase] === ending testFindGroupByUserAndGroupType
=============================
15:10:05,335 FIN | [BaseJbpmTestCase] === starting testSingleGroup
=============================
15:10:08,443 FIN | [BaseJbpmTestCase] === ending testSingleGroup
=============================
15:10:08,445 FIN | [BaseJbpmTestCase] === starting testSingleUser2
=============================
15:10:08,874 FIN | [BaseJbpmTestCase] === ending testSingleUser2
=============================
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.61 sec
15:10:08,881 FIN | [BaseJbpmTestCase] === starting testAsyncEventListener
=============================
Running org.jbpm.examples.async.eventlistener.AsyncEventListenerTest
15:10:10,244 FIN | [BaseJbpmTestCase] === ending testAsyncEventListener
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.375 sec
Running org.jbpm.test.process.ProcessDefinitionQueryTest
15:10:10,260 FIN | [BaseJbpmTestCase] === starting testQueryProcessDefinitionsEmpty
=============================
15:10:10,328 FIN | [BaseJbpmTestCase] === ending testQueryProcessDefinitionsEmpty
=============================
15:10:10,329 FIN | [BaseJbpmTestCase] === starting testQueryProcessDefinitionsNameLike
=============================
15:10:13,261 FIN | [BaseJbpmTestCase] === ending testQueryProcessDefinitionsNameLike
=============================
15:10:13,264 FIN | [BaseJbpmTestCase] === starting testQueryProcessDefinitionsKeyLike
=============================
15:10:16,441 FIN | [BaseJbpmTestCase] === ending testQueryProcessDefinitionsKeyLike
=============================
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.196 sec
Running org.jbpm.test.history.ChoiceDistributionTest
15:10:16,459 FIN | [BaseJbpmTestCase] === starting testDecisionExpression
=============================
15:10:18,278 FIN | [BaseJbpmTestCase] === ending testDecisionExpression
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.844 sec
Running org.jbpm.test.execution.ExecutionQueryTest
15:10:18,306 FIN | [BaseJbpmTestCase] === starting testQueryForEndedExecutions
=============================
15:10:20,369 FIN | [BaseJbpmTestCase] === ending testQueryForEndedExecutions
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.081 sec
Running org.jbpm.test.execution.StartExecutionTest
15:10:20,393 FIN | [BaseJbpmTestCase] === starting testStartNewExecutionByKey
=============================
15:10:21,004 FIN | [BaseJbpmTestCase] === ending testStartNewExecutionByKey
=============================
15:10:21,008 FIN | [BaseJbpmTestCase] === starting
testStartNewExecutionInLatestProcessDefinition =============================
15:10:22,282 FIN | [BaseJbpmTestCase] === ending
testStartNewExecutionInLatestProcessDefinition =============================
15:10:22,284 FIN | [BaseJbpmTestCase] === starting
testStartExecutionInLatestByNameWithVariables =============================
15:10:23,454 FIN | [BaseJbpmTestCase] === ending
testStartExecutionInLatestByNameWithVariables =============================
15:10:23,455 FIN | [BaseJbpmTestCase] === starting testStartNewProcessInstanceWithAKey
=============================
15:10:24,043 FIN | [BaseJbpmTestCase] === ending testStartNewProcessInstanceWithAKey
=============================
15:10:24,044 FIN | [BaseJbpmTestCase] === starting
testStartNewProcessInstanceWithVariables =============================
15:10:24,865 FIN | [BaseJbpmTestCase] === ending testStartNewProcessInstanceWithVariables
=============================
15:10:24,868 FIN | [BaseJbpmTestCase] === starting testStartExecutionById
=============================
15:10:25,488 FIN | [BaseJbpmTestCase] === ending testStartExecutionById
=============================
15:10:25,489 FIN | [BaseJbpmTestCase] === starting testStartExecutionByIdWithVariables
=============================
15:10:26,126 FIN | [BaseJbpmTestCase] === ending testStartExecutionByIdWithVariables
=============================
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.748 sec
Running org.jbpm.test.execution.SignalExecutionTest
15:10:26,151 FIN | [BaseJbpmTestCase] === starting testDefaultSignalWithoutTransitions
=============================
15:10:26,958 FIN | [BaseJbpmTestCase] === ending testDefaultSignalWithoutTransitions
=============================
15:10:26,958 FIN | [BaseJbpmTestCase] === starting testSignalExecutionById
=============================
15:10:27,908 FIN | [BaseJbpmTestCase] === ending testSignalExecutionById
=============================
15:10:27,909 FIN | [BaseJbpmTestCase] === starting testSignalExecutionWithVariables
=============================
15:10:28,904 FIN | [BaseJbpmTestCase] === ending testSignalExecutionWithVariables
=============================
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.777 sec
Running org.jbpm.examples.goup.multipleentries.MultipleEntriesTest
15:10:28,923 FIN | [BaseJbpmTestCase] === starting testPlentyOfTime
=============================
15:10:29,699 FIN | [BaseJbpmTestCase] === ending testPlentyOfTime
=============================
15:10:29,700 FIN | [BaseJbpmTestCase] === starting testTimeIsRunningOut
=============================
15:10:30,327 FIN | [BaseJbpmTestCase] === ending testTimeIsRunningOut
=============================
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.419 sec
Running org.jbpm.test.execution.ExecutionEagerLoadingTest
15:10:30,347 FIN | [BaseJbpmTestCase] === starting testEagerLoading
=============================
15:10:31,190 FIN | [BaseJbpmTestCase] === ending testEagerLoading
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.86 sec
Running org.jbpm.test.task.TaskParticipationsTest
15:10:31,211 FIN | [BaseJbpmTestCase] === starting testTaskParticipants
=============================
15:10:33,011 FIN | [BaseJbpmTestCase] === ending testTaskParticipants
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.811 sec
Running org.jbpm.test.history.EndProcessInstanceTest
15:10:33,019 FIN | [BaseJbpmTestCase] === starting testCancelProcessInstance
=============================
15:10:34,093 FIN | [BaseJbpmTestCase] === ending testCancelProcessInstance
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.086 sec
Running org.jbpm.test.activities.ForkToTaskTest
15:10:34,111 FIN | [BaseJbpmTestCase] === starting testForkToTasks
=============================
15:10:34,944 FIN | [BaseJbpmTestCase] === ending testForkToTasks
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.844 sec
Results :
Tests in error:
testConcurrentEndScenario1(org.jbpm.test.execution.ConcurrentEndTest)
testConcurrentEndScenario2(org.jbpm.test.execution.ConcurrentEndTest)
testForkToJoinInOneTransaction(org.jbpm.test.activities.ForkJoinInSameTransactionTest)
testForkToJoinAfterStateInOneTransaction(org.jbpm.test.activities.ForkJoinInSameTransactionTest)
testForkToJoinWithActivitiesInOneTransaction(org.jbpm.test.activities.ForkJoinInSameTransactionTest)
testForkToJoinInLoopInOneTransaction(org.jbpm.test.activities.ForkJoinInSameTransactionTest)
testConcurrentEndScenario1(org.jbpm.test.async.AsyncEndCombinationTest)
testConcurrentScenario2(org.jbpm.test.async.AsyncEndCombinationTest)
Tests run: 145, Failures: 0, Errors: 8, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
http://hudson.qa.jboss.com/hudson/job/jbpm4-jboss/./DATABASE=postgresql,J...
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 16 seconds
[INFO] Finished at: Wed Jun 17 15:10:34 EDT 2009
[INFO] Final Memory: 47M/1016M
[INFO] ------------------------------------------------------------------------
Recording test results