Releases/Firefox 3.0.7/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

Tracking release bug

Bonsai queries


Build 1:

Module Branch Tag Pull date
cvsroot/mozilla HEAD FIREFOX_3_0_7_BUILD1 2009-02-05 01:44 PST
l10n/l10n HEAD FIREFOX_3_0_7_BUILD1 2009-02-03 10:15 PST

Build 2:

Module Branch Tag Pull date
cvsroot/mozilla GECKO190_20090217_RELBRANCH FIREFOX_3_0_7_BUILD2 FIREFOX_3_0_7_RELEASE 2009-02-19 05:45 PST
l10n/l10n GECKO190_20090217_RELBRANCH FIREFOX_3_0_7_BUILD1 FIREFOX_3_0_7_RELEASE 2009-02-19 05:45 PST

Build data

Type Build ID SHA1 Push date Build machine
[Windows installer/zip] 2009021910 fx-win32-1.9-slave2
[Mac compressed] 2009021906 fx-mac-1.9-slave2
[Linux compressed] 2009021906 fx-linux-1.9-slave2


Build 1

Setup before starting:

  • On linux slave (fx-linux-1.9-slave2):
    • Deleted /builds/verify/firefox-305-31b2-test-major
    • Deleted /builds/verify/firefox-3.0.6
    • Deleted /builds/updates/firefox-3.0.6
    • Deleted /builds/source/firefox-3.0.6
    • Deleted /builds/data/cltbld/firefox-3.0.6
    • Deleted /builds/tags/FIREFOX_3_0_1_BUILD1
    • Deleted /builds/tags/FIREFOX_3_0_2_BUILD2
    • Deleted /builds/tags/FIREFOX_3_0_2_BUILD3
  • On mac slave (fx-mac-1.9-slave2):
    • Deleted /builds/verify/firefox-3.0.5
    • Deleted /builds/verify/firefox-3.0.6
    • Deleted /builds/verify/firefox-305-31b2-test-major
  • On windows slave (fx-win32-1.9-slave2):
    • Deleted /e/builds/buildbot/trunk-automation/twistd.log.??
    • Deleted /e/builds/buildbot/trunk-automation/twistd.log.???
    • Deleted /e/xr19rel/WINNT_5.2_Depend
    • Deleted /e/fx19l10nrel/WINNT_5.2_Depend
  • Space on slaves before starting:
    • fx-mac-1.9-slave2: 20GB on /
    • fx-linux-1.9-slave2: 21GB on /
    • fx-win32-1.9-slave2: 9.5GB on E, 16GB on D
  • Kicked off automation:
buildbot sendchange --username=bhearsum --master=localhost:9989 -m"Firefox 3.0.7build1 release" go


Noticed that I screwed up the cut-off times (01:44 PST instead of 01:45 PST). Checked in a fix, delete /build/tags/FIREFOX_3_0_7_BUILD1 on the linux slave, and restarted. No problems after that.


No problems.

Build & Repack

Before this was finished we were told that a respin would be necssary. Notes continue in Build 2 section.

Build 2

  • Checked in updated bootstrap config file and retagged


No problems


No problems.

Build & Repack

No problems.


No problems.


Failed out with:

Use of uninitialized value in -e at Bootstrap/ line 333.
Step Repack died: ASSERT: Bootstrap::Step::HgUpdate(): repoDir doesn't exist at Bootstrap/ line 333.

Coop looked into this and said it was a typo in one of his patches. After a fix was checked in and retagged this went fine.
Only changes were in 'is' on all platforms for a legitimate string change

Generate Updates

No problems.

Publish Updates to Test Channels (betatest & releasetest)

No problems.

Update Verify

All platforms hung because the host key was not accepted. Accepted it and restarted them.
Linux&Mac passed, issues as always with win32 because of the .chk files. No real problems.


No problems.

Push updates to beta channel

# cltbld@aus2-staging.m.o
# make sure scripts are up to date
cd bin
cvs up
cd /opt/aus2/snippets/staging
~/bin/backupsnip 20090220-Firefox-3.0.7-beta
~/bin/pushsnip 20090220-Firefox-3.0.7-beta

Sign Installers

Done manually using these installer-signing-instructions here.

  • complete stage-merged:
# on stage
cd /data/cltbld/firefox-3.0.7/
rsync -av batch1/mar/ stage-merged/
rsync -av batch1/stage-signed/ stage-merged/
  • Create MD5 and SHA1 checksum files
# on stage
cd /data/cltbld/firefox-3.0.7/stage-merged/
~/bin/checksum-files .
  • Fix permissions & ownership (on the two SUM files, and the detached sigs)
chown -R cltbld:firefox .
chmod 644 *SUMS

Update Bouncer

  • Done.
  • Note for next release: Do not remove the Check Now bit on the Firefox-3.0.7 Products until well after the change to the rsync module (to prevent the likes of bug 464566)

Push to mirrors

  • push the stage-merged directory to the releases area:
# on stage
rsync -av /data/cltbld/firefox-3.0.7/stage-merged/ /home/ftp/pub/firefox/releases/3.0.7/
  • edit the exclude file /pub/ to add the new release (3.0.7) and remove the previous release (3.0.6).

Final Verification

  • Verify that releasetest points to valid bounce links:
hg clone
cd tools/release/updates
cat moz19-firefox-*.cfg | grep -v major | sed 's/betatest/releasetest/' > update.cfg
./ -t update.cfg 2>&1 | tee quickVerify.log
  • Look for any HTTP error codes besides 200 ("OK") and 302 ("Found"):
grep HTTP quickVerify.log | grep -v 200 | grep -v 302
    • A few errors due to partially synced mirrors. By the time I went around to look at them they'd all recovered.
  • Before pushing final updates, verify that "release" and "releasetest" channel match:
# on aus2-staging
$ cd /opt/aus2/snippets/staging/20090220-Firefox-3.0.7
$ find -type d -iregex '.*release.*' | perl -nle '$a = $_; $a =~ s/release/releasetest/; system("diff -r -u $_ ../20090220-Firefox-3.0.7-test/$a");'

Publish Updates to Release Channel

# cltbld@aus2-staging
cd /opt/aus2/snippets/staging
~/bin/backupsnip 20090220-Firefox-3.0.7
~/bin/pushsnip 20090220-Firefox-3.0.7


# cltbld@stage
cd /home/ftp/pub/firefox/releases
rm latest-3.0 && ln -s 3.0.7 latest-3.0