Bug 377418 - Orion build failing using new eclipse.org builds
Summary: Orion build failing using new eclipse.org builds
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Releng (show other bugs)
Version: 0.4   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: 0.5 M2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 377437
Blocks:
  Show dependency tree
 
Reported: 2012-04-23 11:23 EDT by John Arthorne CLA
Modified: 2012-04-25 15:57 EDT (History)
1 user (show)

See Also:


Attachments
Complete workspace log file (196.64 KB, text/plain)
2012-04-23 11:37 EDT, John Arthorne CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2012-04-23 11:23:00 EDT
Something is different about the repositories generated by the new Eclipse project build at eclipse.org. It is causing the Orion build to fail. Last week I tried to move Orion to build against the 4.2-I-builds repo, and was getting that failure. This week the 3.8-I-builds repo had the first build.eclipse.org build promoted and now our main builds fail. I suspect something is missing from the repo in these new builds but I've had trouble tracking down what the problem is.
Comment 1 John Arthorne CLA 2012-04-23 11:27:41 EDT
fetch.plugins:

FetchIUsFromRepo:
     [echo] Fetching IUs from http://download.eclipse.org/eclipse/updates/3.8-I-builds to /shared/eclipse/e4/orion/target/
transformedRepos.

BUILD FAILED
/shared/eclipse/e4/orion/support/org.eclipse.orion.releng/buildWebIDE.xml:15: The following error occurred while executing
 this line:
/opt/public/eclipse/e4/orion/support/org.eclipse.releng.basebuilder_R3_7/plugins/org.eclipse.pde.build_3.7.0.v20110512-132
0/scripts/productBuild/productBuild.xml:38: The following error occurred while executing this line:
/opt/public/eclipse/e4/orion/support/org.eclipse.releng.basebuilder_R3_7/plugins/org.eclipse.pde.build_3.7.0.v20110512-132
0/scripts/build.xml:78: The following error occurred while executing this line:
/opt/public/eclipse/e4/orion/support/org.eclipse.releng.basebuilder_R3_7/plugins/org.eclipse.pde.build_3.7.0.v20110512-132
0/templates/headless-build/customTargets.xml:12: The following error occurred while executing this line:
/shared/eclipse/e4/orion/support/org.eclipse.orion.releng/builder/allElements.xml:16: The following error occurred while e
xecuting this line:
/opt/public/eclipse/e4/orion/support/org.eclipse.releng.basebuilder_R3_7/plugins/org.eclipse.pde.build_3.7.0.v20110512-132
0/scripts/genericTargets.xml:59: The following error occurred while executing this line:
/shared/eclipse/e4/orion/I201204222230/fetch_org.eclipse.pde.build.container.feature.xml:10: The following error occurred while executing this line:

.. snip ...

/shared/eclipse/e4/orion/I201204222230/fetch_org.eclipse.orion.base.feature.xml:40: The following error occurred while exe
cuting this line:
/shared/eclipse/e4/orion/I201204222230/fetch_org.eclipse.orion.base.feature.xml:105: Error occurred while transforming rep
ository: An error occurred while collecting items to be installed.

Total time: 1 minute 7 seconds
An error has occurred. See the log file
/opt/buildhomes/e4Build/workspace/.metadata/.log.
Comment 2 John Arthorne CLA 2012-04-23 11:37:20 EDT
Created attachment 214404 [details]
Complete workspace log file
Comment 3 John Arthorne CLA 2012-04-23 11:41:59 EDT
I don't have a "good" run for comparison so it's hard to know for sure what the root cause is. This bit seems suspicious though, especially since nothing from compare or org.eclipse.ui is included in Orion AFAICT:

!ENTRY org.eclipse.osgi 2 0 2012-04-22 22:31:53.659
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.659
!MESSAGE Bundle update@plugins/org.junit4_4.8.1.v20100525/ was not resolved.
!SUBENTRY 2 org.junit4 2 0 2012-04-22 22:31:53.659
!MESSAGE Missing required bundle org.hamcrest.core_1.1.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.659
!MESSAGE Bundle update@plugins/org.eclipse.compare_3.5.200.I20110525-0800.jar was not resolved.
!SUBENTRY 2 org.eclipse.compare 2 0 2012-04-22 22:31:53.659
!MESSAGE Missing required bundle org.eclipse.ui.views_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.compare 2 0 2012-04-22 22:31:53.659
!MESSAGE Missing required bundle org.eclipse.ui.editors_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.659
!MESSAGE Bundle update@plugins/org.junit_4.8.2.v4_8_2_v20110321-1705/ was not resolved.
!SUBENTRY 2 org.junit 2 0 2012-04-22 22:31:53.659
!MESSAGE Missing required bundle org.hamcrest.core_1.1.0.

!ENTRY org.eclipse.osgi 2 0 2012-04-22 22:31:53.672
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.672
!MESSAGE Bundle org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110511-1359 [35] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.672
!MESSAGE Bundle org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502 [52] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.672
!MESSAGE Bundle org.eclipse.swt.win32.win32.x86_3.7.0.v3735a [81] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.672
!MESSAGE Bundle org.eclipse.compare_3.5.200.I20110525-0800 [90] was not resolved.
!SUBENTRY 2 org.eclipse.compare 2 0 2012-04-22 22:31:53.672
!MESSAGE Missing required bundle org.eclipse.ui.views_[3.2.0,4.0.0).
!SUBENTRY 2 org.eclipse.compare 2 0 2012-04-22 22:31:53.672
!MESSAGE Missing required bundle org.eclipse.ui.editors_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.672
!MESSAGE Bundle org.junit_4.8.2.v4_8_2_v20110321-1705 [96] was not resolved.
!SUBENTRY 2 org.junit 2 0 2012-04-22 22:31:53.672
!MESSAGE Missing required bundle org.hamcrest.core_1.1.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.672
!MESSAGE Bundle org.eclipse.swt.gtk.linux.x86_3.7.0.v3735a [117] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.672
!MESSAGE Bundle org.junit4_4.8.1.v20100525 [130] was not resolved.
!SUBENTRY 2 org.junit4 2 0 2012-04-22 22:31:53.672
!MESSAGE Missing required bundle org.hamcrest.core_1.1.0.
!SUBENTRY 2 org.junit4 2 0 2012-04-22 22:31:53.673
!MESSAGE Missing required bundle org.junit_4.8.1.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-04-22 22:31:53.673
!MESSAGE Bundle org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505 [140] was not resolved.
Comment 4 John Arthorne CLA 2012-04-23 16:41:59 EDT
The fetch script that is failing is trying to fetch org.eclipse.jdt.core.compiler.batch. Although none of the error messages explicitly say why the fetch failed, this is looking like a good candidate.
Comment 5 John Arthorne CLA 2012-04-24 09:25:49 EDT
I can confirm this was due to the missing JDT batch compiler. I pulled that in from an old repository and now the rest of the build runs against the recent platfrom I-builds.
Comment 6 John Arthorne CLA 2012-04-25 15:57:54 EDT
(In reply to comment #5)
> I can confirm this was due to the missing JDT batch compiler. I pulled that in
> from an old repository and now the rest of the build runs against the recent
> platfrom I-builds.

Note the upstream problem has been fixed and I have now removed the workaround in our build:

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=adb6b90c97860e23affb4f5bd23ef7df51411401