Releases/Firefox 4.0b10/BuildNotes
Contents
- 1 Notes About Releasing
- 2 Build Engineers
- 3 Signed-off Revision(s)
- 4 L10N changesets
- 5 Tags
- 6 Build data
- 7 Build 1
- 7.1 Setup
- 7.2 Tag
- 7.3 Source
- 7.4 Build/Repack
- 7.5 Unittests
- 7.6 Signing
- 7.7 L10N Verify
- 7.8 Updates
- 7.9 Update Bouncer
- 7.10 Update Verify
- 7.11 Final checks before push and virus check
- 7.12 Socorro product data updates
- 7.13 Push to mirrors
- 7.14 Final verify
- 7.15 Push snippets to beta channel
- 7.16 Send mail to metrics
- 7.17 Release
Notes About Releasing
Please update the Release:Primer for future releases (bug fixes, changes to automation) as needed
Build Engineers
jhford - bug 623287
Signed-off Revision(s)
L10N changesets
- wget -O l10n-changesets_mozilla-2.0 https://l10n-stage-sj.mozilla.org/shipping/l10n-changesets?ms=fx4.0b10
- hit "ship it" from FF4 beta10 page
Tags
Build # | Tag | Changeset |
1 | FIREFOX_4_0b10_RELEASE | d1f2ccfb89ef |
FIREFOX_4_0b10_RELEASE | daecedbdcd10 |
Build data
Build # | Type | Build ID | Build machine | Time to build |
1 | Linux [compressed .tar.bz2] | 20110121161352 | mv-moz2-linux-ix-slave10 | 58 min, 5 sec |
Linux64 [compressed .tar.bz2] | 20110121161649 | moz2-linux64-slave02 | 1 hr, 8 mins, 54 secs | |
Macosx64 [.dmg] | 20110121161344 | moz2-darwin10-slave19 | 4 hrs, 22 mins, 52 secs | |
Win32 [.exe/.zip] | 20110121161358 | mw32-ix-slave06 | 2 hrs, 48 mins, 43 secs |
Build 1
Setup
Slaves involved in b9 were clobbered manually due to the clobberer being broken by short directory names
Landed automation configs: http://hg.mozilla.org/build/buildbot-configs/rev/257b1cb3046e
Tagged buildbotcustom http://hg.mozilla.org/build/buildbotcustom/rev/73fd57040540
Tagged build tools http://hg.mozilla.org/build/tools/rev/c476bc592ff2
Updated pm01 to FIREFOX_4_0b10_RELEASE. note for future releases: make sure that you update buildbot-configs, buildbotcustom and tools
Note to future releases: make sure that version bumps are done
Kicked off automation with:
PYTHONPATH=/builds/buildbot/builder_master1:/builds/buildbot/builder_master1/tools/lib/python python /builds/buildbot/builder_master1/tools/buildbot-helpers/release_sanity.py -u jhford -V 4.0b10 --branch mozilla-central --build-number 1 -c release-firefox-mozilla-2.0.py --dryrun localhost:9010 PYTHONPATH=/builds/buildbot/builder_master1:/builds/buildbot/builder_master1/tools/lib/python python /builds/buildbot/builder_master1/tools/buildbot-helpers/release_sanity.py -u jhford -V 4.0b10 --branch mozilla-central --build-number 1 -c release-firefox-mozilla-2.0.py localhost:9010
Created mac directories and mac64 symlinks from b9 notes snippet:
# ffxbld@surf cd /pub/mozilla.org/firefox/nightly mkdir -p 4.0b10-candidates/build1/mac cd 4.0b10-candidates/build1 ln -s mac mac64 cd .. mkdir -p update/mac cd update ln -s mac mac64
but then realised that this was incorrect and ran
cd /pub/mozilla.org/firefox/nightly/4.0b10-candidates mv update build1/
Tag
No problems
Source
No problems
Build/Repack
No problems
Unittests
Results
Signing
Autosign method used and worked as expected. Build:CombinedSigning.
L10N Verify
Red due to the nature of betas, where we have new locales, a lot of string changes for the already released locales.
Updates
Updates generated properly. Because of an incorrect configuration value in the release config, the detailsUrl in the snippets incorrectly points at the 4.0b9 release notes.
I logged on the slave that did update-generation (mv-moz2-linux-ix-slave08) and ran
cd /builds/slave cp -a rel-cen-updates/ 4.0b10-updates # sed "s,4\.0b9/releasenotes,4.0b10/releasenotes," find -name "complete.txt" -exec sed -i -e "s,4\.0b9/releasenotes,4.0b10/releasenotes," {} \; find -name "partial.txt" -exec sed -i -e "s,4\.0b9/releasenotes,4.0b10/releasenotes," {} \;
and verified that they were correct
[cltbld@mv-moz2-linux-ix-slave08 build]$ find -name partial.txt -type f -exec grep -l "4.0b9/rel" {} \; [cltbld@mv-moz2-linux-ix-slave08 build]$ find -name complete.txt -type f -exec grep -l "4.0b9/rel" {} \; [cltbld@mv-moz2-linux-ix-slave08 build]$ find -name partial.txt -type f -exec grep -l "4.0b10/rel" {} \; | tail ./temp/firefox/4.0b9-4.0b10/aus2/Firefox/4.0b9/Darwin_x86-gcc3-u-i386-x86_64/20110110191913/fi/beta/partial.txt <snip> [cltbld@mv-moz2-linux-ix-slave08 build]$ find -name complete.txt -type f -exec grep -l "4.0b10/rel" {} \; | tail ./temp/firefox/4.0b9-4.0b10/aus2/Firefox/4.0b7/Darwin_x86-gcc3-u-i386-x86_64/20101104131842/ar/beta/complete.txt <snip>
I ran this code on the mv-moz2-linux-ix-slave08 to correct the snippets
cd /builds/slave/4.0b10-updates/build/temp/firefox/4.0b9-4.0b10 rsync -av -e "ssh -oIdentityFile=~/.ssh/cltbld_dsa" aus2.test/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20110122-Firefox-4.0b10-test ssh -l cltbld -i ~/.ssh/cltbld_dsa aus2-staging.mozilla.org ~/bin/backupsnip 20110122-Firefox-4.0b10-test ssh -l cltbld -i ~/.ssh/cltbld_dsa aus2-staging.mozilla.org ~/bin/pushsnip 20110122-Firefox-4.0b10-test rsync -av -e "ssh -oIdentityFile=~/.ssh/cltbld_dsa" aus2/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20110122-Firefox-4.0b10 bash /builds/slave/rel-cen-updates/tools/release/compare-channel-snippets.sh aus2 beta aus2.test releasetest
I have verified that this sample snippet that previously gave me the 4.0b9 relnotes is now giving me the correct 4.0b10 relnotes link.
I generated a typescript log of this process and it is on the slave used with a path of /home/cltbld/4.0b10-snippet-manipulation
I fixed the ja-JP snippets with
# cltbld@mv-moz2-linux-ix-slave08 cd /builds/slave/4.0b10-updates/build/temp/firefox/ mkdir -p 4.0b9-4.0b10.ja-JP-mac/aus2.test/ rsync -a 4.0b9-4.0b10/aus2.test/ 4.0b9-4.0b10.ja-JP-mac/aus2.test/ cd 4.0b9-4.0b10.ja-JP-mac/aus2.test/Firefox for v in {4..9}; do for abi in Darwin_x86_64-gcc3 Darwin_x86_64-gcc3-u-i386-x86_64 Darwin_x86-gcc3-u-i386-x86_64; do for d in `ls -d -1 ./4.0b$v/$abi/*`; do mkdir -v $d/ja-JP-mac done done done for d in `find . -type d -name ja-JP-mac`; do mkdir $d/releasetest $d/betatest cat > $d/releasetest/complete.txt << EOF version=1 type=complete url=http://download.mozilla.org/?product=firefox-4.0b10-complete&os=osx&lang=ja-JP-mac hashFunction=SHA512 hashValue=ff033832196a5d92a3a56986fda22148b7aa938bdb09df155a8281f70dccd97feb2f77c11db335daca19f89103305e011c22a52e960544284688ba524693ac07 size=27683963 build=20110121161344 appv=4.0 Beta 10 extv=4.0b10 detailsUrl=http://www.mozilla.com/ja-JP-mac/firefox/4.0b10/releasenotes/ EOF sed -e \ 's!^url=.*!url=http://stage-old.mozilla.org/pub/mozilla.org/firefox/nightly/4.0b10-candidates/build1/update/mac/ja-JP-mac/firefox-4.0b10.complete.mar!' \ $d/releasetest/complete.txt > $d/betatest/complete.txt done cd ../.. rsync -a aus2.test/ aus2/ cd aus2/Firefox find . -depth -name 'betatest' -type d -exec rm -rf {} \; find . -mindepth 4 -maxdepth 4 -type d -exec mv {}/{releasetest,beta} \; cd ../.. rsync -av -e "ssh -oIdentityFile=~/.ssh/cltbld_dsa" \ aus2.test/ \ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20110122-Firefox-4.0b10-test/ rsync -av -e "ssh -oIdentityFile=~/.ssh/cltbld_dsa" \ aus2/ \ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20110122-Firefox-4.0b10/ ssh -i ~/.ssh/cltbld_dsa cltbld@aus2-staging.mozilla.org ~/bin/pushsnip 20110122-Firefox-4.0b10-test
Update Bouncer
Forced bouncer_submitter builder. No problems.
Update Verify
All builders ran and resulted in green runs.
Final checks before push and virus check
Ran "pre_push_checks" builder with the following properties set:
- Your name: rail (optional)
- Reason for build: pre push checks (optional)
- Branch to build: mozilla-central (optional)
- Revision to build: FIREFOX_4_0b10_RELEASE (mandatory)
- Property 1 Name: release_config Value: mozilla/release-firefox-mozilla-2.0.py (mandatory)
Socorro product data updates
Verified with socorro team that socorro is properly set up and ready for beta10
Push to mirrors
Ran "push_to_mirrors" builder with the following properties set:
Your name: jhford (optional) Reason for build: push to mirrors (optional) Branch to build: mozilla-central (optional) Revision to build: FIREFOX_4_0b10_RELEASE (mandatory) Property 1 Name: release_config Value: mozilla/release-firefox-mozilla-2.0.py (mandatory)
Final verify
bounceradmin.mozilla.com, for Firefox-4.0b10* products' localtions (total 3):
- Platform changed from osx64 to osx
- s/mac64/mac/ for paths
disabled mirrorservice.org because it was throwing a lot of 404 and 403s
Was able to get a green run after disabling mirrorservice.org
Push snippets to beta channel
# ssh cltbld@aus2-staging, run in screen cd /opt/aus2/snippets/staging/ ~/bin/backupsnip 20110122-Firefox-4.0b10 real 6m51.288s user 0m0.485s sys 0m4.813s time ~/bin/pushsnip 20110122-Firefox-4.0b10 (for PHX: real 0m31.199s user 0m0.116s sys 0m1.342s ) real 3m46.301s user 0m0.413s sys 0m6.157s
Send mail to metrics
Sent mail to metrics@mozilla.com with the following contents:
Firefox,firefox,firefox,4.0b10,4.0 Firefox,firefox,firefox,4.0b11pre,4.0
Release
# cltbld@stage.mozilla.org grep '4.0b9' /pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude - firefox/releases/4.0b9