Releases/Firefox 9.0b4/BuildNotes
Notes About Releasing
Please update the Notes Template and the Release:Primer for future releases (bug fixes, changes to automation) as needed
Bugs hit
Enter any bugs pre-existing or newly discovered and filed during the release:
Build Engineers
armenzg - Tracking bug: bug 700905
Signed-off Revision(s)
Build 1: ba21496cd60b
L10N changesets
Instructions on how to get them
- Firefox: link to the l10n-changesets
- Fennec: link to the json
Tags
| Build # | Branch, Tags | Changeset |
| MOBILE90_2011113006_RELBRANCH, FENNEC_9_0b4_RELEASE, FENNEC_9_0b4_BUILD1 | ba21496cd60b | |
| GECKO90_2011113005_RELBRANCH, FIREFOX_9_0b4_BUILD1 FIREFOX_9_0b4_RELEASE | ba21496cd60b |
Build data
Firefox
| Build # | Type | Build ID | Build machine | Time to build |
| 1 | Linux | 20111130065942 | mv-moz2-linux-ix-slave18 | 2 hrs, 15 mins, 44 secs |
| Linux64 | linux64-ix-slave06 | 2 hrs, 13 mins, 47 secs | ||
| Mac | moz2-darwin10-slave27 | 4 hrs, 34 mins, 1 secs | ||
| Windows | mw32-ix-slave20 | 3 hrs, 6 mins, 59 secs |
Fennec
| Build # | Type | Build ID | Build machine | Time to build |
| 1 | android | 20111130065040 | mv-moz2-linux-ix-slave10 | 1 hrs, 47 mins, 0 secs |
| linux | mv-moz2-linux-ix-slave02 | 1 hrs, 6 mins, 5 secs | ||
| macosx | bm-xserve11 | 2 hrs, 22 mins, 21 secs | ||
| win32 | mw32-ix-slave07 | 1 hrs, 28 mins, 50 secs |
Notes
Build 1
Preparing to start Automation
- Set clobbers for the appropriate masters.
- Reserve slaves
[cltbld@buildbot-master08 ~]$ echo 8 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1
- Update l10n changesets for desktop, mobile
- Land automation configs on production branch
- Tag buildbot-configs, buildbotcustom, tools & mozharness with build & release tags
FIREFOX_9_0b4_RELEASE FIREFOX_9_0b4_BUILD1 FENNEC_9_0b4_RELEASE FENNEC_9_0b4_BUILD1
- update and reconfigure the master
- start automation
cd /builds/buildbot/build1/master source ../bin/activate PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u armenzg -pfirefox,fennec -V 9.0b4 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py --dryrun localhost:9001 2011-11-30 06:38:56,762 : INFO : Tests Passed! Did not run reconfig/sendchange. Rerun without `-d` PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u armenzg -pfirefox,fennec -V 9.0b4 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py localhost:9001
E-mail Metrics
Firefox,firefox,firefox,9.0b4,9.0 Fennec,firefox-mobile,fennec,9.0b4,9.0
Tag
No problems
Bouncer Submitter
No problems
Source
No problems
Start autosign
NOTE: use new signcode keys from d:/2011-keys
PRODUCT=firefox
VERSION=9.0b4
BUILD=1
TAG=FIREFOX_9_0b4_RELEASE
REPO='releases/mozilla-beta'
EMAIL=release@mozilla.com
KEYDIR=d:/2011-keys
RELCONFIG=mozilla/release-firefox-mozilla-beta.py
cd ${HOME}/hg-tools/ # if it exists, otherwise create a fresh clone
hg pull && hg up -r ${TAG}
mkdir -p ~/signing-work/${PRODUCT}-${VERSION}/lib/python
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .
rsync -av ~/hg-tools/lib/python/ ./lib/python/
make autosign PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} \
EMAIL=${EMAIL} KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG}
Build
Firefox
No problems
Fennec
Android
No problems
Desktop Builds
No problems
Desktop repacks
No problems
Unittests / Talos
- Look to see that they ran
- Document any oranges (per platform) for unittests - if possible, try to confirm it's known/random
- Make sure there's no red/failures that we need to have a dev look at
XULRunner
Source
No problem.
Build
No problem.
Signing
NOTE: use new signcode keys from d:/2011-keys
#!/bin/bash
set -x
set -e
PRODUCT=xulrunner
VERSION=9.0b4
BUILD=1
TAG=FIREFOX_9_0b4_RELEASE
REPO="releases/mozilla-beta"
EMAIL=release@mozilla.com
KEYDIR=d:/2011-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}
rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \
--exclude=*.txt --exclude=*-symbols.zip --exclude=jsshell* \
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}
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}/
Repacks
Firefox
No problems.
Fennec
No problems.
Firefox Signing
win32/zu/Firefox Setup 9.0b4.exe
win32/zu/Firefox Setup 9.0b4.exe.asc
sent 3115914817 bytes received 12842 bytes 10199435.87 bytes/sec
total size is 15429465236 speedup is 4.95
rsync -e "ssh -i /home/cltsign/.ssh/ffxbld_dsa" -av /home/cltsign/signing-work/f
irefox-9.0b4/win32_signing_build1.log \
ffxbld@stage.mozilla.org:/home/ftp/pub/firefox/nightly/9.0b4-candidate
s/build1/
down for maint
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packagi
ng/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632) [sender=3.0.4]
make: *** [upload-log] Error 12
- it seems we're hitting problems due to the IT problem - bug 706607
- waiting for mburns/justdave to give me a clear to run:
make update-log PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG}
make verify-signatures2 PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG}
Android Signing
I followed instructions in Mobile Signing doc.
Android Signature Verification
XXX: What am I supposed to do in here?
L10N verify
No problems.
Updates
No problems.
Update verify
No problems.
Reset reserved slaves
[cltbld@buildbot-master08 ~]$ echo 0 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1
Check permissions / AV scan
No problems.
Final verification
No problems.
Push to beta
This should be done the day before explicit permission.
#cltbld@aus2-staging screen cd /opt/aus2/snippets/staging/ time ~/bin/backupsnip Firefox-9.0b4-build1 2>&1 | tee 9.0b4.out real 58m1.156s user 0m9.578s sys 0m48.924s time ~/bin/pushsnip Firefox-9.0b4-build1 2>&1 | tee 9.0b4.pushsnip.out
Publish Fennec to the Android Market
Push the files
run push_fennec_beta.sh on stage
Android Market
IMPORTANT - Make sure to follow instructions!
wget http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/9.0b4-candidates/build1/android/multi/fennec-9.0b4.multi.eabi-arm.apk
- visit https://market.android.com/publish
- choose "Firefox Beta" or "Firefox"
- select the "APK Files" tab and choose "Upload APK"
- choose the multi apk that you downloaded and hit "upload"
- NOTE: the progress bar does not seem to show progress (at least on Google Chrome)
- when it finishes uploading, verify VersionCode is build date
- hit "Save"
- choose the multi apk that you downloaded and hit "upload"
- activate new apk (You should see an Error message since both apk's are active)
- deactivate old apk (You should not see the Error message anymore)
- hit "Save"
Push XULRunner to Mirrors
# xrbld@stage rsync -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip \ --exclude=*.checksums --exclude=jsshell* \ /pub/mozilla.org/xulrunner/nightly/9.0b4-candidates/build1/ \ /pub/mozilla.org/xulrunner/releases/9.0b4/