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

Bug 456318

Summary: Make sure Sirius 3.0 is compatible with Mars
Product: [Modeling] Sirius Reporter: Florian Barbin <florian.barbin>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: esteban.dugueperoux, laurent.redor, maxime.porhel, pierre-charles.david
Version: 2.0.0Keywords: triaged
Target Milestone: 3.0.0   
Hardware: PC   
OS: All   
See Also: https://git.eclipse.org/r/42182
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a0906ee73d6efae746098c47e7ea9e38e5ffdce6
https://git.eclipse.org/r/44731
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=8e180246c4de8e9b37bd7f2f9784beae405ef764
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309912
https://git.eclipse.org/r/48828
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=1d6d503490148eeba14641b37f0ac8b1525688bd
https://git.eclipse.org/r/50861
https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=ac57e5b5136afd8a870f1bf883b1aac6acdea8d8
Whiteboard:
Bug Depends on: 464015    
Bug Blocks:    
Attachments:
Description Flags
JUnit test report
none
SWTBot-Sequence test report
none
SWTBot test report none

Description Florian Barbin CLA 2014-12-30 03:47:47 EST
This task consists in:

* Check and Update the Mars Target-platforms
* Make sure the Eclipse workspace builds with those TPs
* Launch the different test suites and check the reports
Comment 1 Florian Barbin CLA 2014-12-30 05:36:34 EST
A patch to have warning instead of error on unnecessary type check: https://git.eclipse.org/r/#/c/38838/
Comment 2 Florian Barbin CLA 2014-12-30 08:06:12 EST
Created attachment 249659 [details]
JUnit test report
Comment 3 Florian Barbin CLA 2014-12-30 08:07:03 EST
Created attachment 249660 [details]
SWTBot-Sequence test report
Comment 4 Florian Barbin CLA 2014-12-30 08:07:38 EST
Created attachment 249661 [details]
SWTBot test report
Comment 5 Florian Barbin CLA 2015-01-08 11:56:30 EST
This gerrit https://git.eclipse.org/r/#/c/39219/ fixes the SWT error that occurs during the swtbot test execution with Mars TP. 
This error occurs because of the thumbnail (within the Outline view) when changing the diagram zoom. This patch set just close the outline view for the concerned tests. 
I did not reproduce these errors manually (it occurs only in SWTBot).
Comment 6 Pierre-Charles David CLA 2015-01-09 04:45:14 EST
I have just created https://hudson.eclipse.org/sirius/job/sirius.tests-mars/ to the the complete suites with the Mars target platform.
Comment 7 Pierre-Charles David CLA 2015-01-09 09:09:27 EST
I've also added Mars as a platform (in addition to Luna) in the main tests build at sirius.tests-master. It doesn't seem to slow down the jobs as much as I feared, so it is probably a better solution that a separate job as it allows for better comparison between the two platforms.
Comment 8 Florian Barbin CLA 2015-01-15 11:44:33 EST
Failures in PaletteViewManagementTest occur when trying to close the Palette View. SWTBot does not find out the view because of WorkbenchPage.getViewReferences that does not return the Palette view in the list. Indeed, this method calls 			
List<MPlaceholder> placeholders = modelService.findElements(window, null,
					MPlaceholder.class, null, scope);
Which does not return the MPlaceholder corresponding to this view.
Comment 10 Eclipse Genie CLA 2015-03-27 07:14:40 EDT
New Gerrit change created: https://git.eclipse.org/r/44731
Comment 12 Laurent Redor CLA 2015-04-01 04:03:13 EDT
I added a comment on bug 309912 comment 12 for problems with Outline in our tests on Mars TP.
Comment 13 Pierre-Charles David CLA 2015-05-26 10:39:48 EDT
For reference, the following Mars-specific issues were found while validating Sirius 3.0.0:
* Bug 468040 - Empty intermediate shell visible when opening an EEF dialog/wizard under Mars. Apparently caused by https://bugs.eclipse.org/bugs/show_bug.cgi?id=462637#c10
* Bug 467983 - Mouse cursor rendering issue under Linux and GTK3
* Bug 467977 - [GTK3] Invalid focus in property views. Detected using an RC1 build of the platform, was fixed (and confirmed as such) by RC2.
Comment 14 Eclipse Genie CLA 2015-05-28 03:37:46 EDT
New Gerrit change created: https://git.eclipse.org/r/48828
Comment 16 Pierre-Charles David CLA 2015-06-04 04:23:06 EDT
Mars RC3 is done, or almost, so I'm closing this. Any problem we have not seen yet we'll have to deal with for 3.0.0.
Comment 17 Pierre-Charles David CLA 2015-06-24 11:13:23 EDT
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0.
Comment 18 Eclipse Genie CLA 2015-06-25 09:21:01 EDT
New Gerrit change created: https://git.eclipse.org/r/50861