Bug 483988 - Activation of the Eclipse platform project tests during the Gerrit build validation in Tycho
Summary: Activation of the Eclipse platform project tests during the Gerrit build vali...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: feep
Depends on:
Blocks:
 
Reported: 2015-12-09 04:38 EST by Lars Vogel CLA
Modified: 2016-11-22 03:31 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2015-12-09 04:38:12 EST
Currently the Eclipse platform project uses an after burner approach for running a significant part of their tests, i.e., we build first the Eclipse SDK and afterwards we run our tests. A small part of the platform tests have already been configured to run during the Gerrit build, but not all.

Unfortunately, activating the remaining tests turned out to be significant effort given the number of tests for platform (I have not counted them but the complete SDK test suite is > 80 000 test executions).  Lots of these tests run successfully, if started via Apache Ant or the Eclipse IDE, but not if started via Tycho. 

Detailed analysis is required to identify the dependencies of these failing tests and fixing the underlying problem. This detailed error analysis seems beyond the capacity of the current development team, even though the platform team set this as goal for Eclipse 4.6 M3, it could not be accomplished.

An FEEP item could help to get the focus on this work on this and provide patches for activating the tests. Acceptance criteria would be that the tests of a subproject are running successfully via Tycho. This would involve an analysis of at least the test projects in the following Git repositories:

eclipse.platform.ui
eclipse.platform.runtime
eclipse.platform.ui
eclipse.pde.ui
eclipse.platform.text
eclipse.platform.resources
eclipse.platform.compare

Also the tests for debug and ant should be reviewed in this effort. Not all test may be activated during the Tycho build, e.g.., the cvs tests require access to special hardware during their run, in this case they should be deactivated during the Tycho build.

This item was discussed with Dani Megert the Platform project lead. We think this item will add significant value for the committer workflow and therefore result in a higher quality and faster development cycles in the Eclipse platform.

See Bug 474328 for the aggregator bug for this in platform.
Comment 1 Dani Megert CLA 2015-12-09 06:05:52 EST
> eclipse.platform.text

The tests for that repo have been enabled a while ago.
Comment 2 Lars Vogel CLA 2016-09-30 08:30:29 EDT
Fixed, or handled by different bugs.