Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027112
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2014-07-17 13:532014-08-08 18:53
ReportershuehnerView Statuspublic 
Assigned Tomtaal 
PriorityimmediateResolutionfixedFixed in Version3.0PR14Q4
StatusclosedFix in branchFixed in SCM revision7a248f55faf5
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027112: DatasetExportTest.testIncludeAllPlusChildren fails with oom on bigger c_order (+children)

DescriptionRunning that test against a db having more orders (+childrens) fails with oom (depening on heap size).

Just running that test against whitevalley data as recently added to retail-ci is sufficient to trigger the problem.

Checking test code shows that it unconditionally exports all of c_order + all children to xml which can grow indefinitely depending on data-size.

As the test seems to only check structure of the xml it should be possible to change the test to only export smaller datasets.

Possible options
1.) keep c_order table but add whereclause. Problem is that whereclause needs to work with both f&b + also whitevalley data
2.) Change test to use other table garanteed to have much smaller/fixed size
Steps To Reproduceant run.all.tests against retail db with heap size -Xmx512M for ant_opts and 1G for catalina_opts
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0068740)
hgbot (developer)
2014-07-21 01:54

Repository: erp/devel/pi
Changeset: 7a248f55faf504a29fab3c19aa19110321673249
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Jul 21 01:53:37 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7a248f55faf504a29fab3c19aa19110321673249 [^]

Fixes issue 27112: DatasetExportTest.testIncludeAllPlusChildren fails with oom on bigger c_order (+children)

---
M src-test/org/openbravo/test/xml/DatasetExportTest.java
---
(0068773)
hgbot (developer)
2014-07-22 00:25

Repository: erp/devel/pi
Changeset: c710d0280ce230bf85fd7d6b90de21250e56d506
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Jul 22 00:24:51 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c710d0280ce230bf85fd7d6b90de21250e56d506 [^]

Related to issue 27112: added code comment

---
M src-test/org/openbravo/test/xml/DatasetExportTest.java
---
(0068993)
shankarb (reporter)
2014-07-31 06:28

Code reviewed and verified in pi changeset be933e11432c.
(0069188)
hudsonbot (developer)
2014-08-08 18:53

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/4450016dee64 [^]
Maturity status: Test
(0069198)
hudsonbot (developer)
2014-08-08 18:53

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/4450016dee64 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-07-17 13:53 shuehner New Issue
2014-07-17 13:53 shuehner Assigned To => mtaal
2014-07-17 13:53 shuehner Modules => Core
2014-07-17 13:53 shuehner Triggers an Emergency Pack => No
2014-07-21 01:54 hgbot Checkin
2014-07-21 01:54 hgbot Note Added: 0068740
2014-07-21 01:54 hgbot Status new => resolved
2014-07-21 01:54 hgbot Resolution open => fixed
2014-07-21 01:54 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7a248f55faf504a29fab3c19aa19110321673249 [^]
2014-07-22 00:25 hgbot Checkin
2014-07-22 00:25 hgbot Note Added: 0068773
2014-07-29 08:47 alostale Review Assigned To => shankarb
2014-07-31 06:28 shankarb Note Added: 0068993
2014-07-31 06:28 shankarb Status resolved => closed
2014-07-31 06:28 shankarb Fixed in Version => 3.0PR14Q4
2014-08-08 18:53 hudsonbot Checkin
2014-08-08 18:53 hudsonbot Note Added: 0069188
2014-08-08 18:53 hudsonbot Checkin
2014-08-08 18:53 hudsonbot Note Added: 0069198


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker