QA/Execution/Web Testing/Automation/Selenium Grid
< QA | Execution | Web Testing | Automation
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/
- 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
Adding a new environment
- Add the browser, alias, and path to https://github.com/mozilla/moz-grid-config/blob/master/grid_configuration.yml
Moz-Grid-Config
References
- Grid Admin Console
- Grid Hub Snapshot
- Github config snapshot