QA/Execution/Web Testing/Automation/Selenium Grid: Difference between revisions
< QA | Execution | Web Testing | Automation
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
== Selenium Grid == | == Selenium Grid == | ||
=== Current nodes === | === Current nodes === | ||
qa-selenium.mv.mozilla.com 10.250.48.239 | *qa-selenium.mv.mozilla.com 10.250.48.239 | ||
qa- | *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 === | === Adding a new browser environment === |
Revision as of 01:22, 5 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
- Load http://qa-selenium.mv.mozilla.com:8080/ (must be on VPN)
- Click on "Manage Jenkins" - http://qa-selenium.mv.mozilla.com:8080/manage
- Click on "Prepare for Shutdown" - http://qa-selenium.mv.mozilla.com:8080/quietDown
- VNC into qa-selenium.mv.mozilla.com and go to the Terminal window and CTRL+C (you'll see Java processes shutting down)
- 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
- Add the browser, alias, and path to https://github.com/mozilla/moz-grid-config/blob/master/grid_configuration.yml
- Fork the repo, do a pull request, merge to master (<- please correct if wrong)
Moz-Grid-Config
References
- Grid Admin Console
- Grid Hub Snapshot
- Github config snapshot