Releases/Firefox 3.5.12/BuildNotes

From MozillaWiki
Jump to: navigation, search

Notes About Releasing

Please update the Release:Primer for future releases (bug fixes, changes to automation) as needed

Build Engineers

coop Tracking bug

Signed-off Revision(s)

Build 1: 9bf43fa8f722

L10N changesets

Signed off on the shipped-locales and l10n-changesets changes in the l10n shipping milestones dashboard.

NOTE: If the "Ship It" button is greyed out for you, Axel will have to grant you access in the db. bug 566468 is on file for having this access happen automatically.

l10n-changesets update landed as part of revision 388d39a54128 to buildbot-configs.

Tags

Build # Tag Changeset
1 GECKO19112_20100824_RELBRANCH be767ca7d143
FIREFOX_3_5_12_BUILD1 FIREFOX_3_5_12_RELEASE fe98f1651feb

Build data

Build # Type Build ID Build machine Time to build
1 Linux 20100824101110 mv-moz2-linux-ix-slave09 30 mins, 59 secs
Mac 20100824102410 bm-xserve22 1 hrs, 45 mins, 44 secs
Windows 20100824110549 mw32-ix-slave20 1 hrs, 30 mins, 14 secs

Notes

Using pm02.

Build 1

  • Used clobberer to clean up all previous releases
  • Moved the following slaves
    • linux: mv-moz2-linux-ix-slave09
    • mac: bm-xserve22
    • win32: mw32-ix-slave20
  • Landed automation version bumps. Tagged tip of buildbot-configs, buildbotcustom, and tools with FIREFOX_3_5_12_RELEASE and FIREFOX_3_5_12_BUILD1
  • updated master checkouts, removed *.pyc from master dir, reconfigured production-master02
  • closed Firefox3.5 tree
  • Kicked off automation
buildbot sendchange --username=coop --master=localhost:9010 --branch=releases/mozilla-1.9.1 -m "Firefox 3.5.12 build1" Go

Tag

No problems. Landed version bump and reopened mozilla-1.9.1.

Source / XULRunner source

No problems

Build/Repack

Linux: No problems Mac: No problems Win32: 7 locales failed (cy, en-GB, eo, ku, ta, te, uk) with an hg error:

TypeError: a2b_hex() argument 1 must be string or read-only buffer, not None

All the failures happened on one slave (win32-slave45), so I shutdown that slave and then used the force_release_l10n.py tool to re-trigger those locales:

./force_release_l10n.py -m http://production-master02.build.mozilla.org:8010 -t FIREFOX_3_5_12_RELEASE -v -s my-locales -n coop

my-locales contained the following:

cy win32
en-GB win32
eo win32
ku win32
ta win32
te win32
uk win32

Note: win32-slave45 kept resurrecting itself and taking new builds. I had to rename the buildbot.tac file to get it to stop, and then force eo and ta again. Filed bug 590384 on the issue.

Socorro product data updates

  • Use crash-stats admin page
  • "Branch Data Sources"
  • If not present in the 'Missing Entries' table (no crashes yet), use the 'add new product version' link
  • Added Firefox 3.5.12 and 3.5.13pre

Signing

Instructions

Removed en-US.xpi from stage.

#!/bin/bash
set -x
set -e

PRODUCT=firefox
VERSION=3.5.12
BUILD=1
TAG=FIREFOX_3_5_12_RELEASE
REPO="releases/mozilla-1.9.1"
EMAIL=coop@mozilla.com
KEYDIR=d:/2009-keys

mkdir -p ~/signing-work/${PRODUCT}-${VERSION}
cd ~/signing-work/${PRODUCT}-${VERSION}
cd ~/hg-tools
hg pull
hg up -r ${TAG}
cd -

cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .

make PRODUCT=${PRODUCT} VERSION=${VERSION} \
  BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} \
  KEYDIR=${KEYDIR} USE_NEW=1

Got "Signature verification succeeded" email. Reviewed stdout, win32_signing_build1.log.

make postsign PRODUCT=${PRODUCT} VERSION=${VERSION} \
    BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL}

Did XULRunner Signing immediately afterwards.

L10N Verify

This is run separately for each platform since bug 571199.

All platforms are green. Same as 3.5.11, Mac has the following (harmless) diff (changes in buildbot path):

diff -r firefox-3.5.11-build1/diffs/mac.bg.diff firefox-3.5.10-build1/diffs/mac.bg.diff
151c151
< > //@line 36 "/builds/moz2_slave/macosx_repack/build/releases/l10n-mozilla-1.9.1/bg/browser/firefox-l10n.js"
---
> > //@line 36 "/builds/slave/macosx_repack/build/releases/l10n-mozilla-1.9.1/bg/browser/firefox-l10n.js"
155c155

Generate updates and push betatest snippets

No problems with automation.

Update Verify

  • Linux: PASS
  • Mac: PASS
  • Win32: PASS

Major Update Generation (-> 3.6.9build1)

Hit Force Build on major update builder

Verification

  • All platforms: no mn for 3.6 (expected)
  • Linux: no problems
  • Mac: no problems
  • Win32: no problems

Publish updates to beta channel

# cltbld @ aus2-staging
cd /opt/aus2/snippets/staging
time ~/bin/backupsnip 20100824-Firefox-3.5.12-beta
time ~/bin/pushsnip 20100824-Firefox-3.5.12-beta

Update Bouncer

Added manually

Final checks before push

# ffxbld@stage
cd /pub/mozilla.org/firefox/nightly/3.5.12-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*'

Virus check

# ffxbld@stage
[ffxbld@surf ~]$ time clamscan -r /mnt/netapp/stage/archive.mozilla.org/pub/firefox/nightly/3.5.12-candidates/build1

----------- SCAN SUMMARY -----------
Known viruses: 824426
Engine version: 0.96.1
Scanned directories: 621
Scanned files: 1469
Infected files: 0
Data scanned: 10835.51 MB
Data read: 8276.71 MB (ratio 1.31:1)
Time: 4424.459 sec (73 m 44 s)

real	73m44.466s
user	37m7.791s
sys	3m12.064s

Push to mirrors

After go from release drivers:

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

Final verify

No problems.

Push updates to release channel (and MU to beta)

3.5.x to 3.5.12 and 3.5.12 -> 3.6.9

# cltbld @aus2-staging
~/bin/backupsnip 20100824-Firefox-3.5.12
~/bin/backupsnip 20100824-Firefox-3.5.12-3.6.9-MU

Realized we had never unthrottled the beta channel, posted AUS version update patch for review.

~/bin/pushsnip 20100824-Firefox-3.5.12
~/bin/pushsnip 20100824-Firefox-3.5.12-3.6.9-MU

Release

As ffxbld@stage:

cd /home/ftp/pub/firefox/releases
rm latest-3.5 && ln -s 3.5.12 latest-3.5

Armen sent the following mail to metrics@mozilla.com:

Firefox,firefox,firefox,3.5.12,3.5
Firefox,firefox,firefox,3.5.13pre,3.5

XULRunner

Automated builds had no problems.

Signing

Used the following script:

#!/bin/bash
set -x
set -e

PRODUCT=xulrunner
VERSION=1.9.1.12
BUILD=1
TAG=FIREFOX_3_5_12_RELEASE
REPO="releases/mozilla-1.9.1"
EMAIL=coop@mozilla.com
KEYDIR=d:/2009-keys

mkdir -p ~/signing-work/${PRODUCT}-${VERSION}
cd ~/signing-work/${PRODUCT}-${VERSION}
cd ~/hg-tools
hg pull
hg up -r ${TAG}
cd -

cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .

make setup PRODUCT=${PRODUCT} VERSION=${VERSION} \
  BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \
  --exclude=*.txt --exclude=*-symbols.zip \
  xrbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates/build${BUILD}/ \
 unsigned-build${BUILD}
rsync -av --exclude=unsigned unsigned-build${BUILD}/ \
 signed-build${BUILD}/
rsync -av unsigned-build${BUILD}/unsigned/ \
 signed-build${BUILD}/

make checksum-files create-sigs stage verify-sigs \
  PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} \
  REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1

rmdir signed-build${BUILD}/contrib{,-localized}

rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \
  signed-build${BUILD}/ \
  xrbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates/build${BUILD}/

Push XULRunner to mirrors

# xrbld@stage
rsync -av --exclude=*.txt --exclude=*unsigned*  --exclude=*-symbols.zip \
  /pub/mozilla.org/xulrunner/nightly/1.9.1.12-candidates/build1/ \
  /pub/mozilla.org/xulrunner/releases/1.9.1.12/

Edited cltbld@stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude and added

- xulrunner/releases/1.9.1.12

Update XULRunner wiki

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