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

Bug 363965

Summary: [planner] Resolution is not stable
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: DJ Houghton <dj.houghton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: irbull, leberre, pascal
Version: 3.6   
Target Milestone: 3.6.2+   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 323333, 323340    
Bug Blocks: 363964    

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.