ReferencePlatforms/Test/Win7 64-bit: Difference between revisions

add slave alloc info and remove buildbot-0.8 instructions
(add slave alloc info and remove buildbot-0.8 instructions)
Line 53: Line 53:
  @="c:\\mozilla-build\\python25"
  @="c:\\mozilla-build\\python25"


= Buildbot/Talos toolchain =
= Talos toolchain =
  6a21eda4fd11176b3817f813e6114ad3 *Twisted-9.0.0.win32-py2.5.exe
  6a21eda4fd11176b3817f813e6114ad3 *Twisted-9.0.0.win32-py2.5.exe
  d51f6a4dff29eabf34054903d758f003 *simplejson-2.1.1.win32-py2.5.exe
  d51f6a4dff29eabf34054903d758f003 *simplejson-2.1.1.win32-py2.5.exe
Line 70: Line 70:
* Install Simplejson with installer, use "Run as Administrator", all defaults
* Install Simplejson with installer, use "Run as Administrator", all defaults
* Install PyYAML with installer, use "Run as Administrator", all defaults
* Install PyYAML with installer, use "Run as Administrator", all defaults
* Install buildbot 0.8.0:
hg clone http://hg.mozilla.org/build/buildbot
cd buildbot
hg up -r 6cce543c9b15
python setup.py install
* nircmd.exe:
* nircmd.exe:
  copy nircmd.exe c:\
  copy nircmd.exe c:\
Line 188: Line 183:
  wget -O"talos slave.xml" --no-check-certificate https://bugzilla.mozilla.org/attachment.cgi?id=451305
  wget -O"talos slave.xml" --no-check-certificate https://bugzilla.mozilla.org/attachment.cgi?id=451305
  schtasks /create /xml "talos slave.xml" /tn slave
  schtasks /create /xml "talos slave.xml" /tn slave
=== Deploy slave-alloc ===
* Install [hg.mozilla.org/build/puppet-manifests/raw-file/44b219c7790f/modules/buildslave/files/runslave.py runslave.py] in C:\
** You will need to do this with administrator privs.  The only way to get these privs is to right-click "Command Prompt" on the start menu, and select "Run as Administrator".  Then use 'wget' to download the file.
<pre>
REM REMEMBER: "Run as Administrator"
wget -O c:\runslave.py hg.mozilla.org/build/puppet-manifests/raw-file/44b219c7790f/modules/buildslave/files/runslave.py
dir C:\runslave.py
</pre>
* Install [http://hg.mozilla.org/build/puppet-manifests/raw-file/44b219c7790f/modules/buildslave/files/startTalos-w764.bat startTalos.bat] with:
<pre>
wget -O "c:\Users\cltbld\Desktop\startTalos.bat" http://hg.mozilla.org/build/puppet-manifests/raw-file/44b219c7790f/modules/buildslave/files/startTalos-w764.bat
</pre>
* set startTalos.bat to start on run
** see https://bugzilla.mozilla.org/show_bug.cgi?id=430832#c1 although details are vague
** In Task Manager, add a new task:
*** Run in C:\, run as cltbld, run only when logged in, run with highest priviledges
*** Triggers: at log on
*** Action: start c:\Users\cltbld\Desktop\startTalos.bat
*** Conditions: stop if idle ceases, start only on AC power, stop on switch to battery
*** Settings: Allow to run on demand, stop if running for more than 3 days, force stop if it does not stop when requested


= Path Verification =
= Path Verification =
Confirmed users
3,990

edits