Community
Participate
Working Groups
There are some Random junit failures on Hudson on two tests : AssertionFailedError -> KdmToUml2ConverterTest.java:119 AssertionFailedError -> KdmToUml2ConverterTest.java:200
Created attachment 183746 [details] two .uml files for comparison and .emfdiff generated I attached some models for which some hudson test failed (basicKdmToUmlConverter() method) : - BasicConversion.uml.ref.uml : uml reference model extracted in junit workspace (save temporary forced in code) - BasicConversion.uml : uml output model from ATL transfo - BasicConversion.uml.emfdiff : result of comparison -> both .uml and .uml.ref.uml files are identical. Differences described in .emfdiff do not exit.
Created attachment 183747 [details] Another Hudson stack rare failure Here is another issue which happende one time on hudson : emf compare encountered a concurrentModificationException when iterating on Resource.getAllContents(..)
Looking at the two results described in two last comments, i suspect some trouble with the Resource instance provided at the end of ATL transformation. I commit some temporary kind of workaround (rev 3617) : reread the uml output resource from disk before using emf compare.
Workaround seems to work (several build on hduson wihtout problem). I cannot fill a bug in ATL bugzilla (or EMF Compare) -> cannot give steps to reproduce the issue. => ask on M2M forum about that problem. => commit the workaround as a solution (rev 3623)
Bug fixed by a workaround.