Releases/Firefox 3.7a3/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

Tracking bug

Signed-off Revision(s)

fcd3ffeb34ef

Tags

On mozilla-central:

Build # Tag Changeset
1 GECKO193a3_20100315_RELBRANCH fcd3ffeb34ef
FIREFOX_3_7a3_BUILD1, FIREFOX_3_7a3_RELEASE 148b45c740fa

Build data

Type Build ID Build machine
[Windows installer/zip]
[Mac compressed]
[Linux compressed]

Notes

  • Done on pm02

Build 1

  • Used clobberer to clean up previous releases dirs
  • Landed config update
  • Had to restart pm02 because it wasn't responding to reconfigs
  • Closed mozilla-central
  • sendchange:
buildbot sendchange --username=bhearsum --master=localhost:9010 --branch=mozilla-central -m "Firefox 3.7a3build1 gogogo" go

Tag

moz2-linux-slave31

  • No problems
  • Re-opened mozilla-central

Source

moz2-linux-slave40
Had to manually rename to 'mozilladeveloperpreview-3.7a3.{source.tar.bz2,.bundle}' because source packages don't obey in-repo branding. Would be fixed with bug 510770:

# ffxbld@stage
cd /home/ftp/pub/firefox/nightly/3.7a3-candidates/build1/source
rename firefox mozilladeveloperpreview *

Build

moz2-linux-slave33, win32-slave59, bm-xserve22

  • Linux: no problems
  • Mac: no problems
  • Win32: no problems

Sign

instructions Signing didn't work out-of-box - bug 545017 - had to do this instead of the 4th command of 'Run it':

make setup download stubs PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
PRODUCT=mozilladeveloperpreview
# sign-files fails to copy non-existent xpi, no locales expected so that's fine
make sign-files PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
make checksum-files create-sigs stage verify PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
PRODUCT=firefox
make fake-upload PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
make upload PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1

Updates

moz2-linux-slave43

  • Created configs manually (update verify, patcher)
  • Had to use this modification of ReleaseUpdatesFactory to avoid it overwriting the working patcher and update verify configs (FIXME)
  • Had to tag m-c with UPDATE_PACKAGING_R9 and UPDATE_PACKAGING_R10 to get the build-tools part of generation working
  • No other problems

Update Verify

moz2-linux-slave50, win32-slave40, moz2-darwin9-slave37

  • Linux: PASS
  • Windows: PASS
  • Mac: PASS

Fix appv in snippets

tchung reported that update dialogues said "MozillaDeveloperPreview Developer Preview 3". To fix, used the following commands on aus2-staging (after testing in a separate directory):

# cltbld
cd /opt/aus2/snippets/staging/20100316-Firefox-3.7a3-test
for i in `find . -iname "complete.txt" -or -iname "partial.txt"`; do sed -i -e 's/Developer Preview //' $i; done
cd ../20100316-Firefox-3.7a3
for i in `find . -iname "complete.txt" -or -iname "partial.txt"`; do sed -i -e 's/Developer Preview //' $i; done
cd ../
# no backupsnip because nick had *just* run it
~/bin/pushsnip 20100316-Firefox-3.7a3-test

Update Bouncer

Final checks before push

Each of the find calls should return no output.

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

Output about contrib/, but that's OK.

Push to mirrors

# ffxbld@stage
rsync -av --exclude=*tests* --exclude=*crashreporter* --exclude=*.log --exclude=*.txt --exclude=*unsigned* /pub/mozilla.org/firefox/nightly/3.7a3-candidates/build1/ /pub/mozilla.org/firefox/releases/devpreview/1.9.3a3

Final verify

Run by hand because pm02 had already been switched back to 3.5.9

  • Verify that releasetest points to valid bouncer links:
hg clone http://hg.mozilla.org/build/tools
cd tools/release/updates
cat moz193-firefox-{win32,mac,linux}.cfg | sed 's/betatest/releasetest/' | grep -v 2.0a | grep -v 2.0b > update.cfg
./verify.sh -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
  • Before pushing final updates,verify that "release" and "releasetest" channel match:
# on aus2-staging
cd /opt/aus2/snippets/staging/20100316-Firefox-3.7a3
find -type d -iregex '.*release.*' | perl -nle '$a = $_; $a =~ s/beta/releasetest/; system("diff -r -u $_ ../20100316-Firefox-3.7a3-test/$a");'

Push snippets to beta channel

# cltbld@aus2-staging
~/bin/backupsnip 20100316-Firefox-3.7a3
~/bin/pushsnip 20100316-Firefox-3.7a3

Fix details URL

QA reported that the snippet links were wrong. Set to http://www.mozilla.com/en-US/firefox/3.7a3/releasenotes/ when it should be http://www.mozilla.org/projects/devpreview/releasenotes/.

# cltbld @ aus2-staging
cd /opt/aus2/snippets/staging
rsync -av 20100316-Firefox-3.7a3/ 20100316-Firefox-3.7a3-fixed/
cd 20100316-Firefox-3.7a3-fixed
for i in `find . -iname "complete.txt" -or -iname "partial.txt"`; do sed -i -e 's,http://www.mozilla.com/en-US/firefox/3.7a3/releasenotes/,http://www.mozilla.org/projects/devpreview/releasenotes/,' $i; done
cd ..
~/bin/backupsnip 20100316-Firefox-3.7a3-fixed
~/bin/pushsnip 20100316-Firefox-3.7a3-fixed

Release

Nothing to do here for an alpha