Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Jenkins for cluster deployment testing

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Has anybody used any Jenkins plugin for HA kind of testing deployment setup on different machines?

Jenkins allows only 1 slave machine which can be used for standalone server testing automation setup.

But if I want to have a distributed setup on different machines is there any way available in Jenkins or other tool?

Regards,
Padmanabh
 
author & internet detective
Posts: 41073
848
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Padmanabh Sahasrabudhe wrote:Jenkins allows only 1 slave machine which can be used for standalone server testing automation setup.


Why do you say that? I've used Jenkins with more than one slave. The Jenkins documentation even talks about slaves in the plural.
 
Padmanabh Sahasrabudhe
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jeanne.

By more than one slave I meant I can't use more than one slave in one job.

Imagine I start a job which requires silent installation of test server on more than one machine and then trigger automation tests in the same job. Is this possible with jenkins? I read the link you have given, but didn't get any explicit mention of this.

Thanks,
Padmanabh
 
Jeanne Boyarsky
author & internet detective
Posts: 41073
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Selenium Grid runs jobs on multiple machines.

I'm not sure I understand your scenario though. If you want to install on multiple slaves, why not have multiple jobs. Or is the idea to always run on certain slaves?
 
Padmanabh Sahasrabudhe
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To make it more clear. Suppose I have a HA scenario where I have 5 instances of my application server should be installed in parallel and then run a set of tests. In this case waiting sequentially for 5 jobs to complete is time consuming. Triggering 5 jobs in parallel with one slave each may be a solution but not sure if I can have completion status as in put parametter from all the 5 jobs to a next job which will run the tests. So I was looking at a way to have the installation of 5 instances on 5 different machines through one jenkins job and then run the tests in the same job. I hope I am clear now. Thanks for link to Selenium Grid .
 
Jeanne Boyarsky
author & internet detective
Posts: 41073
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I finally understand the question! Selenium Grid isn't the solution. But it does show that a job started by Jenkins can communicate with multiple servers.

I don't think you should have 5 different jobs for your scenario. I would consider using a shell script for the deployments. (And have Jenkins kick off the shell script in one job.) This lets you have more control and do the deployments through ssh/scp commands.

Remember that you can have multiple build steps in Jenkins. The shell script that does the deployments can be one step. Running the tests can be another.
 
What is that? Is that a mongol hoarde? Can we fend them off with this tiny ad?
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic