Skip to contentSkip to conversation

Running multiple Jenkins on one host??

DISCUSSION Willem Jan Withagen 3 participants 5 messages Oct 12, 2016 – Oct 13, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

Are people running multiple builds in Jenkins in parallel on the same host/vm?

Or is everybody using one Jenkings thread per VM, and thus avoiding classes in /tmp and in port-usuage?

--WjW

#1 lore raw

For jenkins.ceph.com, when we set up each Jenkins slave in OpenStack and connect it up to our Jenkins master, we only assign a single executor per slave, so we haven't seen issues with /tmp or colliding ports.

If we want to parallelize Jenkins jobs further, we create more VMs
(https://github.com/ceph/mita/)

- Ken

Quoted 13 lines · Willem Jan Withagen

Hi,

Are people running multiple builds in Jenkins in parallel on the same host/vm?

Or is everybody using one Jenkings thread per VM, and thus avoiding classes in /tmp and in port-usuage?

--WjW
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 7 lines · Ken Dreyer

For jenkins.ceph.com, when we set up each Jenkins slave in OpenStack and connect it up to our Jenkins master, we only assign a single executor per slave, so we haven't seen issues with /tmp or colliding ports.

If we want to parallelize Jenkins jobs further, we create more VMs
(https://github.com/ceph/mita/)

Yes, makes sense if you already have a OpenStack running. Did not want to burden our cluster with this, but perhaps it is the easier road

--WjW

Quoted 8 lines · Willem Jan Withagen
Quoted 7 lines

Hi,

Are people running multiple builds in Jenkins in parallel on the same host/vm?

Or is everybody using one Jenkings thread per VM, and thus avoiding classes in /tmp and in port-usuage?

#3 lore raw
Quoted 6 lines · Willem Jan Withagen
Quoted 5 lines · Ken Dreyer

For jenkins.ceph.com, when we set up each Jenkins slave in OpenStack and connect it up to our Jenkins master, we only assign a single executor per slave, so we haven't seen issues with /tmp or colliding ports.

Quoted 6 lines
Quoted 2 lines

If we want to parallelize Jenkins jobs further, we create more VMs
(https://github.com/ceph/mita/)

Yes, makes sense if you already have a OpenStack running. Did not want to burden our cluster with this, but perhaps it is the easier road

Note that this isn't tied to openstack only, it uses libcloud to start machines and make them join Jenkins as slaves, so it can talk to AWS and other providers libcloud supports.

Even in the case you don't want to use it, you should have nodes in Jenkins (vs. having everything in the master).

Having everything running in the master defeats the main purpose of Jenkins itself: distributing builds on machines that have have availability.

See: https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds

Quoted 16 lines

--WjW

Quoted 8 lines · Willem Jan Withagen
Quoted 7 lines

Hi,

Are people running multiple builds in Jenkins in parallel on the same host/vm?

Or is everybody using one Jenkings thread per VM, and thus avoiding classes in /tmp and in port-usuage?

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 18 lines · Alfredo Deza
Quoted 6 lines · Willem Jan Withagen
Quoted 5 lines · Ken Dreyer

For jenkins.ceph.com, when we set up each Jenkins slave in OpenStack and connect it up to our Jenkins master, we only assign a single executor per slave, so we haven't seen issues with /tmp or colliding ports.

Quoted 6 lines
Quoted 2 lines

If we want to parallelize Jenkins jobs further, we create more VMs
(https://github.com/ceph/mita/)

Yes, makes sense if you already have a OpenStack running. Did not want to burden our cluster with this, but perhaps it is the easier road

Note that this isn't tied to openstack only, it uses libcloud to start machines and make them join Jenkins as slaves, so it can talk to AWS and other providers libcloud supports.

Quoted 8 lines

Even in the case you don't want to use it, you should have nodes in Jenkins (vs. having everything in the master).

Having everything running in the master defeats the main purpose of Jenkins itself: distributing builds on machines that have have availability.

See: https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds

I understand others desires in this area. Mine was much less far reaching, if only because the budget does go so far.

I'd like to expose the compile/build/test results of github:ceph/HEAD and my github:ceph fork on FreeBSD now that I have once been able to run all tests to completion. Sort of in the hope that showing the (most obvious) incompatibilities would help me and submitters fix the inevitable difference between Linux and FreeBSD.

So in essence I need to run two builds over and over and over... Jenkins capable to do much more, but it does this with 2 fingers in its nose, and gives a nice interface as bonus.

But for now I'll just build 2 VMs to do the work.
Keeping your remarks in the back of my head when it starts growing out of proportions.

--WjW