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

Bug 417788

Summary: HIPP for Tycho
Product: Community Reporter: Mickael Istria <mistria>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jan.sievers, t-oberlies, thanh.ha, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 403843    
Bug Blocks:    

Description Mickael Istria CLA 2013-09-23 04:19:31 EDT
Tycho project would like to have its own Hudson instance to host the builds.
Here is a list of jobs to import:
* From Hudson-Sandbox
** tycho.nexus-gerrit
** tycho.extras-gerrit
** tycho-gerrit
* From Hudson
** tycho-nightly
** tycho.nexus-nightly
** tycho-its-win-nightly
** tycho-its-linux-nightly

From this HIPP instance, jobs will need the following permissions:
* Sign
* push stuff to download.eclipse.org
* push stuff to Eclipse Nexus repositories
* push reports to Sonar
Comment 1 Jan Sievers CLA 2013-09-23 04:36:28 EDT
+1
Comment 2 Thanh Ha CLA 2013-09-24 10:55:39 EDT
I opened a bug 417930 regarding updating our Hudson deployment image to the latest 3.1.0. I was wondering if Tycho would be interested in trying the latest 3.1.0 image once I create it?
Comment 3 Jan Sievers CLA 2013-09-24 11:01:17 EDT
(In reply to Thanh Ha from comment #2)
> I opened a bug 417930 regarding updating our Hudson deployment image to the
> latest 3.1.0. I was wondering if Tycho would be interested in trying the
> latest 3.1.0 image once I create it?

not sure. we're not looking for bleeding edge here but for stability. 
We'd go with whatever the current "stable" version if hudson is.
Comment 4 Thanh Ha CLA 2013-09-24 11:04:55 EDT
(In reply to Jan Sievers from comment #3)
> (In reply to Thanh Ha from comment #2)
> > I opened a bug 417930 regarding updating our Hudson deployment image to the
> > latest 3.1.0. I was wondering if Tycho would be interested in trying the
> > latest 3.1.0 image once I create it?
> 
> not sure. we're not looking for bleeding edge here but for stability. 
> We'd go with whatever the current "stable" version if hudson is.

3.1.0 is the latest stable version and looks like it was released 4 days ago on Sept. 20th, 2013.


The current HIPP images are of 3.0.1.


http://www.eclipse.org/hudson/changelog.php
Comment 5 Thanh Ha CLA 2013-09-24 11:05:50 EDT
(In reply to Jan Sievers from comment #3)
> (In reply to Thanh Ha from comment #2)
> > I opened a bug 417930 regarding updating our Hudson deployment image to the
> > latest 3.1.0. I was wondering if Tycho would be interested in trying the
> > latest 3.1.0 image once I create it?
> 
> not sure. we're not looking for bleeding edge here but for stability. 
> We'd go with whatever the current "stable" version if hudson is.

In this case maybe I'll deploy the current image 3.0.1 image for you and we can upgrade at a later point in time if you decide you'd like the newer version.
Comment 6 Thanh Ha CLA 2013-09-24 15:05:43 EDT
I've setup the Tycho HIPP instance at https://hudson.eclipse.org/tycho/

Commmitters should now be able to login and create jobs. To login you will need to use your _email_ address in place of the username and your usual eclipse.org password.

I also installed the Gerrit and Sonar plugins and configured them. If there is additional plugins you need please let me know.

I've also added the HIPP user to the Tycho group so it should have access to the downloads area as well.



I will migrate the jobs from the shared instance next.
Comment 7 Thanh Ha CLA 2013-09-24 15:18:52 EDT
(In reply to Mickael Istria from comment #0)
> * From Hudson
> ** tycho-nightly
> ** tycho.nexus-nightly
> ** tycho-its-win-nightly
> ** tycho-its-linux-nightly
> 

I've migrated all the jobs from the Hudson shared instance with the exception of the "tycho-its-win-nightly" which as far as I can tell requires the Windows slave. Unfortunately HIPP instances will not have access to the windows slave so you will still need to depend on the Shared instance if you need Windows or Mac slave access.


Also for the 3 jobs I did import I have disabled them on the Shared instance since they are now enabled in the HIPP instance. To be clear these jobs:

* tycho-nightly
* tycho.nexus-nightly
* tycho-its-linux-nightly
Comment 8 Thanh Ha CLA 2013-09-24 15:28:59 EDT
(In reply to Mickael Istria from comment #0)
> Tycho project would like to have its own Hudson instance to host the builds.
> Here is a list of jobs to import:
> * From Hudson-Sandbox
> ** tycho.nexus-gerrit
> ** tycho.extras-gerrit
> ** tycho-gerrit


I've also imported the Sandbox jobs. I think this completes the requests in this bug. Feel free to reopen if anything needs to be changed.
Comment 9 Jan Sievers CLA 2013-09-25 03:14:38 EDT
thanks for the initial setup.

I can't start any builds on
https://hudson.eclipse.org/tycho/

However it seems there are no build processors assigned to execute the scheduled builds so they hang in the build queue seemingly forever.
Comment 10 Mickael Istria CLA 2013-09-25 04:24:08 EDT
@Jan: I guess the list of slaves jobs are running on may be restricted. If you could grant me read permission on configuration, I could have a look an provide some help.
Comment 11 Jan Sievers CLA 2013-09-25 07:55:36 EDT
(In reply to Mickael Istria from comment #10)
> @Jan: I guess the list of slaves jobs are running on may be restricted. 

yes, removing slave assignment fixed some of the jobs.

As anticipated, some of the settings like JDK got lost during the move.
I still need to fix up tycho-its-linux and there is one job missing:

https://hudson.eclipse.org/hudson/job/tycho.extras-nightly/

Another thing: can you give tycho committers permissions to create new jobs on this instance?
Comment 12 Jan Sievers CLA 2013-09-25 08:00:46 EDT
(In reply to Jan Sievers from comment #11)
> Another thing: can you give tycho committers permissions to create new jobs
> on this instance?

forget it. just found the link. However you should probably remove the link in the upper right box "request a new job" which confused me here.

One more, can we get more than one executor so builds don't queue up too much?
Comment 13 Thanh Ha CLA 2013-09-25 09:33:23 EDT
(In reply to Jan Sievers from comment #12)
> (In reply to Jan Sievers from comment #11)
> > Another thing: can you give tycho committers permissions to create new jobs
> > on this instance?
> 
> forget it. just found the link. However you should probably remove the link
> in the upper right box "request a new job" which confused me here.
> 

Good point I've removed the "Request a new job" link.

> One more, can we get more than one executor so builds don't queue up too
> much?

I bumped the number of executors to 3.
Comment 14 Thanh Ha CLA 2013-09-25 09:35:09 EDT
(In reply to Jan Sievers from comment #11)
> (In reply to Mickael Istria from comment #10)
> > @Jan: I guess the list of slaves jobs are running on may be restricted. 
> 
> yes, removing slave assignment fixed some of the jobs.
> 
> As anticipated, some of the settings like JDK got lost during the move.
> I still need to fix up tycho-its-linux and there is one job missing:
> 
> https://hudson.eclipse.org/hudson/job/tycho.extras-nightly/
> 

Looks like this wasn't in the list so I missed it when I was importing the jobs. I will import this, this morning.
Comment 15 Thanh Ha CLA 2013-09-25 11:50:39 EDT
(In reply to Thanh Ha from comment #14)
> (In reply to Jan Sievers from comment #11)
> > (In reply to Mickael Istria from comment #10)
> > > @Jan: I guess the list of slaves jobs are running on may be restricted. 
> > 
> > yes, removing slave assignment fixed some of the jobs.
> > 
> > As anticipated, some of the settings like JDK got lost during the move.
> > I still need to fix up tycho-its-linux and there is one job missing:
> > 
> > https://hudson.eclipse.org/hudson/job/tycho.extras-nightly/
> > 
> 
> Looks like this wasn't in the list so I missed it when I was importing the
> jobs. I will import this, this morning.

I've imported this job and restarted the Tycho HIPP instance.