Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363964 - Reconciler inconsistent with small sampling
Summary: Reconciler inconsistent with small sampling
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 3.6.2+   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 362692 363963 363965
Blocks:
  Show dependency tree
 
Reported: 2011-11-16 14:25 EST by DJ Houghton CLA
Modified: 2012-03-02 13:37 EST (History)
4 users (show)

See Also:


Attachments
replacement JARs (120.17 KB, application/x-zip-compressed)
2011-11-22 14:13 EST, DJ Houghton CLA
no flags Details
replacement JARs (119.34 KB, application/octet-stream)
2011-12-02 07:10 EST, DJ Houghton CLA
no flags Details
Replacement jars for p2.reconciler and p2.director (119.22 KB, application/zip)
2012-03-01 16:29 EST, John Arthorne CLA
no flags Details
Replacement p2.reconciler for 3.6.2 stream (39.14 KB, application/octet-stream)
2012-03-02 13:36 EST, John Arthorne CLA
no flags Details

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:25:49 EST
Cloned to track release into 3.6.x stream.

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

SAT4J JARs 2.3.0.v20110329

I've got another case of a large data set and we are trying to install a set of bundles (optionally via the reconciler). The resulting solution is inconsistent (different almost every time) and (so far in my tests) it isn't the optimal solution. I've adjusted the conflict timeout value for the solver but there hasn't been any change in the results.

I will put together a JUnit test case to reproduce the problem.
Comment 1 DJ Houghton CLA 2011-11-22 14:13:00 EST
Created attachment 207382 [details]
replacement JARs

Here are some replacement JARs to test with. 

org.eclipse.equinox.p2.director_2.0.3.R36x_v20101117-1018
org.eclipse.equinox.p2.reconciler.dropins_1.1.2.R36x_v20110114
Comment 2 DJ Houghton CLA 2011-12-02 07:10:36 EST
Created attachment 207834 [details]
replacement JARs

New JARs.

org.eclipse.equinox.p2.director_2.0.3.R36x_v20101117-1018.jar
org.eclipse.equinox.p2.reconciler.dropins_1.1.3.R36x_v20110601.jar
Comment 3 DJ Houghton CLA 2012-01-17 14:11:37 EST
Code has been released into 3.8 stream.
Won't change this code in 3.6.x until we see a problem with it, and we get reports of this solution fixing that problem.
Comment 4 John Arthorne CLA 2012-03-01 16:17:28 EST
This is needed in 3.6.2+ after all.
Comment 6 John Arthorne CLA 2012-03-01 16:29:39 EST
Created attachment 211914 [details]
Replacement jars for p2.reconciler and p2.director
Comment 7 John Arthorne CLA 2012-03-02 13:34:24 EST
DJ made two commits for this fix. Here is the second commit for the 3.6 stream:

http://git.eclipse.org/c/equinox/rt.equinox.p2.git/commit/?h=R3_6_maintenance&id=75d06d54058b7b2dfeec0ca13d3b1829214d72f4
Comment 8 John Arthorne CLA 2012-03-02 13:36:22 EST
Created attachment 211995 [details]
Replacement p2.reconciler for 3.6.2 stream