QA/Execution/Web Testing/Automation/Selenium Grid: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 33: Line 33:


== Moz-Grid-Config ==
== Moz-Grid-Config ==
 
* [http://code.google.com/p/git-osx-installer/ Git] must be installed first
* [https://github.com/mozilla/moz-grid-config moz-grid-config]
* [https://github.com/mozilla/moz-grid-config moz-grid-config]



Revision as of 20:53, 9 May 2011

Startup

Starting the Hub

  • VNC into or use Screen, and go on qa-selenium.mv.mozilla.com,
  • start a screen session -> screen -S selenium_grid_hub
  • cd moz-grid-config
  • start the hub -> ./launchHub.sh

Starting RCs

Shutdown

Shutdown the Hub

Shutdown the RCs

Upgrading

Upgrading Jenkins

  1. Load http://qa-selenium.mv.mozilla.com:8080/ (must be on VPN)
  2. Click on "Manage Jenkins" - http://qa-selenium.mv.mozilla.com:8080/manage
  3. Click on "Prepare for Shutdown" - http://qa-selenium.mv.mozilla.com:8080/quietDown
  4. VNC into qa-selenium.mv.mozilla.com and go to the Terminal window and CTRL+C (you'll see Java processes shutting down)
  5. Now, either arrow-up, or explicitly do java -jar jenkins.war -- this should restart Jenkins, and be it! It'll take some time for it to fully come back up, and for qatestbot to join #mozwebqa

Selenium Grid

Current nodes

  • qa-selenium.mv.mozilla.com 10.250.48.239
  • qa-selenium2.mv.mozilla.com 10.250.1.167
  • qa-selenium3.mv.mozilla.com 10.250.1.196
  • qa-selenium4.mv.mozilla.com 10.250.1.197
  • qa-selenium5.mv.mozilla.com 10.250.1.222

Adding a new browser environment

Moz-Grid-Config

References