Releases/Firefox 4.0rc2/BuildNotes
Notes About Releasing
Please update the Release:Primer for future releases (bug fixes, changes to automation) as needed
Build Engineers
bhearsum, jhford, rail
Signed-off Revision(s)
build1, build2: 3d4c3670c0bd
build3: 6be9e31d01b4
L10N changesets
Tags
RELBRANCH: GECKO20_2011031715_RELBRANCH
Build # | Tag | Changeset |
1 | FIREFOX_4_0rc2_BUILD1 | http://hg.mozilla.org/releases/mozilla-2.0/rev/a75d6da455ca |
FIREFOX_4_0rc2_RELEASE | http://hg.mozilla.org/releases/mozilla-2.0/rev/7a142ffd59ab | |
2 | FIREFOX_4_0rc2_BUILD2 | http://hg.mozilla.org/releases/mozilla-2.0/rev/5ea5cd7c8785 |
FIREFOX_4_0rc2_RELEASE | http://hg.mozilla.org/releases/mozilla-2.0/rev/58a02996a223 |
Build data
Build # | Type | Build ID | Build machine | Time to build |
1 - all builds killed | ||||
2 | Linux [compressed .tar.bz2] | 20110317165006 | mv-moz2-linux-ix-slave03 | 1h,2m,31s |
Linux64 [compressed .tar.bz2] | 20110317165006 | moz2-linux64-slave02 | 1h,7m,16s | |
Mac [.dmg] | 20110317165006 | moz2-darwin10-slave17 | 4h,39m,35s | |
Win32 [.exe/.zip] | 20110317165006 | mw32-ix-slave02 | 2h,41m,19s |
Build 1
Done on pm01
Setup
Set up a Clobber
Set a clobber for pm01, any release, any builder with clobberer
Sync l10n repositories
cd /builds/slave mkdir 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 echo vi >> locales.txt for i in `cat locales.txt`; do hg clone http://hg.mozilla.org/l10n-central/$i; done for i in `cat locales.txt`; do hg -R $i push -e 'ssh -i ~/.ssh/ffxbld_dsa' ssh://ffxbld@hg.mozilla.org/releases/l10n-mozilla-2.0/$i; done
Reserve Slaves
On pm01, did the following, to reserve enough fast slaves for the release:
cd /builds/buildbot/builder_master1 echo 6 > reserved_slaves_pm01
Land Configs
- Landed release config updates
- Also landed a patcher config update to ensure we get rc1 -> rc2 release channel updates.
Tag Repositories
Tagged build/tools, buildbotcustom, and buildbot-configs with FIREFOX_4_0rc2_RELEASE and FIREFOX_4_0rc2_BUILD1
Update Master
Updated /tools/buildbotcustom/buildbotcustom, /builds/buildbot/builder_master/tools and /builds/buildbot/configs on pm01 to the latest of the production branches. Afterwards, reconfiged with the following command:
cd /builds/buildbot/builder_master1 make reconfig && tail -F twistd.log | grep configuration
Run release_sanity.py
PYTHONPATH=/builds/buildbot/builder_master1:/builds/buildbot/builder_master1/tools/lib/python python /builds/buildbot/builder_master1/tools/buildbot-helpers/release_sanity.py -u bhearsum -V 4.0rc2 --branch mozilla-2.0 --build-number 1 -c release-firefox-mozilla-2.0.py --dryrun localhost:9010
Kick it off
PYTHONPATH=/builds/buildbot/builder_master1:/builds/buildbot/builder_master1/tools/lib/python python /builds/buildbot/builder_master1/tools/buildbot-helpers/release_sanity.py -u bhearsum -V 4.0rc2 --branch mozilla-2.0 --build-number 1 -c release-firefox-mozilla-2.0.py --bypass localhost:9010
Tag
the changeset landed (07a9528b3121) did not include the correct l10n-changesets. This meant that the incorrect revisions were tagged. build 1 was aborted at this point
Build 2
Done on pm01
Setup
Set up a Clobber
Set a clobber for pm01, any release, any builder with clobberer
Sync l10n repositories
cd /builds/slave mkdir 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 echo vi >> locales.txt for i in `cat locales.txt`; do hg clone http://hg.mozilla.org/l10n-central/$i; done for i in `cat locales.txt`; do hg -R $i push -e 'ssh -i ~/.ssh/ffxbld_dsa' ssh://ffxbld@hg.mozilla.org/releases/l10n-mozilla-2.0/$i; done
Reserve Slaves
On pm01, did the following, to reserve enough fast slaves for the release:
cd /builds/buildbot/builder_master1 echo 6 > reserved_slaves_pm01
Land Configs
- Landed release config updates
Tag Repositories
Tagged build/tools, buildbotcustom, and buildbot-configs with FIREFOX_4_0rc2_RELEASE and FIREFOX_4_0rc2_BUILD2
Update Master
Updated /tools/buildbotcustom/buildbotcustom, /builds/buildbot/builder_master1/tools and /builds/buildbot/configs on pm01 to the latest of the production branches. Afterwards, reconfiged with the following command:
cd /builds/buildbot/builder_master1 make reconfig | grep configuration && tail -F twistd.log | grep configuration
Run release_sanity.py
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.0rc2 --branch mozilla-2.0 --build-number 2 -c release-firefox-mozilla-2.0.py --dryrun localhost:9010
Kick it off
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.0rc2 --branch mozilla-2.0 --build-number 2 -c release-firefox-mozilla-2.0.py --bypass localhost:9010
Tag
no problems
Bouncer Update
triggered automatically, no issues
Start Autosign
Once mozilla-2.0 finished tagging, used these instructions to start autosign
Autosigning was started with BUILD=1 set. Moved build1 directory to ~signing-work/firefox-4.0rc2.b1 and restarted autosigning with BUILD=2 set.
Source
no problems
Build/Repack
Windows, Mac, Linux i686, Linux x86_64 builds all had no problems
Linux repack 2/6 had an issue in et's post_upload.py script with an errant temp file in the directory while the script was chmod'ing files found in the directory with python's os.walk. Bugs filed: bug 642700, bug 642701, bug 642715
Verified that all files related to et locale repack matched the checksums file uploaded beside artifacts.
Unittests & Talos
bug 641399 still not resolved
XulRunner Build
Builds was uploaded to ftp://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2.0-candidates/build2/ instead of 2.0rc2-candidates. Filed bug 642733.
MacOS X build
Failed during upload:
set -e; \ for app in i386 x86_64; do \ make -f /builds/slave/rel-2.0-xr-osx64-bld/build/client.mk upload MOZ_CURRENT_PROJECT=$app; \ done make -j4 -C obj-firefox/i386 upload ..... ..... make -j4 -C obj-firefox/x86_64 upload Makefile:112: FULL_NSPR_CFLAGS=-I\${includedir} make[3]: dpkg-architecture: Command not found make[3]: dpkg-architecture: Command not found Traceback (most recent call last): File "/builds/slave/rel-2.0-xr-osx64-bld/build/build/checksums.py", line 187, in <module> main() File "/builds/slave/rel-2.0-xr-osx64-bld/build/build/checksums.py", line 184, in main process_files(files, options.outfile, options.digest, options.strip) File "/builds/slave/rel-2.0-xr-osx64-bld/build/build/checksums.py", line 100, in process_files output = open(output_filename, 'w+') IOError: [Errno 2] No such file or directory: '../../dist/runtimes//xulrunner-2.0.en-US.mac-pkg.checksums' make[3]: *** [checksum] Error 1 make[2]: *** [upload] Error 2 make[1]: *** [upload] Error 2 make: *** [upload] Error 2
See bug 634809 for the details.
L10N Verify
All red, but nothing unexpected: added vi locale, updated strings.
Updates
Per https://bugzilla.mozilla.org/show_bug.cgi?id=642553#c2, expected but unusual patcher config diff:
past-update 4.0b11 4.0b12 betatest releasetest beta + past-update 4.0b12 4.0rc1 betatest releasetest beta release
Permission check
No problems.
Antivirus check
Failed. https://bugzilla.mozilla.org/show_bug.cgi?id=403023#c56 need to be fixed. Running manually.
real 88m51.532s user 71m25.823s sys 7m9.282s [ffxbld@surf ~]$ echo $? 0
See ~ffxbld/av.log on surf for the output.
Build 3
Done on pm01
Setup
Set up a Clobber
Set a clobber for pm01, any release, any builder with clobberer
Land Configs
- Landed release config updates
Tag Repositories
Tagged build/tools, buildbotcustom, and buildbot-configs with FIREFOX_4_0rc2_RELEASE and FIREFOX_4_0rc2_BUILD3
Update Master
Updated /tools/buildbotcustom/buildbotcustom, /builds/buildbot/builder_master1/tools and /builds/buildbot/configs on pm01 to the latest of the production branches. Afterwards, reconfiged with the following command:
cd /builds/buildbot/builder_master1 make reconfig | grep configuration && tail -F twistd.log | grep configuration
Run release_sanity.py
PYTHONPATH=/builds/buildbot/builder_master1:/builds/buildbot/builder_master1/tools/lib/python python /builds/buildbot/builder_master1/tools/buildbot-helpers/release_sanity.py -u rail -V 4.0rc2 --branch mozilla-2.0 --build-number 3 -c release-firefox-mozilla-2.0.py --dryrun localhost:9010
Kick it off
PYTHONPATH=/builds/buildbot/builder_master1:/builds/buildbot/builder_master1/tools/lib/python python /builds/buildbot/builder_master1/tools/buildbot-helpers/release_sanity.py -u rail -V 4.0rc2 --branch mozilla-2.0 --build-number 3 -c release-firefox-mozilla-2.0.py localhost:9010
Tag
No problems
Start Autosign
Once mozilla-2.0 finished tagging, used these instructions to start autosign.
Source
No problems
XulRunner Source
Failed uploading files. ~/.ssh/xrbld_dsa key was missing on the slave. Copied xrbld_dsa* keys from linux-ix-slave12 to mv-moz2-linux-ix-slave03 mv-moz2-linux-ix-slave04 mv-moz2-linux-ix-slave05 mv-moz2-linux-ix-slave06 mv-moz2-linux-ix-slave07 mv-moz2-linux-ix-slave08 mv-moz2-linux-ix-slave09 mv-moz2-linux-ix-slave10 mv-moz2-linux-ix-slave11 mv-moz2-linux-ix-slave13
Set up clobberer. Pressed "Rebuild" button.