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

no edit summary
No edit summary
Line 6: Line 6:


== Selenium Grid Nodes ==
== Selenium Grid Nodes ==
We have several Mac minis running as Selenium nodes and 6 VMs running Windows nodes in our data-center.
We have several Mac minis running as Selenium nodes VMs running Windows nodes in our data-center.


=== Mac OS X Nodes ===
=== Mac OS X Nodes ===
* '''selenium'''.qa.mtv2.mozilla.com (10.252.73.143)
* '''selenium'''.qa.mtv2.mozilla.com (10.252.73.143)
** Mac OS X 10.9.5, 2.7 Ghz Intel Core i7; 8 GB
** Mac OS X 10.10.4, 2.7 Ghz Intel Core i7; 8 GB
* '''selenium-5'''.qa.mtv2.mozilla.com (10.252.73.145)
** Mac OS X 10.10.4, 2.66 GHz Intel Core 2 Duo; 8GB 1067 MHz DDR3
* '''selenium-7'''.qa.mtv2.mozilla.com (10.252.73.9)
* '''selenium-7'''.qa.mtv2.mozilla.com (10.252.73.9)
** Mac OS X 10.7.5, 2.5 GHz Intel Core i5; 4GB 1067 MHz DDR3
** Mac OS X 10.10.4, 2.5 GHz Intel Core i5; 4GB 1067 MHz DDR3


=== Windows Nodes ===
=== Windows Nodes ===
Line 26: Line 28:
** Windows 7, 8 GB RAM, 2 cores, 150GB disk
** Windows 7, 8 GB RAM, 2 cores, 150GB disk
* '''selenium6'''.qa.scl3.mozilla.com (10.22.73.154)
* '''selenium6'''.qa.scl3.mozilla.com (10.22.73.154)
** Windows 7, 8 GB RAM, 2 cores, 150GB disk
* '''selenium-staging1'''.qa.scl3.mozilla.com (10.22.73.138)
** Windows 7, 8 GB RAM, 2 cores, 150GB disk
** Windows 7, 8 GB RAM, 2 cores, 150GB disk


Line 32: Line 36:


     cd ~/moz-grid-config
     cd ~/moz-grid-config
     ant launch-node
     ant -Denv=production
 
The <code>-Denv</code> value can be either <code>production</code> or <code>staging</code>, and controls which Selenium hub the node connects to. Omitting this, or any other value will assume the hub is running on localhost.


=== Starting Windows Nodes ===
=== Starting Windows Nodes ===
Line 38: Line 44:


     cd ~/moz-grid-config
     cd ~/moz-grid-config
     ant -autoproxy launch-node
     ant -autoproxy -Denv=production


We need the <code>-autoproxy</code> helper because the these nodes run through a proxy.
We need the <code>-autoproxy</code> helper because the these nodes run through a proxy.
The <code>-Denv</code> value can be either <code>production</code> or <code>staging</code>, and controls which Selenium hub the node connects to. Omitting this, or any other value will assume the hub is running on localhost.


=== Stopping Nodes ===
=== Stopping Nodes ===
Confirmed users
2,177

edits