AnsweredAssumed Answered

activiti-engine maven build failure

Question asked by jignesh11 on Sep 9, 2013
Latest reply on Sep 13, 2013 by trademak
Hi I have tried to build activiti-engine using maven. But I got the below errors. I am alos attaching following files
org.activiti.standalone.history.FullHistoryTest
org.activiti.standalone.parsing.ChineseConverterTest
org.activiti.standalone.parsing.CustomListenerFactoryTest

Please help me to solve this problem.

I can see the error in one of the log file is :
<error message="Java heap space" type="java.lang.OutOfMemoryError">java.lang.OutOfMemoryError: Java heap space

Please let me know do I have to do any setting in activiti-engine project to solve this problem?

****************************************************************************************************************************

Running org.activiti.standalone.history.FullHistoryTest
Tests run: 24, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 227.827 sec <<< FAILURE!
Running org.activiti.standalone.idgenerator.UuidGeneratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.157 sec
Running org.activiti.standalone.initialization.NoDbConnectionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.288 sec
Running org.activiti.standalone.initialization.ProcessEngineInitializationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.858 sec
Running org.activiti.standalone.initialization.ProcessEnginesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.303 sec
Running org.activiti.standalone.interceptor.CommandContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
Running org.activiti.standalone.jpa.JPAVariableTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.965 sec
Running org.activiti.standalone.parsing.BPMNParseHandlerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.305 sec
Running org.activiti.standalone.parsing.ChineseConverterTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.315 sec <<< FAILURE!
Running org.activiti.standalone.parsing.CustomActivityBehaviorFactoryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.374 sec
Running org.activiti.standalone.parsing.CustomDefaultBpmnParseHandlerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.353 sec
Running org.activiti.standalone.parsing.CustomListenerFactoryTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.321 sec <<< FAILURE!
Running org.activiti.standalone.rules.RulesDeployerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.765 sec
Running org.activiti.standalone.scripting.ScriptBeanAccessTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.339 sec
Running org.activiti.standalone.testing.ActivitiRuleJunit4Test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
Running org.activiti.standalone.testing.ActivitiTestCaseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec

Results :

Tests in error:
  testVariableUpdates(org.activiti.standalone.history.FullHistoryTest)
  testHistoricProcessInstanceVariableValueEquals(org.activiti.standalone.history.FullHistoryTest)
  testHistoricDetailQueryMixed(org.activiti.standalone.history.FullHistoryTest)
  testHistoricVariableInstanceQueryTaskVariables(org.activiti.standalone.history.FullHistoryTest)
  testHistoricFormPropertySorting(org.activiti.standalone.history.FullHistoryTest)
  testHistoricTaskInstanceQueryTaskVariableValueEquals(org.activiti.standalone.history.FullHistoryTest)
  testDeleteRunningHistoricProcessInstance(org.activiti.standalone.history.FullHistoryTest)
  testHistoricVariableInstanceQuery(org.activiti.standalone.history.FullHistoryTest)
  testSetVariableOnProcessInstanceWithTimer(org.activiti.standalone.history.FullHistoryTest)
  testHistoricTaskInstanceQueryProcessVariableValueEquals(org.activiti.standalone.history.FullHistoryTest)
  testHistoricVariableUpdatesAllTypes(org.activiti.standalone.history.FullHistoryTest)
  testConvertXMLToModel(org.activiti.standalone.parsing.ChineseConverterTest)
  testCustomListenerFactory(org.activiti.standalone.parsing.CustomListenerFactoryTest)

Tests run: 1122, Failures: 0, Errors: 13, Skipped: 0

[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 6:02.810s
[INFO] Finished at: Mon Sep 09 14:17:15 BST 2013
[INFO] Final Memory: 19M/58M
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.7.1:test (default-test) on project activiti-engine: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Workspace\activiti-engine\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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


Outcomes