Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315059 - [releng] TM Athena tests fail due to WinCE
Summary: [releng] TM Athena tests fail due to WinCE
Status: CLOSED WONTFIX
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.3.1   Edit
Assignee: Anna Dushistova CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on: 315239
Blocks: 302196
  Show dependency tree
 
Reported: 2010-05-31 07:14 EDT by Martin Oberhuber CLA
Modified: 2012-01-05 07:08 EST (History)
0 users

See Also:


Attachments
patch to build wince without source. (2.85 KB, patch)
2010-05-31 16:33 EDT, Martin Oberhuber CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2010-05-31 07:14:04 EDT
+++ This bug was initially created as a clone of Bug #302196 +++

Athena tests fail because they cannot install the WinCE feature on Linux.

Not being able to install is expected, since WinCE only works on Windows. The TM Athena Build must complete without failure, even if it cannot test WinCE.
Comment 1 Martin Oberhuber CLA 2010-05-31 16:33:36 EDT
Created attachment 170591 [details]
patch to build wince without source.

Attached patch builds wince without source, and specifies the RAPI bundle's Eclipse-PlatformFilter in the feature.xml. This is prompted by the statement on
bug 312011 comment 12 that it can cause issues when the bundle-filter is more stringent than the feature-filter.
Comment 2 Martin Oberhuber CLA 2010-06-01 07:49:46 EDT
I investigated a little, and I think the problem is this:

1. For build purposes, a single "master feature" is created to hold EVERYTHING
   a product is building. In case of TM, this includes the WinCE feature which
   is (only works on Windows), and the Local.Terminal feature (works everywhere
   except on Windows).
   So in some sense, it is impossible to satisfy all requirements of the 
   TM master feature.

2. The master feature is translated into a master repository.

3. For installing the repo for testing, Athena uses the p2.director application.
   But p2.director must always install into ONE given os/ws/arch combination.
   This fails on the TM-master feature since its os/ws/arch combination is
   unsatisfiable in its completeness.

So right now, it is inconsistent that Athena can (and has to) *build* a feature with unsatisfiable dependencies, but it cannot *install* that feature afterwards. The single master feature is required today for signing etc.

Proposed solution 1:
--------------------
Instead of using p2.director to install for testing, Athena should optionally be capable of using the p2 "repo2runnable" task and have the runnable dropped into dropins. That way, the p2 reconciler works on dropins to pick out those items from the master feature that are actually runnable on the test platform - and there is no need any more for using/installing the single master zip.

Proposed solution 2:
--------------------
Rather than automgically installing the master feature into the target for testing, Athena should optionally be capable to accept a list of IU's to install from the repo. That way, rather than installing the inconsistent master feature, we could specify a set of consistent child features to test.
Comment 3 Martin Oberhuber CLA 2010-06-02 06:03:34 EDT
This is not relevant for TM Helios any more since we cannot adopt Athena for Helios. See bug 302196 comment 5 for details.
Comment 4 Martin Oberhuber CLA 2011-05-31 17:48:12 EDT
Bulk moving 3.3 deferred items to 3.3.1
Comment 5 Anna Dushistova CLA 2012-01-05 07:08:13 EST
Athena project has been terminated.