Releases/Firefox 3.5.5/BuildNotes

From MozillaWiki
Jump to navigation Jump to search

Build Engineers

catlee https://bugzilla.mozilla.org/show_bug.cgi?id=525814

Signed-off Revision(s)

Build1: c204f7bb0064

Tags

On releases/mozilla-1.9.1:

Build # Tag Changeset
1 FIREFOX_3_5_5_BUILD1 FIREFOX_3_5_5_RELEASE 57f71400f4cf

Build data

Build # Type Build ID Build machine
1 [Windows installer/zip] 20091102152451 moz2-win32-slave57
[Mac compressed] 20091102134505 moz2-darwin9-slave18
[Linux compressed] 20091102141836 moz2-linux-slave22

Notes

  • Useful docs and FAQs here.
  • Done on production-master02

Build 1

  • Cleaned up all possible linux and mac slaves
  • Win32 slaves: moz2-win32-slave[52-59]
    • /e/builds/moz2_slave/{win32_build,win32_repack,win32_update_verify}/*
  • Landed version bump, reconfig'ed production-master02
  • Kicked off automation:
 buildbot sendchange --username=catlee --master=localhost:9010 --branch=releases/mozilla-1.9.1 -m "Firefox 3.5.5 build1" GOOOO

Socorro product data updates

  • Pinged IT to add the following entries to the Socorro db:
insert into productdims (product, version, branch, release) values ('Firefox','3.5.5', '1.9.1', 'major');
insert into productdims (product, version, branch, release) values ('Firefox','3.5.6pre', '1.9.1', 'development');

bug 525957

Tag

No problems. Tagged build/{tools,buildbotcustom,buildbot-configs} with FIREFOX_3_5_5_RELEASE.

Source

No problems

Build/Repack

Linux build died because hg.m.o died. Cleaned up linux slave, and re-built linux build. Ran

 python force_release_l10n.py -m http://localhost:8010 -t FIREFOX_3_5_5_RELEASE -v -b releases/mozilla-1.9.1 -p linux -n catlee

to re-trigger l10n builds.

11 win32 repacks failed when two slaves hadn't been cleaned out properly. Ran

PYTHONPATH=../../:../../buildbot python force_release_l10n.py -m http://production-master02.build.mozilla.org:8010 -v -t FIREFOX_3_5_5_RELEASE -s shipped-locales-win32 -n nthomas

with shipped-locales for ar bn-BD ca cy eo eu it kn mk ml ta-LK.

Removed en-US.xpi from 3.5.5-candidates/build1/ dir.

Sign

L10nVerify

Unexpected output:

diff -r firefox-3.5.5-build1/diffs/win32.tr.diff firefox-3.5.4-build3/diffs/win32.tr.diff
0a1
> Binary files source/bin/AccessibleMarshal.dll and target/bin/AccessibleMarshal.dll differ
21a23,24
> Binary files source/bin/components/browserdirprovider.dll and target/bin/components/browserdirprovider.dll differ
> Binary files source/bin/components/brwsrcmp.dll and target/bin/components/brwsrcmp.dll differ
34a38
> Binary files source/bin/crashreporter.exe and target/bin/crashreporter.exe differ
205a210,216
> Binary files source/bin/firefox.exe and target/bin/firefox.exe differ
> Binary files source/bin/js3250.dll and target/bin/js3250.dll differ
> Binary files source/bin/mozcrt19.dll and target/bin/mozcrt19.dll differ
> Binary files source/bin/nspr4.dll and target/bin/nspr4.dll differ
> Binary files source/bin/nss3.dll and target/bin/nss3.dll differ
> Binary files source/bin/nssckbi.dll and target/bin/nssckbi.dll differ
> Binary files source/bin/nssutil3.dll and target/bin/nssutil3.dll differ
210a222,224
> Binary files source/bin/plc4.dll and target/bin/plc4.dll differ
> Binary files source/bin/plds4.dll and target/bin/plds4.dll differ
> Binary files source/bin/plugins/npnul32.dll and target/bin/plugins/npnul32.dll differ
212a227,229
> Binary files source/bin/smime3.dll and target/bin/smime3.dll differ
> Binary files source/bin/sqlite3.dll and target/bin/sqlite3.dll differ
> Binary files source/bin/ssl3.dll and target/bin/ssl3.dll differ
218a236
> Binary files source/bin/updater.exe and target/bin/updater.exe differ
225a244,245
> Binary files source/bin/xpcom.dll and target/bin/xpcom.dll differ
> Binary files source/bin/xul.dll and target/bin/xul.dll differ

which indicates a difference between en-US and tr for 3.5.4 build3. That locale was rebuilt after the main repack run (bug 522989), and from the 3.5.4 notes we see that tr was signed like en-US rather than use the re-signing mode (for which there are no proper docs FIXME). So these differences will just be in the small part of the executables where signature is stored. Partly confirmed by comparing the unsigned bits for 3.5.4build3 en-US and tr, which don't exhibit this problem.

Generate updates and push betatest snippets

No problems, backupsnip didn't fail with verbose output enabled.

3.5.3 -> 3.5.5 updates

Disconnected slave from buildbot

Patched moz191-branch-patcher2.cfg

Ran:

 perl patcher2.pl --download --app=firefox --brand=Firefox --config=patcher-configs/moz191-branch-patcher2.cfg

Got one warning:

 read_past_updates(): Invalid past-update specification:

Ran:

 perl patcher2.pl --create-patches --partial-patchlist-file=patchlist-353.cfg --app=firefox --brand=Firefox --config=patcher-configs/moz191-branch-patcher2.cfg

Died with:

 Exception: cmd failed mar -x /builds/slave/updates/build/temp/firefox/3.5.5/ftp/firefox-3.5.5.en-GB.linux-i686.complete.mar

Assumed the disk was full (only 342 MB free)

Clobbered temp/firefox/3.5.3-3.5.5, and rm -rf linux-fennec-*. 3.4 GB free.

Re-ran patcher.

Died again. Removed mozilla-1.9.1-linux*, /builds/scratchbox/users/ctlbld/home/cltbld/build/*. 11 GB fre.

Re-ran patcher. It succeeded this time!

 find temp/firefox/3.5.3-3.5.5/ftp/firefox/nightly/3.5.5-candidates/build1 -type f -exec chmod 644 {} \;
 find temp/firefox/3.5.3-3.5.5/ftp/firefox/nightly/3.5.5-candidates/build1 -type d -exec chmod 755 {} \;
 cd temp/firefox/3.5.3-3.5.5/ftp/firefox/nightly/3.5.5-candidates/build1
 rsync -av -e "ssh -oIdentityFile=$HOME/.ssh/ffxbld_dsa" --exclude=*complete.mar update ffxbld@stage-old.mozilla.org:/pub/mozilla.org/firefox/nightly/3.5.5-candidates/build1/
 cd ../../../../..
 rsync -av aus2/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20091103-Firefox-3.5.3-3.5.5-partials
 rsync -av aus2.test cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20091103-Firefox-3.5.3-3.5.5-partials-test
 rsync -av aus2.beta cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20091103-Firefox-3.5.3-3.5.5-partials-beta

On aus2-staging:

  # Fix up bad rsync above
  cd 20091103-Firefox-3.5.3-3.5.5-partials-test; mv aus2.test/Firefox .; rm -rf aus2.test
  cd 20091103-Firefox-3.5.3-3.5.5-partials-beta; mv aus2.beta/Firefox .; rm -rf aus2.beta
 ~/bin/backupsnip 20091103-Firefox-3.5.3-3.5.5-partials-test && ~/bin/pushsnip 20091103-Firefox-3.5.3-3.5.5-partials-test

Update verify

Automated runs green for all platforms.

3.5.3 -> 3.5.5 update verify

Checked in this patch and kicked the update_verify builders on pm02.

  • Linux: green
  • Mac: green
  • Windows: green

Publish updates to beta channel

be sure to push the 3.5.3 -> 3.5.5 beta snippets in addition to the normal ones

Update Bouncer

Final checks before push

   cd /pub/mozilla.org/firefox/nightly/3.5.5-candidates/build1/
   find . ! -user ffxbld
   find . ! -group firefox
   find . -type f ! -perm 644
   find . -type d -mindepth 1 ! -perm 755 ! -name 'contrib*'
   find . -type d -maxdepth 1 ! -perm 2775  -name 'contrib*'

Only showed solaris contrib builds, which is expected.

Push to mirrors

 # ffxbld@stage
 rsync -av --exclude=*.log --exclude=*.txt --exclude=*unsigned* /pub/mozilla.org/firefox/nightly/3.5.5-candidates/build1/ /pub/mozilla.org/firefox/releases/3.5.5/
 # cltbld@stage
 vim /pub/mozilla.org/zz/rsyncd-mozilla-current.exclude
 # replace 3.5.4 with 3.5.5

Final Verification

Push updates to release channel

Release

XULRunner build

Created the builds by going to the buildbot waterfall for mozilla-1.9.1 and forcing builds for linux (not x64), mac and windows xulrunner. Set the branch to 'releases/mozilla-1.9.1' and revision to 'FIREFOX_3_5_5_RELEASE'.

When they finished, as xrbld@stage moved the dir from /pub/mozilla.org/xulrunner/nightly/2009/11/2009-11-03-07-mozilla-1.9.1/ to ..../nightly/1.9.1.5-candidates/build1. Removed the broken symlink at xulrunner/nightly/2009-11-03-07-mozilla-1.9.1. Contacted mfinkle and dtownsend for smoketest QA.