See
http://hudson.qa.jboss.com/hudson/job/jbpm4-jboss/./DATABASE=mysql,JBOSS_...
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.GeneratedMethodAccessor24.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.GeneratedMethodAccessor279.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.GeneratedMethodAccessor269.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 ###########################################
13:38:56,956 SEV | [BaseJbpmTestCase]
13:38:57,046 FIN | [BaseJbpmTestCase] === ending testConcurrentScenario2
=============================
13:38:57,049 FIN | [BaseJbpmTestCase] === starting testAsyncToEnd
=============================
13:38:57,510 FIN | [BaseJbpmTestCase] === ending testAsyncToEnd
=============================
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.461 sec <<<
FAILURE!
13:38:57,522 FIN | [BaseJbpmTestCase] === starting testTaskVariables
=============================
Running org.jbpm.test.task.TaskVariablesTest
13:38:58,101 FIN | [BaseJbpmTestCase] === ending testTaskVariables
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.586 sec
Running org.jbpm.test.history.ProcessInstanceHistoryTest
13:38:58,110 FIN | [BaseJbpmTestCase] === starting testProcessInstanceHistory
=============================
13:38:58,567 FIN | [BaseJbpmTestCase] === ending testProcessInstanceHistory
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.471 sec
Running org.jbpm.test.deploy.ImageTest
13:38:58,603 FIN | [BaseJbpmTestCase] === starting testImage
=============================
13:38:59,072 FIN | [BaseJbpmTestCase] === ending testImage =============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.485 sec
Running org.jbpm.test.execution.SystemVariablesTest
13:38:59,087 FIN | [BaseJbpmTestCase] === starting testSystemVariables
=============================
13:38:59,563 FIN | [BaseJbpmTestCase] === ending testSystemVariables
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.491 sec
Running org.jbpm.test.task.TaskListTest
13:38:59,606 FIN | [BaseJbpmTestCase] === starting testPersonalTaskList
=============================
13:39:00,120 FIN | [BaseJbpmTestCase] === ending testPersonalTaskList
=============================
13:39:00,121 FIN | [BaseJbpmTestCase] === starting testPersonalTaskListDefaultSortOrder
=============================
13:39:00,811 FIN | [BaseJbpmTestCase] === ending testPersonalTaskListDefaultSortOrder
=============================
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.383 sec
13:39:01,009 FIN | [BaseJbpmTestCase] === starting testSingleUser
=============================
Running org.jbpm.test.identity.IdentityTest
13:39:01,276 FIN | [BaseJbpmTestCase] === ending testSingleUser
=============================
13:39:01,279 FIN | [BaseJbpmTestCase] === starting testCreateGroup
=============================
13:39:01,728 FIN | [BaseJbpmTestCase] === ending testCreateGroup
=============================
13:39:01,729 FIN | [BaseJbpmTestCase] === starting testFindGroupsByUser
=============================
13:39:02,009 FIN | [BaseJbpmTestCase] === ending testFindGroupsByUser
=============================
13:39:02,011 FIN | [BaseJbpmTestCase] === starting testFindGroupByUserAndGroupType
=============================
13:39:02,353 FIN | [BaseJbpmTestCase] === ending testFindGroupByUserAndGroupType
=============================
13:39:02,358 FIN | [BaseJbpmTestCase] === starting testSingleGroup
=============================
13:39:03,057 FIN | [BaseJbpmTestCase] === ending testSingleGroup
=============================
13:39:03,058 FIN | [BaseJbpmTestCase] === starting testSingleUser2
=============================
13:39:03,176 FIN | [BaseJbpmTestCase] === ending testSingleUser2
=============================
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.175 sec
13:39:03,190 FIN | [BaseJbpmTestCase] === starting testAsyncEventListener
=============================
Running org.jbpm.examples.async.eventlistener.AsyncEventListenerTest
13:39:04,063 FIN | [BaseJbpmTestCase] === ending testAsyncEventListener
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.879 sec
Running org.jbpm.test.process.ProcessDefinitionQueryTest
13:39:04,078 FIN | [BaseJbpmTestCase] === starting testQueryProcessDefinitionsEmpty
=============================
13:39:04,111 FIN | [BaseJbpmTestCase] === ending testQueryProcessDefinitionsEmpty
=============================
13:39:04,111 FIN | [BaseJbpmTestCase] === starting testQueryProcessDefinitionsNameLike
=============================
13:39:05,763 FIN | [BaseJbpmTestCase] === ending testQueryProcessDefinitionsNameLike
=============================
13:39:05,765 FIN | [BaseJbpmTestCase] === starting testQueryProcessDefinitionsKeyLike
=============================
13:39:07,275 FIN | [BaseJbpmTestCase] === ending testQueryProcessDefinitionsKeyLike
=============================
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.213 sec
Running org.jbpm.test.execution.ExecutionQueryTest
13:39:07,291 FIN | [BaseJbpmTestCase] === starting testQueryForEndedExecutions
=============================
13:39:08,059 FIN | [BaseJbpmTestCase] === ending testQueryForEndedExecutions
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.788 sec
Running org.jbpm.test.history.ChoiceDistributionTest
13:39:08,084 FIN | [BaseJbpmTestCase] === starting testDecisionExpression
=============================
13:39:09,430 FIN | [BaseJbpmTestCase] === ending testDecisionExpression
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.352 sec
Running org.jbpm.test.execution.StartExecutionTest
13:39:09,441 FIN | [BaseJbpmTestCase] === starting testStartNewExecutionByKey
=============================
13:39:09,712 FIN | [BaseJbpmTestCase] === ending testStartNewExecutionByKey
=============================
13:39:09,713 FIN | [BaseJbpmTestCase] === starting
testStartNewExecutionInLatestProcessDefinition =============================
13:39:10,297 FIN | [BaseJbpmTestCase] === ending
testStartNewExecutionInLatestProcessDefinition =============================
13:39:10,298 FIN | [BaseJbpmTestCase] === starting
testStartExecutionInLatestByNameWithVariables =============================
13:39:10,801 FIN | [BaseJbpmTestCase] === ending
testStartExecutionInLatestByNameWithVariables =============================
13:39:10,802 FIN | [BaseJbpmTestCase] === starting testStartNewProcessInstanceWithAKey
=============================
13:39:11,015 FIN | [BaseJbpmTestCase] === ending testStartNewProcessInstanceWithAKey
=============================
13:39:11,015 FIN | [BaseJbpmTestCase] === starting
testStartNewProcessInstanceWithVariables =============================
13:39:11,402 FIN | [BaseJbpmTestCase] === ending testStartNewProcessInstanceWithVariables
=============================
13:39:11,402 FIN | [BaseJbpmTestCase] === starting testStartExecutionById
=============================
13:39:11,641 FIN | [BaseJbpmTestCase] === ending testStartExecutionById
=============================
13:39:11,643 FIN | [BaseJbpmTestCase] === starting testStartExecutionByIdWithVariables
=============================
13:39:11,991 FIN | [BaseJbpmTestCase] === ending testStartExecutionByIdWithVariables
=============================
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.559 sec
13:39:12,002 FIN | [BaseJbpmTestCase] === starting testDefaultSignalWithoutTransitions
=============================
Running org.jbpm.test.execution.SignalExecutionTest
13:39:12,329 FIN | [BaseJbpmTestCase] === ending testDefaultSignalWithoutTransitions
=============================
13:39:12,330 FIN | [BaseJbpmTestCase] === starting testSignalExecutionById
=============================
13:39:12,730 FIN | [BaseJbpmTestCase] === ending testSignalExecutionById
=============================
13:39:12,730 FIN | [BaseJbpmTestCase] === starting testSignalExecutionWithVariables
=============================
13:39:13,059 FIN | [BaseJbpmTestCase] === ending testSignalExecutionWithVariables
=============================
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.067 sec
13:39:13,067 FIN | [BaseJbpmTestCase] === starting testPlentyOfTime
=============================
Running org.jbpm.examples.goup.multipleentries.MultipleEntriesTest
13:39:13,573 FIN | [BaseJbpmTestCase] === ending testPlentyOfTime
=============================
13:39:13,574 FIN | [BaseJbpmTestCase] === starting testTimeIsRunningOut
=============================
13:39:13,871 FIN | [BaseJbpmTestCase] === ending testTimeIsRunningOut
=============================
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.811 sec
13:39:13,881 FIN | [BaseJbpmTestCase] === starting testEagerLoading
=============================
Running org.jbpm.test.execution.ExecutionEagerLoadingTest
13:39:14,498 FIN | [BaseJbpmTestCase] === ending testEagerLoading
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.632 sec
Running org.jbpm.test.task.TaskParticipationsTest
13:39:14,518 FIN | [BaseJbpmTestCase] === starting testTaskParticipants
=============================
13:39:15,128 FIN | [BaseJbpmTestCase] === ending testTaskParticipants
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.625 sec
Running org.jbpm.test.history.EndProcessInstanceTest
13:39:15,154 FIN | [BaseJbpmTestCase] === starting testCancelProcessInstance
=============================
13:39:15,630 FIN | [BaseJbpmTestCase] === ending testCancelProcessInstance
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.488 sec
Running org.jbpm.test.activities.ForkToTaskTest
13:39:15,642 FIN | [BaseJbpmTestCase] === starting testForkToTasks
=============================
13:39:16,084 FIN | [BaseJbpmTestCase] === ending testForkToTasks
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.451 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=mysql,JBOSS_...
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 57 seconds
[INFO] Finished at: Wed Jun 17 13:39:16 EDT 2009
[INFO] Final Memory: 47M/1016M
[INFO] ------------------------------------------------------------------------
Recording test results