ReferencePlatforms: Difference between revisions

 
(40 intermediate revisions by 8 users not shown)
Line 1: Line 1:
= Build Reference Platforms  =
== Read this if you're setting up a new platform ==
[[ReferencePlatforms/HowToSetupNewPlatform]]


{| border="1px" style="border: 1px solid black;" class="sortable"
= Reference Platforms  =
 
{| border="1px" class="sortable" style="border: 1px solid black;"
|-
|-
! Platform  
! Platform  
! Build ref page
! Build ref  
! Machine name
! Hostname
! Testing ref page
! Testing ref  
! Machine name
! Hostname
|-
|-
| Windows 32-bit
| Win32
| [[ReferencePlatforms/Win32|Win32]]  
| [[ReferencePlatforms/Win32|Win32]]  
| win2k3sp2-ref-vm mw32-ix-ref
| win32-ix-ref  
| [[ReferencePlatforms/Test/WinXP|WinXP]] & [[ReferencePlatforms/Test/Win7|Win7 32-bit]]  
| [[ReferencePlatforms/Test/WinXP|WinXP]] & [[ReferencePlatforms/Test/Win7|Win7 32-bit]]
|  
| talos-r3-{xp|w7}-ref
|-
|-
| Windows 64-bit
| Win64
| [[ReferencePlatforms/Win64|Win64]]  
| [[ReferencePlatforms/Win64|Win64]]  
|  
| win64-ix-ref
| [[ReferencePlatforms/Test/Win7 64-bit|Win7 64-bit]]  
| [[ReferencePlatforms/Test/Win7 64-bit|Win7 64-bit]]  
|  
| t-r3-w764-ref
|-
| OS X 10.6
| N/A
| -
| [[ReferencePlatforms/Test/SnowLeopardRev4|Snow Leopard]]
| netboot
|-
|-
| Mac OS X 10.5
| OS X 10.7
| [[ReferencePlatforms/Mac-10.5|MacOSX 10.5]]  
| [[ReferencePlatforms/Test/Lion|Lion]]
| bm-mini-build-ref
| netboot
| [[ReferencePlatforms/Test/Leopard|Leopard]]  
| [[ReferencePlatforms/Test/Lion|Lion]]
|  
| netboot
|-
|-
| Mac OS X 10.6
| OS X 10.8
| [[ReferencePlatforms/Mac-10.6|MacOSX 10.6]]
| N/A
| moz2-darwin10-ref
| -
| [[ReferencePlatforms/Test/SnowLeopard|Snow Leopard]]  
| [[ReferencePlatforms/Test/MountainLion|Mountain Lion]]
|  
| netboot
|-
|-
| Linux 32-bit
| OS X 10.9
| [[ReferencePlatforms/Linux-CentOS-5.0|CentOS 5.0]]
| N/A
| CentOS-5.0-ref-tools-vm linux-ix-ref
| -
| [[ReferencePlatforms/Test/FedoraLinux|Fedora 12]]  
| [[ReferencePlatforms/Test/Mavericks|Mavericks]]
|  
|  
|-
|-
| Linux 64-bit
| Linux 32
| [[ReferencePlatforms/Linux-CentOS-5.0 64-bit|CentOS 5.0 64-bit]]  
| [[ReferencePlatforms/Linux-CentOS-5.0|CentOS 5.0]] [[ReferencePlatforms/Linux-CentOS-5.5|CentOS 5.5]]  
|  
| linux-ix-ref
| [[ReferencePlatforms/Test/FedoraLinux64|Fedora 12 x64]]  
| [[ReferencePlatforms/Test/FedoraLinux|Fedora 12]] [[ReferencePlatforms/Test/UbuntuLinux|Ubuntu 12.04 32 bit]]  
|  
| talos-r3-fed-ref
|-
|-
| Maemo
| Linux 64
| [[ReferencePlatforms/Linux-CentOS-5.0|CentOS 5.0]]  
| [[ReferencePlatforms/Linux-CentOS-5.0 64-bit|CentOS 5.0x64]]  
|  
| linux64-ref-platform
| [[ReferencePlatforms/Test/Maemo|Nokia N810]] & [[ReferencePlatforms/Test/N900-PR1.2|Nokia N900]]  
| [[ReferencePlatforms/Test/FedoraLinux64|Fedora 12 x64]] [[ReferencePlatforms/Test/UbuntuLinux|Ubuntu 12.04 64 bit]]  
|  
| talos-r3-fed64-ref
|-
|-
| Android  
| Android  
| [[ReferencePlatforms/Linux-CentOS-5.0|CentOS 5.0]]  
| [[ReferencePlatforms/Linux-CentOS-5.0|CentOS 5.0]]  
|  
|  
| -tbd-
|[[ReferencePlatforms/Test/Tegra250-Android|Tegra 250]] ,
|  
[[ReferencePlatforms/Test/Foopy|Foopy]], [https://mana.mozilla.org/wiki/display/SYSADMIN/Panda+Development+Boards Panda]
|}
|}


== Refreshing the ref machines before asking IT to refresh their image ==
* To stop supporting at some point win2k3sp2-ref-vm & CentOS-5.0-ref-tools-vm
When we update buildbot-tac.py ([http://hg.mozilla.org/build/tools/log/4b41e311f539/buildbot-helpers/buildbot-tac.py this view] shows you last time we have done a change) on the tools repo we have to generate a new build-tools RPM for Linux and Darwin slaves and download the tools zip unto the Windows ref machines. '''TODO add link to steps to do this'''
 
== Tracking ref images being refreshed ==
Every time we do a relevant change to [http://hg.mozilla.org/build/tools/log/tip/buildbot-helpers/buildbot-tac.py buildbot-tac.py] we have to update the '''build-tools''' repo on the ref images (through puppet on linux/darwin builders and manually on all others) and then ask IT to refresh the images (either builders or testers).
 
*NOTE: Do not ask to refresh the linux/windows ref VMs.
*NOTE: Make sure that /builds/slave and ~talos-slave (or equivalent) is empty on the ref machine for the buildbot-tac.py generator to work (TODO: test that this is true for testing machines)
*NOTE: before imaging a fedora system, empty out ''/etc/udev/rules.d/70-persistent-net.rules''.  Note that this file will be re-filled at every boot, so this will need to happen before each image is taken.  See {{bug|636069}}.
 
= repoman repo generation =
These machines are used to generate our linux yum/deb/zypper/<insertrepohere> repositories
 
*[[ReferencePlatforms/repoman1|repoman1]] - repoman1 style machine


Once we know that the machines are up-to-date we need to ask IT to refresh their images. Choose out of these sets of machines depending if your machines affect builders or testers.
= Post Image procedure  =


Builders:
The steps IT takes after cloning a system can be found in [[PostImage]].
* linux-ix-ref
* linux64-ix-ref (not yet)
* win32-ix-ref
* win64-ix-ref
* bm-mini-build-ref
* moz2-darwin10-ref


Testers:
The steps to run a slave through staging then put it into production can be found at [[ReleaseEngineering/How To/Set Up a Freshly Imaged Slave]] as well as by looking at the per platform docs from the table above.
* talos-r3-fed-ref
* talos-r3-fed64-ref
* talos-r3-leopard-ref
* talos-r3-snow-ref
* talos-r3-xp-ref
* talos-r3-w7-ref
* t-r3-fed-ref


== Newly cloned mini setup notes ==
== Testing machines ==


{fed,fed64,leopard,snow,xp} test machines come up into the production pool after cloning, with no additional steps required (make sure you have updated graphserver, and checked in patches for opsi, puppet, graphserver, and build configs for the masters). If a fed{32,64} or mac box doesn't come online, check [[PostImage]] for setting hostname. Win7 32-bit currently doesn't have OPSI and needs the buildbot.tac file to be edited manually and a reboot.
{fed,fed64,leopard,snow,xp} test machines come up into the production pool after cloning, with no additional steps required (make sure you have updated graphserver, and checked in patches for opsi, puppet, graphserver, and build configs for the masters). If a fed{32,64} or mac box doesn't come online, check [[PostImage]] for setting hostname. Win7 32-bit currently doesn't have OPSI and needs the buildbot.tac file to be edited manually and a reboot.
* Check that "bluetooth" and screen saver are disabled as IT could miss it in [[PostImage]]. Otherwise, you will have tests that loose focus.
== Staging machines  ==
*The ref platforms are pointing to production masters (OPSI and puppet)
*Change the following on them
**TODO add link


= Geriatric Machines  =
= Geriatric Machines  =
Line 88: Line 103:
*[[ReferencePlatforms/UnitTestOnly/XP|XP]] - Non-SSE2 Testing  
*[[ReferencePlatforms/UnitTestOnly/XP|XP]] - Non-SSE2 Testing  
*[[ReferencePlatforms/UnitTestOnly/Fedora|Fedora]] - Non-SSE2 Testing  
*[[ReferencePlatforms/UnitTestOnly/Fedora|Fedora]] - Non-SSE2 Testing  
*[[ReferencePlatforms/UnitTestOnly/10.5|10.5]] - PPC Testing
*[[ReferencePlatforms/UnitTestOnly/10.5|10.5]] - PPC Testing  
*[[ReferencePlatforms/UnitTestOnly/10.5-Xserve|10.5-Xserve]] - PPC Testing using Xserve build reference image
*[[ReferencePlatforms/UnitTestOnly/10.5-Xserve|10.5-Xserve]] - PPC Testing using Xserve build reference image


Line 94: Line 109:


*[[ReferencePlatforms/OPSI Server|OPSI Server]]  
*[[ReferencePlatforms/OPSI Server|OPSI Server]]  
*[[ReferencePlatforms/Puppet Server|Puppet Server]]  
*[[ReferencePlatforms/Puppet Server|Puppet Server]]


<br>


= Mobile Specific Infrastructure =
= Mobile Specific Infrastructure =


*[[ReferencePlatforms/mobile-imaging-linux|Mobile Imaging - linux flashing]]
*[[ReferencePlatforms/mobile-imaging-linux|Mobile Imaging - linux flashing]]  
*[[ReferencePlatforms/mobile-imaging-n900-images|Mobile Imaging - n900 image creator]]
*[[ReferencePlatforms/mobile-imaging-n900-images|Mobile Imaging - n900 image creator]]  
*[[ReferencePlatforms/Imaging/Nokia N810|Nokia N810 Imaging process]]
*[[ReferencePlatforms/Imaging/Nokia N810|Nokia N810 Imaging process]]  
*[[ReferencePlatforms/Imaging/Nokia N900|Nokia N900 Imaging process]]
*[[ReferencePlatforms/Imaging/Nokia N900|Nokia N900 Imaging process]]  
*[[ReferencePlatforms/Linux-scratchbox|Scratchbox]]
*[[ReferencePlatforms/Linux-scratchbox|Scratchbox]]
 
*[[ReferencePlatforms/mobile-imaging-android-tegra|Mobile Imaging - Tegra netbook]]
= Post Image procedure =
*[[ReferencePlatforms/Test/Tegra250-Android|Android 2.2 (froyo) Tegra 250 Imaging process]]
 
The steps to take after cloning a system can be found [[PostImage|here]].
 
The steps to run a slave through staging then put it into production can be found at [[ReleaseEngineering:BuildSlaveSetup]]


= Historical/Other  =
= Historical/Other  =


*[[ReferencePlatforms/Mac|MacOSX 10.4]]  
*[[ReferencePlatforms/Mac|MacOSX 10.4]]  
*[[ReferencePlatforms/Mac-10.5.puppet|Old MacOSX 10.5 - for archive only, do not use]]  
*[[ReferencePlatforms/Mac-10.5.puppet|Old MacOSX 10.5 - for archive only, do not use]]
*[[ReferencePlatforms/Mac-10.5|MacOSX 10.5]]
*[[ReferencePlatforms/Mac-10.6|MacOSX 10.6]]
*[[ReferencePlatforms/Test/Leopard|Leopard]]
*[[ReferencePlatforms/Test/SnowLeopard|Snow Leopard]]
*[[ReferencePlatforms/Linux|CentOS 4.4]] - for build consoles  
*[[ReferencePlatforms/Linux|CentOS 4.4]] - for build consoles  
*[[ReferencePlatforms/Linux-Public|Linux Downloadable Ref Platform]]  
*[[ReferencePlatforms/Linux-Public|Linux Downloadable Ref Platform]]  
Line 125: Line 141:
*[[ReferencePlatforms/Test/Linux|Ubuntu Linux]] (1.66/1.8GHz Mini)  
*[[ReferencePlatforms/Test/Linux|Ubuntu Linux]] (1.66/1.8GHz Mini)  
*[[ReferencePlatforms/UnitTestOnly/Ubuntu|<strike>Ubuntu</strike>]] - '''outdated, use Fedora'''Non-SSE2 Testing
*[[ReferencePlatforms/UnitTestOnly/Ubuntu|<strike>Ubuntu</strike>]] - '''outdated, use Fedora'''Non-SSE2 Testing
*[[ReferencePlatforms/Test/Maemo|N810]]
* [[ReferencePlatforms/Test/N900-PR1.2|N900]]
canmove, Confirmed users
2,850

edits