Releases/Firefox 3.5.7/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

lsblakk
bug 535791

Signed-off Revision(s)

Build1: 3d5856f34c3f

Tags

On releases/mozilla-1.9.1:

Build # Tag Changeset
1 GECKO1916_20091130_RELBRANCH 3d5856f34c3f
FIREFOX_3_5_7_BUILD1 655f0b1c7f6a

Build data

Build # Type Build ID Build machine
1 Linux 20091221152502 moz2-linux-slave49
1 Mac 20091221151141 moz2-darwin9-slave18

Notes

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

Build 1

  • Cleaned up slaves
    • Linux: slave30,36,39,40,41,42,43,44,45,46,47,48,49,50
      • rm -rf /builds/slave/{tag,source,linux_build,linux_repack,updates,linux_update_verify,final_verification}/*
    • Win32: slave50,51,52,53,54,55,56,57,58,59
      • rm -rf /e/builds/moz2_slave/{win32_build,win32_repack,win32_update_verify,wince_build}/*
    • Mac: slave21,22,23,24,25,26; xserve21,22
      • rm -rf /builds/slave/{macosx_build,macosx_repack,l10n_verification, macosx_update_verify}/*
  • Landed version bump, reconfig'ed production-master02
  • Closed Firefox 3.5 tree
  • Kicked off automation
buildbot sendchange --username=lsblakk --master=localhost:9010 --branch=releases/mozilla-1.9.1 -m "Firefox 3.5.7 build1" Go

Tag

  • slave: moz2-linux-slave31

No problems
Re-opened tree
Tagged build/{tools,buildbotcustom,buildbot-configs} with FIREFOX_3_5_7_RELEASE

Source

  • slave: moz2-linux-slave43

No problems

Build/Repack

  • Linux repack - sl failed checkout_configs, did a rebuild with en_revision and l10n_revision set to FIREFOX_3_5_7_RELEASE and locale set to sl
  • Mac l10n bombed out because the slaves had not been cleaned up. Fix that and then the second run worked fine after using the force l10n script as follows:
# cltbld@production-master
cd ~/tools
hg pull
hg up -r FIREFOX_3_5_7_RELEASE
cd buildbot-helpers/
python force_release_l10n.py -m http://localhost:8010 -t FIREFOX_3_5_7_RELEASE -v -b releases/mozilla-1.9.1 -p macosx -n lsblakk
  • Win32 repack - no problems
  • removed 3.5.7-candidates/build1/en-US.xpi

Sign

No problems (ran with -j4)

L10nVerify

No problems

Generate updates and push betatest snippets

No problems

Update verify

No problems

Publish updates to beta channel

# cltbld @ aus2-staging
cd /opt/aus2/snippets/staging
# No need to run backupsnip, since nthomas did it for 3.0.17
~/bin/pushsnip 20091221-Firefox-3.5.7-beta

Also - bug 536522 to remove betatest throttling and bug 536591 to update AUS2

Socorro product data updates

poked beltzner - apparently any security group member can do the update according to gavin so from now on we could just do this ourselves if someone from releng is in that group (nthomas? joduinn?)

Update Bouncer

  • Super easy thanks to bouncer buddy

Final checks before push

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

Push to mirrors

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

Virus Scan

Poked IT to scan in bug 537953

Final Verification

Kicked off final_verification - lots of 404s for http://kyoto-mz-dl.sinet.ad.jp so it got disabled in bouncer.

Push updates to release channel

# cltbld @ aus2-staging
cd /opt/aus2/snippets/staging
screen ~/bin/backupsnip 20091221-Firefox-3.5.7
~/bin/pushsnip 20091221-Firefox-3.5.7

Release

# ffxbld@stage
cd /home/ftp/pub/firefox/releases 
rm latest-3.5 && ln -s 3.5.7 latest-3.5

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_7_RELEASE'

When they finished

# as xrbld@stage on a production slave
mkdir -p /pub/mozilla.org/xulrunner/nightly/1.9.1.7-candidates/build1
mv /pub/mozilla.org/xulrunner/nightly/2009-01-05-15-mozilla-1.9.1/* /pub/mozilla.org/xulrunner/nightly/1.9.1.7-candidates/build1 
rm -rf 2009-01-05-15-mozilla-1.9.1

Contact mfinkle and dtownsend for smoketest QA. After go from them:

# cltbld@stage
VERSION=1.9.1.7
FX_VERSION=3.5.7
BUILD=1

mkdir -p ~/xulrunner-${VERSION}/batch1/stage-unsigned/{runtimes,source,sdk}
cd ~/xulrunner-${VERSION}/batch1/stage-unsigned
rsync -av --exclude=*sdk* --exclude=*info* \
  /home/ftp/pub/xulrunner/nightly/${VERSION}-candidates/build${BUILD}/ runtimes/
rsync -av --include=*sdk* --exclude=* \
  /home/ftp/pub/xulrunner/nightly/${VERSION}-candidates/build${BUILD}/ sdk/
cp -pv /pub/mozilla.org/firefox/releases/${FX_VERSION}/source/firefox-${FX_VERSION}.source.tar.bz2 \
  source/xulrunner-${VERSION}.source.tar.bz2
cd ~/xulrunner-${VERSION}/batch1
rsync -av stage-unsigned/ stage-signed/

Then create detached signatures per usual process (with PRODUCT=xulrunner, VERSION=1.9.1.7, don't need BUILD, TAG, or KEYDIR), skip the win32 signing section, do pgp, verify and upload. Back on stage:

cd ~/xulrunner-${VERSION}/batch1/stage-signed
cp /pub/mozilla.org/firefox/releases/${FX_VERSION}/KEY .
~/bin/checksum-files .
chown -R cltbld:xulrunner .
find . -type f -exec chmod -v 644 {} \;
find . -type d -exec chmod -v 755 {} \;
cd ~/xulrunner-${VERSION}/batch1
rsync -nav stage-signed/* /home/ftp/pub/xulrunner/releases/${VERSION}/

If all is fine then

rsync -av stage-signed/* /home/ftp/pub/xulrunner/releases/${VERSION}/

(Mirror updating can take a bit, 10-15 mins this time)

Update the links in these two wiki pages for the version change. NOTE: make sure to update all the links on the page!!!