ReferencePlatforms/Test/Mac: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 46: Line 46:
  python setup.py build
  python setup.py build
  sudo python setup.py install
  sudo python setup.py install
=== Installing Talos ===
cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d talos mozilla/testing/performance/talos


=qm-pmac01=
=qm-pmac01=

Revision as of 08:44, 23 August 2007

Talos configuration done on qm-pmac04

OS Setup

  1. Change the resolution to 1024 x 768, 60 Hz, under System Preferences->Displays.
  2. Under System Preferences->Desktop&Screen Saver, set "Start Screen Saver" to 'never'
  3. Create a new admin-equiv account for the mozqa user using the standard password.
  4. Under System Preferences->Sharing->Apple Remote Desktop->Access Privileges change the VNC screen control password to the standard password. NOTE: your VNC session will drop when you do this. You'll need to reconnect with the new password.
  5. Under System Preferences->Software Update, run Software Update, updating everything to the latest patch level, then turn off automatic update checking.
  6. Install the cltbld ssh key in ~/.ssh

XCode Installation

  1. The next step is to retrieve the Mac reference platform packages from CVS:
export CVS_RSH=ssh
ocvs -d :ext:cltbld@cvs.mozilla.org:/mofo co ref-platforms/mac
  1. Mount the xcode_2.2.1_8g1165_018213632.dmg disk image by double clicking on it and and begin installing the XcodeTools.mpkg.
  2. When it comes time to choose the Installation Type, choose "Customize"
  3. Under "Cross-Development," select all the available SDKs, and then click "Install"

BuildBot Setup

Install Python 2.4.4

  1. Download MacPython 2.4.4
  2. Mount the DMG and run the installer

Install Twisted and Zope-Interface

wget http://tmrc.mit.edu/mirror/twisted/Twisted/2.4/Twisted-2.4.0.tar.bz2
tar -jvxf Twisted-2.4.0.tar.bz2
cd ZopeInterface-3.1.0c1
python setup.py build
sudo python setup.py install
cd ../TwistedCore-2.4.0/
python setup.py build
sudo python setup.py install
cd ..
python setup.py build
sudo python setup.py install

Install BuildBot

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

Talos Setup

Install PyYAML

curl http://pyyaml.org/download/pyyaml/PyYAML-3.05.tar.gz > pyyaml.tar.gz
tar -zvxf pyyaml.tar.gz
cd PyYAML-3.05
python setup.py build
sudo python setup.py install

Installing Talos

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

qm-pmac01

Setup notes for qm-pmac01 (talos test box)

Syck 0.55 is installed on pmac01 for Talos. Should be installed on the other machines. Installed the main binary and the python extension:

  • cd ext/python/
  • python setup.py build
  • sudo python setup.py install

pmac01 also has xcode and ports installed from the reference machine. Sharedmenuframeworks is not installed. Screensaver disabled.

For Talos to work on mac, the Subprocess module must be installed. Download subprocess.py from [1] and copy into /Library/Python/2.3/site-packages/. Be sure to save the file as 'subprocess.py' with a lowercase 's'.