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 5688 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.GeneratedMethodAccessor25.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 ###########################################
14:45:31,435 SEV | [BaseJbpmTestCase]
14:45:31,744 FIN | [BaseJbpmTestCase] === ending testConcurrentScenario2
=============================
14:45:31,753 FIN | [BaseJbpmTestCase] === starting testAsyncToEnd
=============================
14:45:32,890 FIN | [BaseJbpmTestCase] === ending testAsyncToEnd
=============================
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.365 sec <<<
FAILURE!
Running org.jbpm.test.task.TaskVariablesTest
14:45:32,944 FIN | [BaseJbpmTestCase] === starting testTaskVariables
=============================
14:45:33,803 FIN | [BaseJbpmTestCase] === ending testTaskVariables
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.873 sec
Running org.jbpm.test.history.ProcessInstanceHistoryTest
14:45:33,823 FIN | [BaseJbpmTestCase] === starting testProcessInstanceHistory
=============================
14:45:35,122 FIN | [BaseJbpmTestCase] === ending testProcessInstanceHistory
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.323 sec
14:45:35,148 FIN | [BaseJbpmTestCase] === starting testImage
=============================
Running org.jbpm.test.deploy.ImageTest
14:45:35,803 FIN | [BaseJbpmTestCase] === ending testImage =============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.675 sec
Running org.jbpm.test.execution.SystemVariablesTest
14:45:35,835 FIN | [BaseJbpmTestCase] === starting testSystemVariables
=============================
14:45:37,287 FIN | [BaseJbpmTestCase] === ending testSystemVariables
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.473 sec
Running org.jbpm.test.task.TaskListTest
14:45:37,332 FIN | [BaseJbpmTestCase] === starting testPersonalTaskList
=============================
14:45:39,041 FIN | [BaseJbpmTestCase] === ending testPersonalTaskList
=============================
14:45:39,042 FIN | [BaseJbpmTestCase] === starting testPersonalTaskListDefaultSortOrder
=============================
14:45:41,167 FIN | [BaseJbpmTestCase] === ending testPersonalTaskListDefaultSortOrder
=============================
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.879 sec
Running org.jbpm.test.identity.IdentityTest
14:45:41,187 FIN | [BaseJbpmTestCase] === starting testSingleUser
=============================
14:45:41,531 FIN | [BaseJbpmTestCase] === ending testSingleUser
=============================
14:45:41,532 FIN | [BaseJbpmTestCase] === starting testCreateGroup
=============================
14:45:41,950 FIN | [BaseJbpmTestCase] === ending testCreateGroup
=============================
14:45:41,951 FIN | [BaseJbpmTestCase] === starting testFindGroupsByUser
=============================
14:45:42,924 FIN | [BaseJbpmTestCase] === ending testFindGroupsByUser
=============================
14:45:42,925 FIN | [BaseJbpmTestCase] === starting testFindGroupByUserAndGroupType
=============================
14:45:43,896 FIN | [BaseJbpmTestCase] === ending testFindGroupByUserAndGroupType
=============================
14:45:43,898 FIN | [BaseJbpmTestCase] === starting testSingleGroup
=============================
14:45:46,757 FIN | [BaseJbpmTestCase] === ending testSingleGroup
=============================
14:45:46,758 FIN | [BaseJbpmTestCase] === starting testSingleUser2
=============================
14:45:47,217 FIN | [BaseJbpmTestCase] === ending testSingleUser2
=============================
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.047 sec
14:45:47,239 FIN | [BaseJbpmTestCase] === starting testAsyncEventListener
=============================
Running org.jbpm.examples.async.eventlistener.AsyncEventListenerTest
14:45:48,700 FIN | [BaseJbpmTestCase] === ending testAsyncEventListener
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.468 sec
Running org.jbpm.test.process.ProcessDefinitionQueryTest
14:45:48,706 FIN | [BaseJbpmTestCase] === starting testQueryProcessDefinitionsEmpty
=============================
14:45:48,734 FIN | [BaseJbpmTestCase] === ending testQueryProcessDefinitionsEmpty
=============================
14:45:48,735 FIN | [BaseJbpmTestCase] === starting testQueryProcessDefinitionsNameLike
=============================
14:45:51,826 FIN | [BaseJbpmTestCase] === ending testQueryProcessDefinitionsNameLike
=============================
14:45:51,827 FIN | [BaseJbpmTestCase] === starting testQueryProcessDefinitionsKeyLike
=============================
14:45:55,315 FIN | [BaseJbpmTestCase] === ending testQueryProcessDefinitionsKeyLike
=============================
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.622 sec
14:45:55,338 FIN | [BaseJbpmTestCase] === starting testQueryForEndedExecutions
=============================
Running org.jbpm.test.execution.ExecutionQueryTest
14:45:57,714 FIN | [BaseJbpmTestCase] === ending testQueryForEndedExecutions
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.4 sec
Running org.jbpm.test.history.ChoiceDistributionTest
14:45:57,738 FIN | [BaseJbpmTestCase] === starting testDecisionExpression
=============================
14:45:59,968 FIN | [BaseJbpmTestCase] === ending testDecisionExpression
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.238 sec
Running org.jbpm.test.execution.StartExecutionTest
14:45:59,978 FIN | [BaseJbpmTestCase] === starting testStartNewExecutionByKey
=============================
14:46:00,715 FIN | [BaseJbpmTestCase] === ending testStartNewExecutionByKey
=============================
14:46:00,716 FIN | [BaseJbpmTestCase] === starting
testStartNewExecutionInLatestProcessDefinition =============================
14:46:02,281 FIN | [BaseJbpmTestCase] === ending
testStartNewExecutionInLatestProcessDefinition =============================
14:46:02,281 FIN | [BaseJbpmTestCase] === starting
testStartExecutionInLatestByNameWithVariables =============================
14:46:03,551 FIN | [BaseJbpmTestCase] === ending
testStartExecutionInLatestByNameWithVariables =============================
14:46:03,551 FIN | [BaseJbpmTestCase] === starting testStartNewProcessInstanceWithAKey
=============================
14:46:04,304 FIN | [BaseJbpmTestCase] === ending testStartNewProcessInstanceWithAKey
=============================
14:46:04,305 FIN | [BaseJbpmTestCase] === starting
testStartNewProcessInstanceWithVariables =============================
14:46:05,102 FIN | [BaseJbpmTestCase] === ending testStartNewProcessInstanceWithVariables
=============================
14:46:05,103 FIN | [BaseJbpmTestCase] === starting testStartExecutionById
=============================
14:46:05,764 FIN | [BaseJbpmTestCase] === ending testStartExecutionById
=============================
14:46:05,765 FIN | [BaseJbpmTestCase] === starting testStartExecutionByIdWithVariables
=============================
14:46:06,476 FIN | [BaseJbpmTestCase] === ending testStartExecutionByIdWithVariables
=============================
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.516 sec
Running org.jbpm.test.execution.SignalExecutionTest
14:46:06,508 FIN | [BaseJbpmTestCase] === starting testDefaultSignalWithoutTransitions
=============================
14:46:07,301 FIN | [BaseJbpmTestCase] === ending testDefaultSignalWithoutTransitions
=============================
14:46:07,306 FIN | [BaseJbpmTestCase] === starting testSignalExecutionById
=============================
14:46:08,395 FIN | [BaseJbpmTestCase] === ending testSignalExecutionById
=============================
14:46:08,395 FIN | [BaseJbpmTestCase] === starting testSignalExecutionWithVariables
=============================
14:46:09,385 FIN | [BaseJbpmTestCase] === ending testSignalExecutionWithVariables
=============================
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.899 sec
Running org.jbpm.examples.goup.multipleentries.MultipleEntriesTest
14:46:09,400 FIN | [BaseJbpmTestCase] === starting testPlentyOfTime
=============================
14:46:10,283 FIN | [BaseJbpmTestCase] === ending testPlentyOfTime
=============================
14:46:10,285 FIN | [BaseJbpmTestCase] === starting testTimeIsRunningOut
=============================
14:46:10,998 FIN | [BaseJbpmTestCase] === ending testTimeIsRunningOut
=============================
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.605 sec
Running org.jbpm.test.execution.ExecutionEagerLoadingTest
14:46:11,006 FIN | [BaseJbpmTestCase] === starting testEagerLoading
=============================
14:46:11,832 FIN | [BaseJbpmTestCase] === ending testEagerLoading
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.841 sec
Running org.jbpm.test.task.TaskParticipationsTest
14:46:11,850 FIN | [BaseJbpmTestCase] === starting testTaskParticipants
=============================
14:46:13,724 FIN | [BaseJbpmTestCase] === ending testTaskParticipants
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.889 sec
Running org.jbpm.test.history.EndProcessInstanceTest
14:46:13,742 FIN | [BaseJbpmTestCase] === starting testCancelProcessInstance
=============================
14:46:14,604 FIN | [BaseJbpmTestCase] === ending testCancelProcessInstance
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.874 sec
Running org.jbpm.test.activities.ForkToTaskTest
14:46:14,619 FIN | [BaseJbpmTestCase] === starting testForkToTasks
=============================
14:46:15,399 FIN | [BaseJbpmTestCase] === ending testForkToTasks
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.789 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 24 seconds
[INFO] Finished at: Wed Jun 17 14:46:15 EDT 2009
[INFO] Final Memory: 48M/1016M
[INFO] ------------------------------------------------------------------------
Recording test results