Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342811

Summary: [Unit Test Failure] kdm.uml2converter.tests : PermGen space, NoSuchFieldError, NPE
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: TechnologiesAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: gdupe, hugo.bruneliere, modisco.web-inbox
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 RC4   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 337440    
Bug Blocks: 344097    
Attachments:
Description Flags
stacktrace none

Description Nicolas Bros CLA 2011-04-14 05:20:08 EDT
Tests in org.eclipse.gmt.modisco.kdm.uml2converter.tests are now failing because of insufficient PermGen space.
Comment 1 Nicolas Bros CLA 2011-04-15 03:27:32 EDT
In addition, the tests are failing on my machine, with "NoSuchFieldError: ruleMemo" on ATL code (that only appears on stderr and is not logged), and a NPE later that probably results from the first error.
Comment 2 Nicolas Bros CLA 2011-04-15 03:27:48 EDT
Created attachment 193326 [details]
stacktrace
Comment 3 Nicolas Bros CLA 2011-04-15 05:52:58 EDT
I disabled org.eclipse.gmt.modisco.kdm.uml2converter.tests.AllTests.class from org.eclipse.gmt.modisco.tests.AllTests, to see if we get the PermGen errors somewhere else.

It can stay disabled until Bug 337440 is solved.
Comment 4 Nicolas Bros CLA 2011-04-28 05:06:02 EDT
I committed org.eclipse.modisco.kdm.uml2converter.tests (migrated for the new discovery framework) in revision 4360.
I disabled it because it won't pass until Bug 342811 is solved.
Comment 5 Nicolas Bros CLA 2011-06-07 07:38:37 EDT
I fixed the new tests in revision 4451, and I increased the memory settings for the launched Eclipse in revision 4453 (128M of PermSize seemed like a lot, but it wasn't enough apparently). I verified with build #738 : all tests passed successfully.
Comment 6 Gregoire Dupe CLA 2011-06-17 09:55:20 EDT
Why are org.eclipse.gmt.modisco.kdm.uml2converter.tests.KdmToUml2WithTracesConverterTest not declared in org.eclipse.gmt.modisco.kdm.uml2converter.tests.AllTests ?

Is there still any problem with KdmToUml2WithTracesConverterTest?
Comment 7 Nicolas Bros CLA 2011-08-12 06:14:53 EDT
I have re-enabled the tests. They pass locally and on Hudson.
Comment 8 Hugo Bruneliere CLA 2011-08-18 08:09:21 EDT
Bug solved.