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

Bug 311658

Summary: Build is not using required repository contents
Product: Community Reporter: Ed Willink <ed>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: major    
Priority: P3 CC: alexander.igdalov, milesparker
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:

Description Ed Willink CLA 2010-05-05 01:53:43 EDT
After some nominally benign CVS changes 
https://build.eclipse.org/hudson/job/cbi-mdt-ocl-3.0/202/console
fails. After unrolling CVS changes, It still fails.

A diff of 205 and 201 shows (build data normalised to 201010101010 to reduce diffs.)

   [p2.dir] !MESSAGE No repository found at file:/opt/users/hudsonbuild/.hudson/jobs/cbi-mdt-ocl-3.0/workspace/build/N201010101010/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile.
   [p2.dir] Installing org.eclipse.emf.feature.group 2.6.0.v20100503-1751.
   [p2.dir] Installing org.eclipse.xsd.feature.group 2.6.0.v20100429-1251.
   [p2.dir] Installing org.eclipse.uml2.feature.group 3.1.0.v201005031530.
   [p2.dir] Installing org.eclipse.xpand.feature.group 1.0.0.v201005041053.
   [p2.dir] Installing org.eclipse.xtend.feature.group 1.0.0.v201005041053.
   [p2.dir] Installing org.eclipse.xtext.runtime.feature.group 1.0.0.v201005041135.
   [p2.dir] Installing org.eclipse.xtext.ui.feature.group 1.0.0.v201005041135.
   [p2.dir] Installation failed.

and

   [p2.dir] !MESSAGE No repository found at file:/opt/users/hudsonbuild/.hudson/jobs/cbi-mdt-ocl-3.0/workspace/build/N201010101010/eclipse/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile.
   [p2.dir] Installing org.eclipse.emf.feature.group 2.6.0.v20100503-1751.
   [p2.dir] Installing org.eclipse.xsd.feature.group 2.6.0.v20100429-1251.
   [p2.dir] Installing org.eclipse.uml2.feature.group 3.1.0.v201005031530.
   [p2.dir] Installing org.eclipse.xpand.feature.group 1.0.0.v201003150948.
   [p2.dir] Installing org.eclipse.xtend.feature.group 1.0.0.v201003150948.
   [p2.dir] Installing org.eclipse.xtext.runtime.feature.group 1.0.0.v201003151027.
   [p2.dir] Installing org.eclipse.xtext.ui.feature.group 1.0.0.v201003151027.
   [p2.dir] Operation completed in 93832 ms.

The failing build has picked up xpand.feature.group 1.0.0.v201005041053, yet both show


unzipFile:
    [unzip] Expanding: /opt/users/hudsonbuild/.hudson/jobs/cbi-mdt-ocl-3.0/workspace/build/downloads/m2t-xpand-Update-1.0.0M6.zip into /opt/users/hudsonbuild/.hudson/jobs/cbi-mdt-ocl-3.0/workspace/build/N201010101010/eclipse/p2repoZipsTmp/m2t-xpand-Update-1.0.0M6.zip_

untarFile:
      [zip] Building zip: /opt/users/hudsonbuild/.hudson/jobs/cbi-mdt-ocl-3.0/workspace/build/N201010101010/eclipse/p2repoZipsTmp/m2t-xpand-Update-1.0.0M6.zip
   [delete] Deleting directory /opt/users/hudsonbuild/.hudson/jobs/cbi-mdt-ocl-3.0/workspace/build/N201010101010/eclipse/p2repoZipsTmp/m2t-xpand-Update-1.0.0M6.zip_

and unzipping verifies that xpand M7 has not been overwritten on top of M6 so how is a post M6 contribution getting into a build that uses an M6 ZIP?
Comment 1 Ed Willink CLA 2010-05-05 02:41:36 EDT
Oops! Just noticed an amorphous http://download.itemis.com/updates/milestones in the repo list.
Comment 2 Ed Willink CLA 2010-05-05 05:03:44 EDT
Mmm. http://download.itemis.com/updates/milestones only contains de... plugins so cannot explain where the unexpected M7 contrtibutions came from.

Bug 311662 may explain why the build fails with the M7 contribution, but how did they get into the build?
Comment 3 Ed Willink CLA 2010-05-05 17:49:10 EDT
http://download.itemis.com/updates/milestones si a composite Update Site whose use in a build subverts its predictability.