Page 1 of 1

modGearman and Selenium GUI Firefox coexistence

Posted: Wed Jul 20, 2016 8:45 am
by dlukinski
Hello XI support

We are looking into making modGearman coexist with Selenium server (has to be GUI install, right?) on the same Linux
- is there any known issues with having both installed on CentOS7 (should we opt for 6.8 instead?)

Thank you

Re: modGearman and Selenium GUI Firefox coexistence

Posted: Wed Jul 20, 2016 9:56 am
by mcapra
dlukinski wrote:has to be GUI install, right?
You can do headless Selenium testing, but I personally never saw a point in it. We also don't offer documentation for such an environment.
dlukinski wrote:is there any known issues with having both installed on CentOS7 (should we opt for 6.8 instead?)
I just set my Selenium server up as a Mod-Gearman worker and didn't have any issues running test cases on it. Seems like it should be fine. However, as a gearman worker your server might be under additional stress if it's handling a lot of jobs. This could cause issues with your web browser or Selenium server.

If your goal is to distribute the test scripts to the Selenium server, it might be easier to just put the test scripts on the Selenium server and call them with check_by_ssh.

Re: modGearman and Selenium GUI Firefox coexistence

Posted: Wed Jul 20, 2016 10:31 am
by dlukinski
mcapra wrote:
dlukinski wrote:has to be GUI install, right?
You can do headless Selenium testing, but I personally never saw a point in it. We also don't offer documentation for such an environment.
dlukinski wrote:is there any known issues with having both installed on CentOS7 (should we opt for 6.8 instead?)
I just set my Selenium server up as a Mod-Gearman worker and didn't have any issues running test cases on it. Seems like it should be fine. However, as a gearman worker your server might be under additional stress if it's handling a lot of jobs. This could cause issues with your web browser or Selenium server.

If your goal is to distribute the test scripts to the Selenium server, it might be easier to just put the test scripts on the Selenium server and call them with check_by_ssh.
This is the case where modGearman workers and remote Selenium servers have to do essentially same tasks (testing same resources from multiple remote locations). Therefore makes sense to combine them into 1 server (2 CPU / 4 GB RAM to begin with - really not an issue in that respect). Asking you what is the best practice and which CentOS version would work best in a circumstance.

Re: modGearman and Selenium GUI Firefox coexistence

Posted: Wed Jul 20, 2016 10:42 am
by mcapra
That setup seems fine to me. We don't really have a "best practices" recommendation for a hybrid Selenium/gearman environment. While we do offer extensive support for those applications, Nagios does not maintain either of them directly. I have tested this for CentOS 7 and the environment seems stable.

My only concern, as I said, would be situations where the gearman jobs begin to generate significant performance issues. That could impact the results/performance of your Selenium environment. If the Selenium/gearman server is always under capacity, then performance considerations should be a non issue.

Re: modGearman and Selenium GUI Firefox coexistence

Posted: Wed Jul 20, 2016 1:08 pm
by dlukinski
mcapra wrote:That setup seems fine to me. We don't really have a "best practices" recommendation for a hybrid Selenium/gearman environment. While we do offer extensive support for those applications, Nagios does not maintain either of them directly. I have tested this for CentOS 7 and the environment seems stable.

My only concern, as I said, would be situations where the gearman jobs begin to generate significant performance issues. That could impact the results/performance of your Selenium environment. If the Selenium/gearman server is always under capacity, then performance considerations should be a non issue.
Thank you for your opinion, we'll go with it and NRPE-monitor these installations. Please close the case