QA/Execution/Web Testing/Automation/Selenium Grid

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/
  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

Adding a new environment

Moz-Grid-Config

References