See
http://hudson.qa.jboss.com/hudson/job/jbpm4-base/./jdk=java15,label=linux...
Changes:
[tom.baeyens(a)jboss.com] devguide updates and subprocess images in userguide and
coordinates in example sources
[tom.baeyens(a)jboss.com] update the oracle qa lab username/password
[tom.baeyens(a)jboss.com] update the oracle qa lab username/password
------------------------------------------
[...truncated 2519 lines...]
11:54:51,104 FIN | [ProcessDefinitionImpl] creating new execution for process
'EndMultiple'
11:54:51,107 FIN | [DefaultIdGenerator] generated execution id EndMultiple.57
11:54:51,111 FIN | [TakeTransition] taking ---->(get return code)
11:54:51,117 FIN | [Signal] signalling activity(get return code), signal=500
11:54:51,121 FIN | [TakeTransition] taking (get return code)--500-->(internal server
error)
11:54:51,124 FIN | [Execution] process-instance ends with state ended
11:54:51,129 FIN | [HibernatePvmDbSession] deleting process instance EndMultiple.57
11:54:51,154 SEV | [Db] FIXME: JBPM-2004 1 records left in table JBPM_HIST_ACTINST
11:54:51,157 SEV | [Db] FIXME: JBPM-2004 1 records left in table JBPM_HIST_PROCINST
11:54:51,165 FIN | [BaseJbpmTestCase] === ending testEndMultipleInternalServerError
=============================
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 sec
Running org.jbpm.examples.subprocess.outcomeactivity.SubProcessOutcomeActivityTest
11:54:51,183 FIN | [BaseJbpmTestCase] === starting testSubProcessResultOk
=============================
11:54:51,209 INF | [RepositorySessionImpl] errors during deployment of deployment(48):
xml validation error: Element type "end" must be followed by either attribute
specifications, ">" or "/>". [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: couldn't parse xml document [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: attribute <transition to="nok" doesn't reference an existing
activity name
error: attribute <transition to="reject" doesn't reference an existing
activity name
### EXCEPTION ###########################################
11:54:51,211 INF | [DefaultCommandService] exception while executing command
org.jbpm.pvm.internal.cmd.DeployCmd@1f21112
org.jbpm.api.JbpmException:
xml validation error: Element type "end" must be followed by either attribute
specifications, ">" or "/>". [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: couldn't parse xml document [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: attribute <transition to="nok" doesn't reference an existing
activity name
error: attribute <transition to="reject" doesn't reference an existing
activity name
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:169)
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:142)
at
org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:58)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
at
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
at
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:81)
at
org.jbpm.examples.subprocess.outcomeactivity.SubProcessOutcomeActivityTest.setUp(SubProcessOutcomeActivityTest.java:42)
at junit.framework.TestCase.runBare(TestCase.java:125)
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.GeneratedMethodAccessor4.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: org.jbpm.api.JbpmException
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:165)
... 30 more
Caused by: org.xml.sax.SAXParseException: Element type "end" must be followed by
either attribute specifications, ">" or "/>".
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269)
at org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:451)
at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:387)
at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:157)
at org.jbpm.jpdl.internal.repository.JpdlDeployer.deploy(JpdlDeployer.java:62)
at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:36)
at
org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:55)
... 28 more
### EXCEPTION ###########################################
11:54:51,220 FIN | [BaseJbpmTestCase] === starting testSubProcessResultNok
=============================
11:54:51,237 INF | [RepositorySessionImpl] errors during deployment of deployment(49):
xml validation error: Element type "end" must be followed by either attribute
specifications, ">" or "/>". [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: couldn't parse xml document [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: attribute <transition to="nok" doesn't reference an existing
activity name
error: attribute <transition to="reject" doesn't reference an existing
activity name
### EXCEPTION ###########################################
11:54:51,239 INF | [DefaultCommandService] exception while executing command
org.jbpm.pvm.internal.cmd.DeployCmd@76a247
org.jbpm.api.JbpmException:
xml validation error: Element type "end" must be followed by either attribute
specifications, ">" or "/>". [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: couldn't parse xml document [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: attribute <transition to="nok" doesn't reference an existing
activity name
error: attribute <transition to="reject" doesn't reference an existing
activity name
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:169)
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:142)
at
org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:58)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
at
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
at
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:81)
at
org.jbpm.examples.subprocess.outcomeactivity.SubProcessOutcomeActivityTest.setUp(SubProcessOutcomeActivityTest.java:42)
at junit.framework.TestCase.runBare(TestCase.java:125)
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.GeneratedMethodAccessor4.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: org.jbpm.api.JbpmException
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:165)
... 30 more
Caused by: org.xml.sax.SAXParseException: Element type "end" must be followed by
either attribute specifications, ">" or "/>".
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269)
at org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:451)
at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:387)
at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:157)
at org.jbpm.jpdl.internal.repository.JpdlDeployer.deploy(JpdlDeployer.java:62)
at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:36)
at
org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:55)
... 28 more
### EXCEPTION ###########################################
11:54:51,248 FIN | [BaseJbpmTestCase] === starting testSubProcessResultReject
=============================
11:54:51,266 INF | [RepositorySessionImpl] errors during deployment of deployment(50):
xml validation error: Element type "end" must be followed by either attribute
specifications, ">" or "/>". [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: couldn't parse xml document [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: attribute <transition to="nok" doesn't reference an existing
activity name
error: attribute <transition to="reject" doesn't reference an existing
activity name
### EXCEPTION ###########################################
11:54:51,268 INF | [DefaultCommandService] exception while executing command
org.jbpm.pvm.internal.cmd.DeployCmd@1bf4c80
org.jbpm.api.JbpmException:
xml validation error: Element type "end" must be followed by either attribute
specifications, ">" or "/>". [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: couldn't parse xml document [line=19 column=19 ]:
org.xml.sax.SAXParseException: Element type "end" must be followed by either
attribute specifications, ">" or "/>".
error: attribute <transition to="nok" doesn't reference an existing
activity name
error: attribute <transition to="reject" doesn't reference an existing
activity name
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:169)
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:142)
at
org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:58)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:47)
at org.jbpm.pvm.internal.cmd.DeployCmd.execute(DeployCmd.java:33)
at
org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at
org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
at
org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
at org.jbpm.pvm.internal.repository.DeploymentImpl.deploy(DeploymentImpl.java:81)
at
org.jbpm.examples.subprocess.outcomeactivity.SubProcessOutcomeActivityTest.setUp(SubProcessOutcomeActivityTest.java:42)
at junit.framework.TestCase.runBare(TestCase.java:125)
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.GeneratedMethodAccessor4.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: org.jbpm.api.JbpmException
at org.jbpm.pvm.internal.xml.ProblemList.getJbpmException(ProblemList.java:165)
... 30 more
Caused by: org.xml.sax.SAXParseException: Element type "end" must be followed by
either attribute specifications, ">" or "/>".
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269)
at org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:451)
at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:387)
at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:157)
at org.jbpm.jpdl.internal.repository.JpdlDeployer.deploy(JpdlDeployer.java:62)
at org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:36)
at
org.jbpm.pvm.internal.repository.RepositorySessionImpl.deploy(RepositorySessionImpl.java:55)
... 28 more
### EXCEPTION ###########################################
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.1 sec <<<
FAILURE!
Running org.jbpm.examples.services.ServicesTest
11:54:51,316 INF | [Configuration] configuring from resource: jbpm.hibernate.cfg.xml
11:54:51,318 INF | [Configuration] Configuration resource: jbpm.hibernate.cfg.xml
11:54:51,327 INF | [Configuration] Reading mappings from resource :
jbpm.repository.hbm.xml
11:54:51,355 INF | [Configuration] Reading mappings from resource :
jbpm.execution.hbm.xml
11:54:51,392 INF | [Configuration] Reading mappings from resource : jbpm.history.hbm.xml
11:54:51,413 INF | [Configuration] Reading mappings from resource : jbpm.task.hbm.xml
11:54:51,464 INF | [Configuration] Reading mappings from resource : jbpm.jpdl.hbm.xml
11:54:51,503 INF | [Configuration] Reading mappings from resource : jbpm.identity.hbm.xml
11:54:51,542 INF | [Configuration] Configured SessionFactory: null
11:54:51,568 INF | [DriverManagerConnectionProvider] Using Hibernate built-in connection
pool (not for production use!)
11:54:51,576 INF | [DriverManagerConnectionProvider] Hibernate connection pool size: 20
11:54:51,584 INF | [DriverManagerConnectionProvider] autocommit mode: false
11:54:51,590 INF | [DriverManagerConnectionProvider] using driver: org.hsqldb.jdbcDriver
at URL: jdbc:hsqldb:mem:.
11:54:51,597 INF | [DriverManagerConnectionProvider] connection properties: {user=sa,
password=****}
11:54:51,609 INF | [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
11:54:51,618 INF | [TransactionFactoryFactory] Using default transaction strategy (direct
JDBC transactions)
11:54:51,624 INF | [TransactionManagerLookupFactory] No TransactionManagerLookup
configured (in JTA environment, use of read-write or transactional second-level cache is
not recommended)
11:54:51,627 INF | [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
11:54:51,637 INF | [SessionFactoryImpl] building session factory
11:54:51,828 INF | [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name
configured
11:54:51,834 INF | [SchemaExport] Running hbm2ddl schema export
11:54:51,838 INF | [SchemaExport] exporting generated schema to database
11:54:51,850 INF | [SchemaExport] schema export complete
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.692 sec
Running org.jbpm.examples.task.assignmenthandler.TaskAssignmentHandlerTest
11:54:51,981 FIN | [BaseJbpmTestCase] === starting testTaskAssignmentHandler
=============================
11:54:52,029 FIN | [ProcessDefinitionImpl] creating new execution for process
'TaskAssignmentHandler'
11:54:52,033 FIN | [DefaultIdGenerator] generated execution id TaskAssignmentHandler.1
11:54:52,036 FIN | [TakeTransition] taking -->(review)
11:54:52,038 FIN | [ProcessDefinitionImpl] creating new execution for process
'TaskLifeCycle'
11:54:52,040 FIN | [ScopeInstanceImpl] create variable 'task' in
'process-instance' with value 'Task(null)'
11:54:52,046 FIN | [TaskQueryImpl] select distinct task from
org.jbpm.pvm.internal.task.TaskImpl as task where task.assignee = :assignee order by
task.priority desc
11:54:52,048 FIN | [TaskQueryImpl] setting parameter assignee: johndoe
11:54:52,064 FIN | [HibernatePvmDbSession] deleting process instance
TaskAssignmentHandler.1
11:54:52,070 SEV | [Db] FIXME: JBPM-2004 1 records left in table JBPM_HIST_ACTINST
11:54:52,073 SEV | [Db] FIXME: JBPM-2004 1 records left in table JBPM_HIST_PROCINST
11:54:52,251 FIN | [BaseJbpmTestCase] === ending testTaskAssignmentHandler
=============================
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.289 sec
Results :
Tests in error:
testSubProcessResultOk(org.jbpm.examples.subprocess.outcomeactivity.SubProcessOutcomeActivityTest)
testSubProcessResultNok(org.jbpm.examples.subprocess.outcomeactivity.SubProcessOutcomeActivityTest)
testSubProcessResultReject(org.jbpm.examples.subprocess.outcomeactivity.SubProcessOutcomeActivityTest)
Tests run: 48, Failures: 0, Errors: 3, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
/qa/services/hudson/hudson_workspace/workspace/jbpm4-base/jdk/java15/label/linux/jbpm4/modules/examples/target/surefire-reports
for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 42 seconds
[INFO] Finished at: Mon May 04 11:54:52 EDT 2009
[INFO] Final Memory: 31M/56M
[INFO] ------------------------------------------------------------------------
Recording test results