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

Bug 389834

Summary: Consider separate Hudson instance for Performance tests
Product: Community Reporter: Denis Roy <denis.roy>
Component: CI-JenkinsAssignee: Thanh Ha <thanh.ha>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: david_williams, denis.roy, john.arthorne, konstantin, matthias.mailaender, webmaster, winston.prakash
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 427908    
Bug Blocks: 389857    

Description Denis Roy CLA 2012-09-18 14:24:42 EDT
We currently have two Hudson instances:
hudson.eclipse.org/hudson -> regular instance for builds & tests
hudson.eclipse.org/sandbox -> sandbox, for testing Hudson and plugins

I'd like to propose a new instance, specifically for performance tests.  Intially, it could consist of a Master, two Linux slaves (each with two dedicated CPU cores and one single executor each) and two Windows slaves (again, each with two dedicated CPU cores and one single executor each).

This would allow us to isolate performance tests from the busy production service.

hudson.eclipse.org/perftests would be the proposed name.
Comment 1 David Williams CLA 2012-09-18 14:35:22 EDT
Sounds fine by me, if not down right prudent.
Comment 2 Denis Roy CLA 2012-10-02 09:35:45 EDT
Some of the performance tests are hanging on the production Hudson instance, whereas they are not hanging in a single-master setup.

I'll get going on this.
Comment 3 Denis Roy CLA 2012-10-02 11:42:08 EDT
I've set up a performance tests Hudson instance at:

https://hudson.eclipse.org/perftests

It has 1 executor, 4G RAM and 2 dedicated CPU cores.  It is operating on a different physical host than all all the other husdon infra.

I've created a job for David: https://hudson.eclipse.org/perftests/job/ep4-perf-lin64/

Anything else we need here?
Comment 4 Matthias Mailänder CLA 2014-05-15 09:42:20 EDT
> https://hudson.eclipse.org/perftests

Error 503: access denied :(
Comment 5 Denis Roy CLA 2014-05-15 10:44:58 EDT
It is back to life.
Comment 6 Matthias Mailänder CLA 2014-05-15 10:57:45 EDT
That looks pretty convenient with the browsable HTML result pages. May I ask for the Hudson scripts/configuration that run these jobs? It seems you need an account to have a look at them. I could then try to get them working on my own laptop for testing and I also have access to another dedicated machine https://build.vogella.com/ci/ where we may want them setup for comparison.

This is part of my https://github.com/Mailaender/Eclipse-Performance-GSoC2014/issues/6 which is about getting them up and running again and documenting it so others can do so themselves.
Comment 7 Winston Prakash CLA 2014-05-15 12:06:27 EDT
If this instance is setup with Hudson 3.1.2 & Team management, then it would be easy to allow public to view job configuration.
Comment 8 Matthias Mailänder CLA 2014-05-30 08:54:40 EDT
http://hudson.eclipse.org/perftests is back online so I guess we are done here.

The Hudson version is 3.0.0-RC3 but the old job configuration has been attached to Bug 435045 and everything has been set to be accessible by anonymous users. I will also post and document those scripts during the renovation.
Comment 9 David Williams CLA 2014-05-30 09:05:20 EDT
Can we get this Hudson instance updated to 3.1.2? 
See any downside to that, Matthias?

Seems we should "start" with the latest ... and, uh, would be easier for me if matched the version I'm using on my personal test machines :/
Comment 10 Matthias Mailänder CLA 2014-05-30 09:11:51 EDT
The build is currently running well on https://build.vogella.com/ci/job/C-MASTER-TESTING-org.eclipse.test.performance/ which is Jenkins version 1.565 so changing the CI environment does not seem to break anything. +1 for a Hudson update.
Comment 11 Matthias Mailänder CLA 2014-06-02 05:05:23 EDT
http://hudson.eclipse.org/perftests is down again. As I did not run anything there yet, maybe it is some kind of "shutdown after 48 hours of idleness" setting?
Comment 12 Denis Roy CLA 2014-06-02 09:47:07 EDT
> http://hudson.eclipse.org/perftests is down again. As I did not run anything
> there yet, maybe it is some kind of "shutdown after 48 hours of idleness"
> setting?

There's no such thing.  I think it's the java process that keeps dying.

Thanh, can you have a look at this?
Comment 13 Thanh Ha CLA 2014-06-02 11:49:17 EDT
Hudson is back up. I checked all the logs that I could find but I could not figure out why it crashed...


I did notice this version of Hudson is running using a jetty instance rather than how we deploy HIPP instances where we call the hudson.war directly. If we are to upgrade this I think we will need to make some changes so that it doesn't use Jetty and also probably port over the HIPP version of the Hudson init scripts because the current init script seems to be very old.
Comment 14 Denis Roy CLA 2014-06-02 13:53:56 EDT
+1  We need this thing to be stable

The VM is running on has dedicated CPU resources to make perf tests repeatable.
Comment 15 David Williams CLA 2014-06-02 13:55:53 EDT
(In reply to Denis Roy from comment #14)
> +1  We need this thing to be stable
> 
> The VM is running on has dedicated CPU resources to make perf tests
> repeatable.

Agreed, and we did want the Hudson version upgraded anyway (comment 9) so just as well do it all at same time, as far as I'm concerned).
Comment 16 Thanh Ha CLA 2014-06-02 14:23:43 EDT
Alright I'm going to shutdown perftests for a bit while I backup and upgrade Hudson.
Comment 17 Thanh Ha CLA 2014-06-02 15:02:41 EDT
(In reply to Thanh Ha from comment #16)
> Alright I'm going to shutdown perftests for a bit while I backup and upgrade
> Hudson.

It's backup again this time at Hudson version 3.1.2 (and all plugins updated too) and booting using HIPP init scripts rather than the outdated scripts it was using before. I also had to re-arrange the directories a bit due to it using HIPP scripts.

Hudson is now located in the path "/home/hudson/hudsonbuild" rather than /opt/users/hudsonbuild. I left the old location as a backup.

Hopefully it works better for you all with the updates.
Comment 18 Matthias Mailänder CLA 2014-07-10 16:36:11 EDT
It is running stable at https://hudson.eclipse.org/perftests/job/ep4-perf-lin64/
Comment 19 David Williams CLA 2014-07-13 13:34:48 EDT
(In reply to Matthias Mailänder from comment #18)
> It is running stable at
> https://hudson.eclipse.org/perftests/job/ep4-perf-lin64/

And by "running stable", you mean that the Hudson server is "up and running". 

It appear there hasn't been a "new job" ran since 2012. (Well, until the failed one I just tried.). 

Webmasters, is there a place where I can "copy configs" to and from (i.e. what's location and do I have write access? ... and "admin" access? 

I'd like to get the "test job" up to speed with our "new" way of running tests, and would be easier to copy some configs into place, rather than web-edit them all -- but ... it's only 3 or 4, so, can do the latter if not already set up for access. 

Mattias, Since you withdrew from the Google of Summer of Code program (for good reason :) I believe you no longer need access and an id on this system, right? 

Naturally, you'd be welcome to make contributions via patches, etc., and if this becomes your favorite hobby you'd be welcome back as as 'releng' committer ... but, I think without the GSoC assignment, your "rights" should be earned, as it is for other committers. 

Let me know if I've misunderstood, but otherwise will remove your name from this job soon.
Comment 20 Matthias Mailänder CLA 2014-07-13 14:43:52 EDT
I don't think commits or submit requests as seen on http://openbuildservice.org/ are possible on Hudson. Maybe you could create a new empty job on https://hudson.eclipse.org/perftests/ so I don't overwrite the old one when fiddeling around. I would still like to port https://build.vogella.com/ci/job/C-MASTER-TESTING-org.eclipse.test.performance/ to the Eclipse Hudson instance, but I can't promise I find the free time to do so.
Comment 21 Thanh Ha CLA 2014-07-14 10:01:15 EDT
(In reply to David Williams from comment #19)
> Webmasters, is there a place where I can "copy configs" to and from (i.e.
> what's location and do I have write access? ... and "admin" access? 
> 

No, you will have to web edit them as far as I'm aware but if they are similar jobs you can always edit 1 and create the additional jobs as copies of the original one. From what I can tell you already have full Admin access on the perftests box or are we talking about another server?
Comment 22 Matthias Mailänder CLA 2014-07-14 14:26:01 EDT
Are you sure I have full admin access on the whole Hudson instance? https://hudson.eclipse.org/perftests/user/mmailnder/ I can't see the new job nor configuration button. However full access to https://hudson.eclipse.org/perftests/job/ep4-perf-lin64/.
Comment 23 Thanh Ha CLA 2014-07-14 14:30:08 EDT
(In reply to Matthias Mailänder from comment #22)
> Are you sure I have full admin access on the whole Hudson instance?
> https://hudson.eclipse.org/perftests/user/mmailnder/ I can't see the new job
> nor configuration button. However full access to
> https://hudson.eclipse.org/perftests/job/ep4-perf-lin64/.

You wouldn't have full admin access, I was responding to David Williams with that comment.



(In reply to Matthias Mailänder from comment #20)
> Maybe you could create a new empty job on https://hudson.eclipse.org/perftests/ so I don't
> overwrite the old one when fiddeling around.

I created a copy of the job for you and gave you access.

https://hudson.eclipse.org/perftests/job/mmailnder-ep4-perf-lin64/
Comment 24 Eclipse Webmaster CLA 2015-03-31 14:07:41 EDT
Closing as fixed as the perftests instance seems to be ticking along fine.

-M.