Bug 2839

Summary: Eclipse plug-in headless build may randomly fail on AB or people's local machine
Product: [Yocto Project Subprojects] Eclipse Plugin Reporter: Jessica <jessica.zhang>
Component: eclipse-pluginAssignee: Michael Halstead <mhalstead>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: elizabeth.flanagan, laurentiu.serban, mhalstead, nitin.a.kamble, song.liu, yp.ep.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard: (autobuilder)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 2851    

Description Jessica 2012-07-26 22:23:12 UTC
This is due to extremly unstable upstream when we setup the build environment for depending plug-ins.  We need to setup our own mirror to ensure the build stability
Comment 1 Jessica 2012-07-26 22:30:38 UTC
Failure for this kind of issue is:

generateScript:
[eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
[eclipse.buildScript] Bundle org.yocto.sdk.ide:
[eclipse.buildScript] 	Missing required plug-in org.eclipse.cdt.launch.remote_2.4.0.
[eclipse.buildScript] Bundle org.yocto.sdk.remotetools:
[eclipse.buildScript] 	Missing required plug-in org.yocto.sdk.ide_0.0.0.
[eclipse.buildScript] Bundle org.eclipse.cdt.dsf.gdb:
[eclipse.buildScript] 	Missing required plug-in org.eclipse.cdt.dsf_0.0.0.
[eclipse.buildScript] Bundle org.eclipse.cdt.dsf.gdb.ui:
[eclipse.buildScript] 	Missing required plug-in org.eclipse.cdt.dsf_0.0.0.
[eclipse.buildScript] 	Missing required plug-in org.eclipse.cdt.dsf.ui_0.0.0.
[eclipse.buildScript] 	Missing required plug-in org.eclipse.cdt.dsf.gdb_0.0.0.
[eclipse.buildScript] Bundle org.eclipse.cdt.dsf.ui:
[eclipse.buildScript] 	Missing required plug-in org.eclipse.cdt.dsf_2.0.0.
[eclipse.buildScript] Bundle org.eclipse.cdt.launch.remote:
[eclipse.buildScript] 	Missing required plug-in org.eclipse.cdt.dsf.gdb_3.0.0.
[eclipse.buildScript] 	Missing required plug-in org.eclipse.cdt.dsf.gdb.ui_2.1.0.
[eclipse.buildScript] 	Missing required plug-in org.eclipse.cdt.dsf_2.1.0.

BUILD FAILED
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/eclipse-plugin/build/eclipse-plugin/scripts/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/scripts/build.xml:35: The following error occurred while executing this line:
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/eclipse-plugin/build/eclipse-plugin/scripts/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/scripts/build.xml:91: The following error occurred while executing this line:
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/eclipse-plugin/build/eclipse-plugin/scripts/master_build_201207262017/src/features/org.yocto.sdk.headless.build/customTargets.xml:12: The following error occurred while executing this line:
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/eclipse-plugin/build/eclipse-plugin/scripts/eclipse-4.2-linux-gtk-x86_64/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/templates/headless-build/allElements.xml:16: The following error occurred while executing this line:
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/eclipse-plugin/build/eclipse-plugin/scripts/eclipse-4.2-linux-gtk-x86_64/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/scripts/genericTargets.xml:111: Processing inclusion from feature org.yocto.sdk: Bundle org.yocto.sdk.ide_1.2.0.201207262020 failed to resolve.:
	Missing required plug-in org.eclipse.cdt.launch.remote_2.4.0.


Total time: 1 second
Comment 2 Nitin Kamble 2012-07-27 07:04:51 UTC
Still happening many times on autobuilder:

http://autobuilder.yoctoproject.org:8010/builders/eclipse-plugin/builds/460/steps/shell_9/logs/stdio
Comment 3 Beth Flanagan 2012-08-20 23:00:20 UTC
I've set up a mirror of the eclipse SDK site and sent a patch to yocto with an update to setup.py that allows us to pull from downloads.yoctoproject.org

Michael, we should probably consider mirroring the eclipse site or at least be prepared to support Jessica when she needs a new SDK on the main DL site.
Comment 4 Michael Halstead 2012-08-20 23:12:50 UTC
I can set up automated mirroring after I check on their policies. Do we only utilize stable builds or do we need to mirror all of them?

Also which architectures are used? x86_64 only?
Comment 5 Jessica 2012-09-14 14:51:22 UTC
We have the mirror up now
Comment 6 Laurentiu Serban 2012-09-25 12:39:27 UTC
Verified in commit id f3845f9178cfa318f9196325a46d73d54b352869