Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 247332 - web ui for eclipse builds
Summary: web ui for eclipse builds
Status: RESOLVED DUPLICATE of bug 325997
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M5   Edit
Assignee: Kim Moir CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 61897 255817 (view as bug list)
Depends on: 261388 285198 285333 286124 286858 287611 289783 297278
Blocks: 261389 288560
  Show dependency tree
 
Reported: 2008-09-15 14:55 EDT by Kim Moir CLA
Modified: 2011-01-07 17:31 EST (History)
4 users (show)

See Also:


Attachments
initial patch, there will be many more :-) (14.05 KB, patch)
2009-07-29 14:53 EDT, Kim Moir CLA
no flags Details | Diff
add ant variable to indicate if build is running on hudson (5.52 KB, patch)
2009-08-05 15:29 EDT, Kim Moir CLA
no flags Details | Diff
patch to change director invocation from exe to launcher jar (1.89 KB, patch)
2009-08-06 13:12 EDT, Kim Moir CLA
no flags Details | Diff
director patch (2.02 KB, patch)
2009-08-18 12:09 EDT, Kim Moir CLA
no flags Details | Diff
patch to use basebuilder class when updating test results page (10.19 KB, patch)
2009-09-03 17:06 EDT, Kim Moir CLA
no flags Details | Diff
patch to change use http baseline with hudson (3.27 KB, patch)
2009-09-17 15:19 EDT, Kim Moir CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Moir CLA 2008-09-15 14:55:14 EDT
Invoke builds from web ui authenticated by eclipse committer rights with parameters - maintenance build vs i-builds, tests or not etc.
Comment 1 Kim Moir CLA 2009-01-06 16:54:16 EST
I've been testing hudson (https://hudson.dev.java.net/) for the past few days on our local build machine.  It seems to be working quite well.  I had to change the build so the bootstrap script it fetched from cvs instead of just invoking the script on the filesystem. It also has facilities to run parse the JUnit results and provide graphical history of test results which could be useful.  

Other changes that are required.
-change generated hudson build id to match the convention that we use for our builds
-move bootstrap bundle to eclipse.org cvs
-add authentication to access hudson

The long term plan is to be able to move to the hudson server on build.eclipse.org once all the details have been worked out. See bug 257265.
Comment 2 Kim Moir CLA 2009-07-29 14:53:56 EDT
Created attachment 142929 [details]
initial patch, there will be many more :-)
Comment 3 Kim Moir CLA 2009-07-31 10:36:49 EDT
*** Bug 61897 has been marked as a duplicate of this bug. ***
Comment 4 Kim Moir CLA 2009-08-05 15:29:08 EDT
Created attachment 143549 [details]
add ant variable to indicate if build is running on hudson
Comment 5 Kim Moir CLA 2009-08-06 13:12:52 EDT
Created attachment 143692 [details]
patch to change director invocation from exe to launcher jar
Comment 6 Kim Moir CLA 2009-08-07 15:43:08 EDT
The patch in comment #5 is bogus, the director can't be in a forked vm, this results in an IllegalStateException with a message "The profile is currently in use".
Comment 7 Kim Moir CLA 2009-08-11 14:26:48 EDT
Other issues to fix:

-move properties files that are used by compareMaps to a common location that's writeable by the hudson build user.
-change rsync order to push directly to download.eclipse.org

Comment 8 Kim Moir CLA 2009-08-14 10:17:02 EDT
*** Bug 255817 has been marked as a duplicate of this bug. ***
Comment 9 Kim Moir CLA 2009-08-18 12:09:44 EDT
Created attachment 144844 [details]
director patch
Comment 10 Kim Moir CLA 2009-09-03 17:06:13 EDT
Created attachment 146455 [details]
patch to use basebuilder class when updating test results page
Comment 11 Kim Moir CLA 2009-09-10 21:44:45 EDT
There is a a successful test build here. I didn't sign or pack it since I was testing it, and this slows things down.

https://build.eclipse.org/hudson/job/eclipse-equinox-test/59/

Other tasks to fix
-need to have a separate cronjob to copy the artifacts, php etc to download directory on download.eclipse.org. The hudson user doesn't have commit rights to any of these directories.
-need to copy the existing p2 repo over to use as a baseline.  Currently, it just creates a new one.
-need to figure out how to tag each build so it can be reproduced. Again, this is because the hudson user doesn't have commit rights.
-After this is implemented, I can look at the changing the way the tests are run so that they are run in the cloud.
-Also, it would be good to make the build more modular and chain the build together.  For instance, I could build the master feature and make a repo. That may be sufficient for some people to test their bundles.  Others may want to try build the SDK

-I added the eclipse-all group to this test job so other committers could try it out for test builds.  It can be invoked here....

https://build.eclipse.org/hudson/job/eclipse-equinox-test/
Comment 12 Kim Moir CLA 2009-09-17 15:19:02 EDT
Created attachment 147478 [details]
patch to change use http baseline with hudson
Comment 13 Kim Moir CLA 2009-09-17 17:34:19 EDT
I just ran an unsuccessful test build with signing and packing enabled on hudson. It seems that the pack step is failing silently and thus the metadata is not updated with the correct artifact sizes post packing.  Investigating....
Comment 14 Kim Moir CLA 2009-10-07 09:44:48 EDT
Eclipse and Equinox committers can run tests builds on build.eclipse.org. (eclipse-all group has permissions to start a build)

https://build.eclipse.org/hudson/job/eclipse-equinox-test/ 

Login is your committer id and password. 

This test build isn't replicated to download.eclipse.org.  You'll see any errors in the console log on the hudson build page for this build type. This build doesn't run tests, this is being investigated in bug 247320.
Comment 15 Kim Moir CLA 2009-10-09 15:29:00 EDT
It looks like the compile logs view in Hudson isn't generated until the build completes successfully. We don't publish bundles with compile errors to the repo. Thus the build will fail when the director is run and the compile errors won't be reported without digging through the build files.  It would be good to email the compile errors to specified recipients.  It doesn't look like the hudson's ext email support provides this functionality at this time.
Comment 16 Andrew Overholt CLA 2009-10-30 13:05:47 EDT
You can watch the logs as the build proceeds.
Comment 17 Kim Moir CLA 2011-01-07 17:27:49 EST
I think this can be closed since eclipse Hudson builds not have this restriction.
Comment 18 Kim Moir CLA 2011-01-07 17:31:04 EST
Previous comment was for another bug.  I think this can be closed, consolidating the bugs for this issue in the 3.7 plan item, bug 325997.

*** This bug has been marked as a duplicate of bug 325997 ***