Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363965 - [planner] Resolution is not stable
Summary: [planner] Resolution is not stable
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.6.2+   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 323333 323340
Blocks: 363964
  Show dependency tree
 
Reported: 2011-11-16 14:28 EST by DJ Houghton CLA
Modified: 2011-11-16 16:53 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 DJ Houghton CLA 2011-11-16 14:28:02 EST
Cloned to track potential release into 3.6.x stream.
Note: need to check actual code changes between master and bug 323322. Might not need to change anything here.

+++ This bug was initially created as a clone of Bug #323340 +++

+++ This bug was initially created as a clone of Bug #323322 +++

While investigating what is going wrong in shared installs, I came across the following issue that is probably the root cause of the problem for shared installs. 

The resolution is not stable when being re-run. To be more precise, when I try to install an IU in the context of some repositories, then cause a re-resolution of the resulting profile, IUs are being dropped.
Even though this looks not important, because internally p2 re-resolves the current profile to generate the attachment of IUs, this ends up being a key issue.

To show the problem, I have released a test case called EPPPackageInstallStability in the 3.6 branch. At this point I have not found a way to solve this problem.