Releases/Firefox 3.7a5/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

  • rail

Tracking bug

Signed-off Revision(s)

b84d0be52070

Tags

mv-moz2-linux-ix-slave05

On mozilla-central:

Build # Tag Changeset
1 GECKO193a5_20100610_RELBRANCH b2f7bc2aa0bc
FIREFOX_3_7a5_BUILD1, FIREFOX_3_7a5_RELEASE c79cf76c1905

Build data

Type Build ID Build machine
[Windows installer/zip] 20100610063440 mw32-ix-slave02
[Mac dmg] 20100610053455 moz2-darwin10-slave23
[Mac64 dmg] 20100610053411 moz2-linux64-slave02
[Linux compressed] 20100610052642 mv-moz2-linux-ix-slave07
[Linux64 compressed] 20100610053237 moz2-darwin10-slave23

Notes

  • Done on pm

Build 1

  • Ben clobbered old releases by clobberer
  • Landed config update (with symlink change in repo, not on master)
  • Deleted .pyc files in moz2-master directory
  • Closed mozilla-central
  • sendchange:
buildbot sendchange --username=rail --master=localhost:9010 --branch=mozilla-central -m "Firefox 3.7a5 build1" Go

Tag

mv-moz2-linux-ix-slave05

  • no problems
  • re-opened mozilla-central

Source

mv-moz2-linux-ix-slave10

Had to manually rename to 'mozilladeveloperpreview-3.7a5.{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.7a5-candidates/build1/source
rename firefox mozilladeveloperpreview *

Build

  • Linux: build is green
    • All unittests are green. linux_test mochitest-other and inux_test xpcshell failed while downloading symbols (refused connection). Had to rebuild them manually.
  • Linux64: build is green, but some sendchanges failed, because we don't pack tests: http://pastebin.mozilla.org/733412. See also bug 560191.
    • No unittests, disabled in config.py
  • Win32: build is green
    • All unittests are green
  • Mac64: build is green
    • Orange unittests: macosx64_test mochitests-1/5, macosx64_test reftest, macosx64_test xpcshell, macosx64_test jsreftest, macosx64_test mochitest-other.
  • Mac: build is green
    • All unittests are green.

Sign

en-US.xpi removed from stage

Ben tagged the {tools,buildbotcustom,buildbot-configs} repos:

hg tag FIREFOX_3_7a5_BUILD1
hg tag FIREFOX_3_7a5_RELEASE

instructions Signing didn't work out-of-box - bug 545017 - Did this instead of 'Run it'. Added verify-sigs to verify GPG signatures.

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

PRODUCT=firefox
VERSION=3.7a5
BUILD=1
TAG=FIREFOX_3_7a5_RELEASE
REPO="mozilla-central"
EMAIL=rail@mozilla.com
KEYDIR=d:/2009-keys

cd ~/hg-tools
hg pull
hg up -r ${TAG}
cd -

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

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 verify-sigs \
  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

exit 0
# Run this manually
make upload upload-log verify-signatures2 \
  PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} \
  EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1

verify-signatures2 failed:

Traceback (most recent call last):
  File "./verify-signature.py", line 139, in <module>
    result, msg = check_repack(uf, sf, options.fake, options.product)
  File "./verify-signature.py", line 61, in check_repack
    info = fileInfo(signed, product)
  File "/cygdrive/d/signing-work/firefox-3.7a5/signing.py", line 69, in fileInfo
    raise ValueError("Could not parse: %s" % filepath)
ValueError: Could not parse: signed-build1/update/win32/en-US/mozilladeveloperpreview-3.7a5.complete.mar

Verified signatures manually:

./verify-signature.py --product=mozilladeveloperpreview unsigned-build1/ signed-build1/

Results:

signed-build1/update/win32/en-US/mozilladeveloperpreview-3.7a5.complete.mar True OK
signed-build1/win32/en-US/MozillaDeveloperPreview Setup 3.7 Alpha 5.exe True OK

L10N verification

Failed because there is no localized build. Can be ignored.

Updates

  • patcher bump went fine
  • update verify failed for the new platforms.
    • Somehow we didn't created update verify configs for the new platforms (due to patch(1) limitation creating empty files. Ben pushed empty files. No need to bump them manually or using scripts. There was no previous version, so no updates.
    • In any case update verify bump step for the new platforms should fail while downloading old build ids and can be ignored.

Update Verify

  • Ben helped fixing update verify configs and use unusual ftp path.

Final checks before push

Each of the find calls should return no output.

cd /pub/mozilla.org/firefox/nightly/3.7a5-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*'

Push to mirrors

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

Update Bouncer

  • Ben landed bug 571470 and bug 571471.
  • bouncer_submitter builder failed on its first run, probably due to the limited permissions.
  • bouncer_submitter didn't work, bug 571869, added entries by hand as 'devpreview-1.9.3a5{,-complete,-partial-1.9.3a4}

Didn't add bouncer links for the updates because they'll go unused.

Final verify

final_verification builder doesn't work for devpreview releases. Manually tested each link, PASS.

Push snippets to beta channel

~/bin/backupsnip 20100610-Firefox-3.7a5
~/bin/pushsnip 20100610-Firefox-3.7a5

Fix bouncer product on releasetest/release snippets

We used Firefox-3.7a5-Complete in the snippets instead of DevPreview-1.9.3a5-Complete (and similar for the partial). Fix:

# aus2-staging
cd /opt/aus2/incoming/3/Firefox
find 3.7a* -name beta -exec rm -rfv {} \;

A chmod 700 would have done there.

Fix releasetest

cd /opt/aus2/snippets/staging
rsync -a 20100610-Firefox-3.7a5-test/ 20100614-Firefox-3.7a5-fixed-test/
cd 20100614-Firefox-3.7a5-fixed-test/
find . -depth -type d -name 'betatest' -exec rm -rf {} \;
find . -type f -exec sed -i -e 's/firefox-3\.7a5/devpreview-1.9.3a5/' -e 's/partial-3\.7a4/partial-1.9.3a4/' {} \;
~/bin/backupsnip 20100614-Firefox-3.7a5-fixed-test
~/bin/pushsnip 20100614-Firefox-3.7a5-fixed-test

Fix release too

cd /opt/aus2/snippets/staging
rsync -a 20100614-Firefox-3.7a5-fixed-test/ 20100614-Firefox-3.7a5-fixed/
cd 20100614-Firefox-3.7a5-fixed
find . -name 'en-US' -exec mv {}/{releasetest,beta} \;
diff -ru ../20100610-Firefox-3.7a5 .

Only the urls are changing. After go from Marcia

~/bin/backupsnip 20100614-Firefox-3.7a5-fixed
~/bin/pushsnip 20100614-Firefox-3.7a5-fixed

Release

Nothing to do here for an Alpha.