Confirmed users
2,177
edits
No edit summary |
|||
Line 145: | Line 145: | ||
=== Update moz-grid-config === | === Update moz-grid-config === | ||
Once testing is finished and we're satisfied that there are no regressions, submit a pull request for [https://github.com/mozilla/moz-grid-config moz-grid-config] that changes the version number in <code>default.properties</code>. This will need a review from a team member before it gets merged | Once testing is finished and we're satisfied that there are no regressions, submit a pull request for [https://github.com/mozilla/moz-grid-config moz-grid-config] that changes the version number in <code>default.properties</code>. This will need a review from a team member before it gets merged. | ||
=== Update production instance === | === Update production instance === | ||
Line 167: | Line 167: | ||
# [https://webqa-ci.mozilla.com/cancelQuietDown Cancel the Jenkins shutdown] | # [https://webqa-ci.mozilla.com/cancelQuietDown Cancel the Jenkins shutdown] | ||
# Verify the hub and node versions on the [http://selenium-hub1.qa.scl3.mozilla.com:4444/grid/console Selenium hub console] | # Verify the hub and node versions on the [http://selenium-hub1.qa.scl3.mozilla.com:4444/grid/console Selenium hub console] | ||
=== Housekeeping === | |||
# Reset moz-grid-config on the staging nodes and pull in the official changes | |||
== Updating Firefox == | |||
Follow these steps to upgrade the version of Firefox used by Selenium. | |||
=== Update staging instance === | |||
# If you're not on a Mozilla office network, connect to the [https://mana.mozilla.org/wiki/display/SD/VPN Mozilla VPN] | |||
# [http://webqa-ci-staging1.qa.scl3.mozilla.com:8080/login Login to Jenkins] | |||
# [http://webqa-ci-staging1.qa.scl3.mozilla.com:8080/quietDown Prepare Jenkins for shutdown] | |||
# Wait until no jobs are running | |||
# Connect to selenium-staging1.qa.scl3.mozilla.com using RDP | |||
# Stop the Selenium node by hitting Ctrl+C in the terminal window | |||
# Update the Firefox versions in <code>C:\Users\mozauto\moz-grid-config\win7.json</code> | |||
# Start the Selenium server by running <code>ant -autoproxy -Denv=staging -Dnode.host=IP</code> | |||
# Connect to selenium-5.qa.mtv2.mozilla.com using VNC | |||
# Stop the Selenium node by hitting Ctrl+C in the terminal window | |||
# Update the Firefox versions in <code>/Users/webqa/moz-grid-config/mac.json</code> | |||
# Start the Selenium server by running <code>ant -Denv=staging</code> | |||
# [http://webqa-ci-staging1.qa.scl3.mozilla.com:8080/cancelQuietDown Cancel the Jenkins shutdown] | |||
=== Test staging instance === | |||
Run tests against the staging instance. You can do this locally by pointing your tests at host selenium-hub1.qa.scl3.mozilla.com and port 4444, or you can run tests via the [http://webqa-ci-staging1.qa.scl3.mozilla.com:8080/ staging Jenkins instance]. For convenience, there is a job named [http://webqa-ci-staging1.qa.scl3.mozilla.com:8080/job/grid.sanity/ grid.sanity] that will run a variety of tests against both the Windows and OS X platforms. Be sure to override the Firefox version to match the version you've just installed. | |||
=== Update moz-grid-config === | |||
Once testing is finished and we're satisfied that there are no regressions, submit a pull request for [https://github.com/mozilla/moz-grid-config moz-grid-config] that changes the Firefox versions. This will need a review from a team member before it gets merged. | |||
=== Update production instance === | |||
# [https://webqa-ci.mozilla.com/login Login to Jenkins] | |||
# [https://webqa-ci.mozilla.com/quietDown Prepare Jenkins for shutdown | |||
# Wait until no jobs are running | |||
# Connect to selenium1.qa.scl3.mozilla.com using RDP | |||
# Stop the Selenium node by hitting Ctrl+C in the terminal window | |||
# Pull down the latest moz-grid-config changes by running <code>git pull</code> | |||
# Start the Selenium server by running <code>ant -autoproxy -Denv=production</code> | |||
# Repeat steps 4-7 on selenium2, selenium3, selenium4, selenium5, and selenium6 | |||
# Connect to selenium.qa.mtv2.mozilla.com using VNC | |||
# Stop the Selenium node by hitting Ctrl+C in the terminal window | |||
# Pull down the latest moz-grid-config changes by running <code>git pull</code> | |||
# Start the Selenium server by running <code>ant -Denv=production</code> | |||
# Repeat steps 9-12 on selenium-7 | |||
# [https://webqa-ci.mozilla.com/cancelQuietDown Cancel the Jenkins shutdown] | |||
# Update the <code>DEFAULT_FIREFOX_VERSION</code> environment variable in the [https://webqa-ci.mozilla.com/configure Jenkins configuration] | |||
=== Housekeeping === | |||
# Reset moz-grid-config on the staging nodes and pull in the official changes | |||
# Update the DEFAULT_BROWSER_VERSION environment variable in the staging [https://webqa-ci-stage1.qa.scl3.mozilla.com/configure Jenkins configuration] |