Releases/Firefox 3.6b2/BuildNotes

From MozillaWiki
Jump to: navigation, search

NB: Text that is italicized indicates tasks still to be done, or information that needs to be filled in.

Build Engineers

RelEng tag team:

  • PST:
  • EST: coop
  • NZDT: nthomas

Main tracking bug: bug 526240, WinCE updates: bug 518408

Signed-off Revision(s)

Build 1: 82c375496e83

Tags

On mozilla-central:

Build # Tag Changeset
1 GECKO192b2_20091108_RELBRANCH 82c375496e83
FIREFOX_3_6b2_BUILD1 FIREFOX_3_6b2_RELEASE 03f9782c86df

Build data

Build 1:

Platform Build ID Build machine
Win32 20091108181924 moz2-win32-slave24
Mac 20091108163852 bm-xserve18
Linux 20091108163911 moz2-linux-slave06
WinCE 20091108164810 moz2-win32-slave02

Notes

This release will be done on p-m.

Build 1

  • Clean up previous releases build dirs, just for the slaves we used for 3.6b1 build3. Used cssh for linux/mac, RDP as Administrator on win32.
    • Linux: moz2-linux-slave01,02,05-10,16,20,30; rm -rf /builds/slave/{tag,source,linux_build,linux_repack,updates,linux_update_verify,final_verification}/*
    • Mac: bm-xserve07,09; moz2-darwin9-slave02,05-10,12,16; rm -rf /builds/slave/{macosx_build,macosx_repack,l10n_verification, macosx_update_verify}/*
    • Win32: moz2-win32-slave01,02,05-10,16,17,23; rm -rf /e/builds/moz2_slave/{win32_build,win32_repack,win32_update_verify,wince_build}/*
  • Got review on the release config patch, landed, reconfig p-m
  • Axel has already provided shipped-locales and l10n-changesets_mozilla-1.9.2 (bug 526622), but may land further updates
  • Closed the mozilla-1.9.2 tree
  • Tagged build/{buildbot-configs,buildbotcustom,tools} with FIREFOX_3_6b2_RELEASE
  • Sendchange was
buildbot sendchange --username=nthomas --master=localhost:9010 --branch=releases/mozilla-1.9.2 -m "Firefox 3.6b2 build1" ShakeAndBakeBaby

Socorro product data updates

Filed bug against IT to add the following entries to the Socorro db:

INSERT INTO productdims (product, version, branch, release)
   VALUES ('Firefox','3.6b2', '1.9.2', 'milestone');
INSERT INTO productdims (product, version, branch, release)
   VALUES ('Firefox','3.6b3pre', '1.9.2', 'development');
INSERT INTO product_visibility (productdims_id,start_date,end_date) 
    SELECT id, '2009-11-08' as start_date, '2010-02-06' as end_date 
    FROM productdims 
    WHERE product = 'Firefox' AND version = '3.6b2';
INSERT INTO product_visibility (productdims_id,start_date,end_date) 
    SELECT id, '2009-11-08' as start_date, '2010-02-06' as end_date 
    FROM productdims 
    WHERE product = 'Firefox' AND version = '3.6b3pre';

bug 527613

Tag

  • Finished OK but source and en-US builds were not triggered.
  • Re-opened mozilla-1.9.2
  • Version bump landed (app version, monitoring)

Source

Forced build, no problems

Build/Repack

Forced en-US builds using waterfall (no properties set other than who and reason). No problems with them.

l10n builds were forced one platform at a time, after each en-US finishing. Setup:

# on nthomas's laptop:
mkdir -p ~/tmp/3.6b2-l10n
cd ~/tmp/3.6b2-l10n
hg clone http://hg.mozilla.org/build/tools
hg clone http://hg.mozilla.org/build/buildbotcustom
hg clone http://hg.mozilla.org/build/buildbot
cd tools/buildbot-helpers

The forcing:

# linux
PYTHONPATH=../../:../../buildbot python force_release_l10n.py -m http://production-master.build.mozilla.org:8010 -v -t FIREFOX_3_6b2_RELEASE -b releases/mozilla-1.9.2 -p linux -n nthomas
# mac
PYTHONPATH=../../:../../buildbot python force_release_l10n.py -m http://production-master.build.mozilla.org:8010 -v -t FIREFOX_3_6b2_RELEASE -b releases/mozilla-1.9.2 -p macosx -n nthomas
# win32
PYTHONPATH=../../:../../buildbot python force_release_l10n.py -m http://production-master.build.mozilla.org:8010 -v -t FIREFOX_3_6b2_RELEASE -b releases/mozilla-1.9.2 -p win32 -n nthomas

Hit an issue with mac where ja-JP-mac was not triggered. Used the script in -s <file> mode to work around, bug 527398 for the fix.

Manual verification that all l10n builds present:

# stage
cd /home/ftp/pub/firefox/nightly/3.6b2-candidates/build1
# each should be 47 = en-US  + 46 l10n builds
for p in linux-i686 mac unsigned/win32; do
  echo `ls $p | grep -v xpi | wc -l` $p
done

Removed en-US.xpi from the 3.6b2-candidates/build1/ directory on stage.

Sign

L10nVerify

* (slave: bm-xserve11) no problems

Generate updates and push betatest snippets

Like 3.6b1, the automation generated updates for win32/mac/linux-i686 as normal. It failed to bump moz192-firefox-wince.cfg, but that's OK because we can't do an automated check anyway, and failure in bump_verify_configs_4 can be ignored. FIXME We should disable this bump and the wince_update_verify builder.

WinCE updates required some manual work. Logged on to the slave that generated the updates (moz2-linux-slave09), and

cd /builds/slave/updates/build/patcher-configs

Constructed a patch to moz192-branch-patcher2.cfg, got review and landed that temporarily. Then

cd /builds/slave/updates/build
perl patcher2.pl --download --app=firefox --brand=Firefox --config=patcher-configs/moz192-branch-patcher2.cfg
perl patcher2.pl --create-patches --partial-patchlist-file=patchlist.cfg --app=firefox --brand=Firefox --config=patcher-configs/moz192-branch-patcher2.cfg
find temp/firefox/3.6a2-3.6b2/ftp/firefox/nightly/3.6b2-candidates/build1 -type f -exec chmod 644 {} \;
find temp/firefox/3.6a2-3.6b2/ftp/firefox/nightly/3.6b2-candidates/build1 -type d -exec chmod 755 {} \;
cd /builds/slave/updates/build/temp/firefox/3.6a2-3.6b2/ftp/firefox/nightly/3.6b2-candidates/build1
rsync -av -e 'ssh -oIdentityFile=~/.ssh/ffxbld_dsa' --exclude=*complete.mar update ffxbld@stage.mozilla.org:/pub/mozilla.org/firefox/nightly/3.6b2-candidates/build1/
cd /builds/slave/updates/build/temp/firefox/3.6a2-3.6b2
rsync -av aus2/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20091109-Firefox-3.6b2-from-3.6a2
rsync -av aus2.test/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20091109-Firefox-3.6b2-from-3.6a2-test

Pushed live

# cltbld@aus2-staging
~/bin/pushsnip 20091109-Firefox-3.6b2-from-3.6a2-test

A backupsnip had earlier been run for the 3.0.15 --> 3.5.5 MU.

Backed out patch to moz192-branch-patcher2.cfg.

Fix snippets to use the right buildid - had used 3.6a2's build1 (20090915194311) instead of build2 (20090920154215).

# cltbld@aus2-staging
cd /opt/aus2/
mv -v incoming/3/Firefox/3.6a2/WINCE_arm-msvc/{20090915194311/,20090920154215/}
mv -v snippets/staging/20091109-Firefox-3.6b2-from-3.6a2-test/Firefox/3.6a2/WINCE_arm-msvc/{20090915194311/,20090920154215/}
mv -v snippets/staging/20091109-Firefox-3.6b2-from-3.6a2/Firefox/3.6a2/WINCE_arm-msvc/{20090915194311/,20090920154215/}

Update verify

  • linux slave: moz2-linux-slave23
  • mac slave: bm-xserve11
  • win32 slave: moz2-win32-slave13
  • failed to find partial updates for locales dropped between b1 and b2. This is EXPECTED. List of affected locales: af, bg, da, ka, kk, ko, mk, nb-NO, nn-NO, sl

Update Bouncer

These extra entries required for WinCE

Product				OS	Path
Firefox-3.6b2			wince	/firefox/releases/3.6b2/wince-arm/en-US/firefox-3.6b2.cab
Firefox-3.6b2-Complete		wince	/firefox/releases/3.6b2/update/wince-arm/en-US/firefox-3.6b2.complete.mar
Firefox-3.6b2-Partial-3.6a2	wince	/firefox/releases/3.6b2/update/wince-arm/en-US/firefox-3.6a2-3.6b2.partial.mar

The last one is different for this release only. There was no b1 for WinCE and we have to catch up a2 users.

Final checks before push

cd /pub/mozilla.org/firefox/nightly/3.6b2-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 returns Solaris builds (different user).

Push to mirrors

Go from beltzner via IRC at 09:15 PST. WinCE *is* being included.

# ffxbld@stage
rsync -av --exclude=*.log --exclude=*.txt --exclude=*unsigned* /pub/mozilla.org/firefox/nightly/3.6b2-candidates/build1/ /pub/mozilla.org/firefox/releases/3.6b2/

WinCE is not appearing in bouncer product uptake tables: bug 527719

Final Verification

  • (slave: moz2-linux-slave25): in progress
  • failed to find partial updates for locales dropped between b1 and b2. This is EXPECTED. List of affected locales: af, bg, da, ka, kk, ko, mk, nb-NO, nn-NO, sl

Push updates to release channel

Start doing backupsnip a few hours at least before the release time

# cltbld@aus2-staging
time ~/bin/backupsnip 20091108-Firefox-3.6b2

After go from drivers

time ~/bin/pushsnip 20091108-Firefox-3.6b2
time ~/bin/pushsnip 20091109-Firefox-3.6b2-from-3.6a2

Release

No symlink to update until final comes along.

XULRunner build

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

When they finished, as xrbld@stage moved /pub/mozilla.org/xulrunner/nightly/latest-mozilla-1.9.2/*1.9.2b2.* to ..../nightly/1.9.2b2-candidates/build1/. Contacted mfinkle and dtownsend for smoketest QA.