Releases/Firefox 4.0rc1/BuildNotes: Difference between revisions

 
(18 intermediate revisions by 2 users not shown)
Line 45: Line 45:
| rowspan="4" | 1  
| rowspan="4" | 1  
| Linux [compressed .tar.bz2]  
| Linux [compressed .tar.bz2]  
|
| 20110303140816
|
| linux-ix-slave19
|
| 57min2s
|-
|-
| Linux64 [compressed .tar.bz2]  
| Linux64 [compressed .tar.bz2]  
|
| 20110303144013
|
| moz2-linux64-slave05
|
| 1h36min23s
|-
|-
| Mac [.dmg]  
| Mac [.dmg]  
|
| 20110303140758
|
| moz2-darwin10-slave13
|
| 4h27min42s
|-
|-
| Win32 [.exe/.zip]  
| Win32 [.exe/.zip]  
|
| 20110303194838
|
| w32-ix-slave30
|
| hours and hours because of manual kicking
|}
|}


Line 74: Line 74:
=== Sync repositories ===
=== Sync repositories ===
We're building RCs out of the mozilla-2.0 and l10n-mozilla-2.0 repositories, and we're responsible for syncing the latest from mozilla-central/l10n-central to them. To do this, did the following on an idle slave, after opening the mozilla-2.0 tree:
We're building RCs out of the mozilla-2.0 and l10n-mozilla-2.0 repositories, and we're responsible for syncing the latest from mozilla-central/l10n-central to them. To do this, did the following on an idle slave, after opening the mozilla-2.0 tree:
# locales.txt is a list containing all of the locales we're shipping in this release, based off of l10n-changesets
  cd /builds/slave
  cd /builds/slave
  mkdir rc1-sync
  mkdir rc1-sync
  cd rc1-sync
  cd rc1-sync
wget -O- http://hg.mozilla.org/mozilla-central/raw-file/tip/browser/locales/shipped-locales  | grep -v en-US | cut -f1 -d" " > locales.txt
  hg clone http://hg.mozilla.org/mozilla-central
  hg clone http://hg.mozilla.org/mozilla-central
  cd mozilla-central
  cd mozilla-central
Line 176: Line 176:


Returned linux-ix-slave18 - 23 to bm04, since they had gotten hung anyway.
Returned linux-ix-slave18 - 23 to bm04, since they had gotten hung anyway.
== Unittests & Talos ==
None of these ran - {{bug|641399}}.


== Signing ==
== Signing ==
Line 213: Line 217:
** Update channel differences ("beta" vs "release")
** Update channel differences ("beta" vs "release")
** Test Pilot removal listed in removed-files
** Test Pilot removal listed in removed-files
* Windows: Nothing else
* Linux 64-bit: Nothing else
* Linux 32-bit: Nothing else


The update channel change, and test pilot listing in removed-files are both expected and innocuous.
The update channel change, and test pilot listing in removed-files are both expected and innocuous. Nothing else of note, so this is a PASS.


== Permissions Check ==
== Permissions Check ==
Line 237: Line 238:
* Linux 64-bit: No problems
* Linux 64-bit: No problems
* Windows: No problems
* Windows: No problems
* Mac: Failed to compile. Filed {{bug|638921}} on the issue.
** A rebuild succeeded compilation, but failed due to {{bug|634809}}
*** Worked around this manually with:
# cltbld@moz2-darwin10-slave17
cd /builds/slave/rel-2.0-xr-osx64-bld/build/obj-firefox/x86_64/dist/sdk
scp -i ~/.ssh/xrbld_dsa \
  xulrunner-2.0.en-US.mac-x86_64.sdk.tar.bz2 \
  xrbld@stage.mozilla.org:/pub/mozilla.org/xulrunner/nightly/2.0-candidates/build1/sdk/
All files were uploaded to "2.0-candidates" instead of "2.0rc1-candidates" because of {{bug|639888}}. Manually did the following to fix:
# xrbld@stage
cd /home/ftp/pub/xulrunner/nightly
mv 2.0-candidates 2.0rc1-candidates
== XULRunner Signing ==
<pre>
#!/bin/bash
set -x
set -e
PRODUCT=xulrunner
VERSION=2.0rc1
BUILD=1
TAG=FIREFOX_4_0rc1_RELEASE
REPO="releases/mozilla-2.0"
EMAIL=@mozilla.com
KEYDIR=d:/2010-keys
cd ~/hg-tools
hg pull
hg up -r ${TAG}
mkdir -p ~/signing-work/${PRODUCT}-${VERSION}
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .
make setup PRODUCT=${PRODUCT} VERSION=${VERSION} \
  BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \
  --exclude=*.txt --exclude=*-symbols.zip \
  xrbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates/build${BUILD}/ \
unsigned-build${BUILD}
rsync -av --exclude=unsigned unsigned-build${BUILD}/ \
signed-build${BUILD}/
rsync -av unsigned-build${BUILD}/unsigned/ \
signed-build${BUILD}/
make checksum-files create-sigs stage verify-sigs \
  PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} \
  REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
rmdir signed-build${BUILD}/contrib{,-localized}
rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \
  signed-build${BUILD}/ \
  xrbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates/build${BUILD}/
</pre>


== Socorro product data updates ==
== Socorro product data updates ==
Someone else had already added "4.0". I added "4.0pre".
Someone else had already added "4.0". I added "4.0pre".
== Push to Mirrors ==
Forced the "release-mozilla-2.0-push_to_mirrors" builder with the following properties:
* release_config: mozilla/release-firefox-mozilla-2.0.py
* script_repo_revision: FIREFOX_4_0rc1_RELEASE
== Notify AV vendors ==
* Notify vendors using instructions in {{bug|568884#c15}}
* this done out of sequence as missing from build notes, and manually caught. Not sure if AV vendors will have enough time to scan *today* as push-to-mirrors already well in progress. Need to do this earlier in process, see FF3.6.14, FF3.6.15 for examples.
== Notify Mirrors ==
Normally this is done well in advance of pushing, but I forgot to do it until well after. Sent short mail to mirrors@mozilla.org informing them that 4.0rc1 was pushed.
== Push Beta Channel Snippets ==
<pre>
# cltbld@aus2-staging
cd /opt/aus2/snippets/staging
~/bin/backupsnip 20110303-Firefox-4.0rc1
~/bin/pushsnip 20110303-Firefox-4.0rc1
</pre>
== Send mail to metrics ==
Firefox,firefox,firefox,4.0,4.0
Firefox,firefox,firefox,4.0pre,4.0
== Release ==
# cltbld@stage.mozilla.org
cd /pub/mozilla.org/zz/
Updated rsync exclude files from the above dir to exclude b12
=== Push XULRunner to mirrors ===
<pre>
# xrbld@stage
rsync -av --exclude=*.txt --exclude=*unsigned*  --exclude=*-symbols.zip \
  /pub/mozilla.org/xulrunner/nightly/2.0rc1-candidates/build1/ \
  /pub/mozilla.org/xulrunner/releases/2.0rc1/
</pre>
Edited cltbld@stage:/pub/mozilla.org/zz/rsyncd-mozilla-{pre,}releases.exclude and added:
- xulrunner/releases/2.0b12
=== Update XULRunner entries on wiki ===
Updated the links in these two wiki pages for the version change:
* [https://developer.mozilla.org/En/XULRunner_2.0_Release_Notes Release Notes]
* [https://developer.mozilla.org/En/Gecko_SDK Gecko_SDK]
== Remove index.html ==
After release, remove the index.html:
# ffxbld@stage
cd /pub/mozilla.org/firefox/releases/4.0rc1
rm index.html
Confirmed users
4,293

edits