ReferencePlatforms/Test/WinXP: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 33: Line 33:
* Wget
* Wget
*# Download [http://users.ugent.be/~bpuype/cgi-bin/fetch.pl?dl=wget/wget.exe Wget] to c:\windows
*# Download [http://users.ugent.be/~bpuype/cgi-bin/fetch.pl?dl=wget/wget.exe Wget] to c:\windows
* Chmod
*# Download and extract [http://superb-west.dl.sourceforge.net/sourceforge/gnuwin32/coreutils-5.3.0-bin.zip Chmod]
*# Copy chmod.exe to c:\windows
*# Download and extract [http://umn.dl.sourceforge.net/sourceforge/gnuwin32/coreutils-5.3.0-dep.zip Chmod dependencies]
*# Copy libintl3.dll and libiconv.dll to c:\windows
* [http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted_NoDocs-2.4.0.win32-py2.4.exe Twisted 2.4.0] (Includes zope-interface)
* [http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted_NoDocs-2.4.0.win32-py2.4.exe Twisted 2.4.0] (Includes zope-interface)
=== RealVNC ===
=== RealVNC ===
Line 80: Line 85:
  cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d talos mozilla/testing/performance/talos
  cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d talos mozilla/testing/performance/talos
If you are using the new (chrome based) pageloader, download [http://people.mozilla.org/~bhearsum/QA/Talos/Ref-Platform-Files/tpcomponent.zip this] file and extract it to c:\talos\page_load_test.
If you are using the new (chrome based) pageloader, download [http://people.mozilla.org/~bhearsum/QA/Talos/Ref-Platform-Files/tpcomponent.zip this] file and extract it to c:\talos\page_load_test.


= Updating Talos =
= Updating Talos =

Revision as of 14:59, 19 September 2007

Configuration Details

From XP SP2 OEM, X11-45391

Downloaded Software Updates

TODO

Configuration Changes

  • Turned OFF all automatic updates
  • Turned ON firewall; allowed RDP and SSH
  • Turned off all MS networking, leaving only TCP/IP
  • Created tester account
  • Turned on RDP; allowed tester and Administrator to connect
  • Turned off screensavers

Install supplemental language support

(from http://www.microsoft.com/globaldev/handson/user/xpintlsupp.mspx)

  • used XP SP2 OEM, X11-45391

Install Third-party applications

  • Python 2.4.4
    • 'Install for all users'
    • Append 'C:\python24;c:\python24\scripts' to the PATH.
  • Python Win32 Extensions
  • PyYaml
  • Info-Zip
    1. Download and extract Info-Zip
    2. Place 'unzip.exe' and 'unzip32.dll' in c:\windows
  • CVS
    1. Download CVS
    2. Extract to c:\windows
  • Wget
    1. Download Wget to c:\windows
  • Chmod
    1. Download and extract Chmod
    2. Copy chmod.exe to c:\windows
    3. Download and extract Chmod dependencies
    4. Copy libintl3.dll and libiconv.dll to c:\windows
  • Twisted 2.4.0 (Includes zope-interface)

RealVNC

VNC *must* be used to get real performance numbers. Download and install RealVNC.
On the 'Select Additional Tasks' page use the following options:
[x] Register and configure VNC Server for Service-Mode
[x] Start the VNC Server in Service-Mode
When the 'VNC Server Properties (Service-Mode)' window pops up:

  1. Use 'VNC Password Authentication'
  2. Click 'Configure' and set a password
  3. Click 'Connections'
  4. Make sure 'Accept connections on port:' is checked and set to port 5900
  5. Uncheck 'Serve Java viewer via HTTP'.
  6. Restart the computer

Do not logon with RDP from this point on. It will break the VNC server.

Buildbot

cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d buildbot mozilla/tools/buildbot
cd buildbot
c:\python24\python setup.py build
c:\python24\python setup.py install

Change the contents of c:\python24\scripts\buildbot.bat to '@python c:\python24\scripts\buildbot %*

Apache

Talos page set and framecycler

Check out talos:

cd c:\
cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d talos mozilla/testing/performance/talos

You will need to install a page set in c:\talos\page_load_test.

The rest

  • Download and install Apache 2.2.4
  • Set 'Network Domain' and 'Server Name' to 'localhost'.
  • Change DocumentRoot and 'C:/Program Files..." <Directory> tag to 'c:/talos'.
  • Restart Apache from the system tray icon
  • Test the install by browsing to 'http://localhost/page_load_test/framecycler.html'. You should see rapidly changing pages.

Setting up a Buildbot Slave

How to setup a Buildbot Talos slave (replace the master.host, username, and password with the correct values)

cd c:\
mkdir talos-slave
buildbot create-slave talos-slave master.host:9989 username password

You should then start the slave once to create the proper directory structure.

buildbot start talos-slave
buildbot stop talos-slave

The "build directory" will have been created at this point. Talos needs to be checked out into that directory. Open a command line and cd to it, then run the following command:

cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d talos mozilla/testing/performance/talos

If you are using the new (chrome based) pageloader, download this file and extract it to c:\talos\page_load_test.

Updating Talos

When you need to update Talos to the latest in cvs you will have to update both the Apache copy and the Buildbot copy. To do this, do the following (replacing $WORKDIR with the right value):

cd c:\talos
cvs up
cd c:\talos-slave\$WORKDIR\talos
cvs up

You do not need to restart Apache or Buildbot after this.