Releases/Firefox 3.7a2/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

nthomas
Tracking bug

Signed-off Revision(s)

Build 1: 3874a469cf09

Tags

On mozilla-central:

Build # Tag Changeset
1 GECKO193a2_20100228_RELBRANCH 3874a469cf09
FIREFOX_3_7a2_BUILD1, FIREFOX_3_7a2_RELEASE 7b97c72399a0

Build data

Type Build ID Build machine
[Windows installer/zip] 20100228165829 win32-slave15
[Mac compressed] 20100228155422 moz2-darwin9-slave23
[Linux compressed] 20100228153229 moz2-linux-slave18

Notes

  • using production-master
  • no l10n in this alpha

Build 1

  • Used clobberer to clean up previous releases dirs
  • Land automation bump, reconfig production-master
  • close mozilla-central
  • sendchange:
buildbot sendchange --username=nthomas --master=localhost:9010 --branch=mozilla-central -m "Firefox 3.7a2build1 gogogo" go

Tag

  • No problems
  • Landed version bump to 3.7a3pre
  • reopen mozilla-central

Source

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

Build/Repack

Linux: no problems, tests green except for one known orange in xpcshell bug 539002

Win32: no problems, tests all green

Mac: fails at mar creation (like 3.7a1), filed bug 549265 and ended up duped to bug 540833

make -C obj-firefox/ppc/tools/update-packaging
mkdir -p ../../dist/update/mac/en-US/
MAR=/builds/slave/macosx_build/build/obj-firefox/ppc/dist/host/bin/mar \
	  /builds/slave/macosx_build/build/tools/update-packaging/make_full_update.sh \
	  "../../dist/update/mac/en-US//mozilladeveloperpreview-3.7a2.complete.mar" \
	  "../../dist/universal/MozillaDeveloperPreview/MozillaDeveloperPreview.app"
/builds/slave/macosx_build/build/tools/update-packaging/make_full_update.sh: line 42: pushd: ../../dist/universal/MozillaDeveloperPreview/MozillaDeveloperPreview.app: No such file or directory
  • Applied this patch as a workaround:
diff --git a/tools/update-packaging/Makefile.in b/tools/update-packaging/Makefile.in
--- a/tools/update-packaging/Makefile.in
+++ b/tools/update-packaging/Makefile.in
@@ -53,17 +53,17 @@ PACKAGE_BASE_DIR	= $(DIST)
 # Default output location for update archive
 STAGE_DIR	= $(DIST)/$(PKG_UPDATE_PATH)

 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 ifdef UNIVERSAL_BINARY
 ifneq (,$(filter %/l10n-stage,$(PACKAGE_BASE_DIR)))
 PACKAGE_DIR	= $(PACKAGE_BASE_DIR)/$(MOZ_PKG_APPNAME)/$(MOZ_APP_DISPLAYNAME).app
 else
-PACKAGE_DIR	= $(PACKAGE_BASE_DIR)/universal/$(MOZ_PKG_APPNAME)/$(MOZ_APP_DISPLAYNAME).app
+PACKAGE_DIR	= $(PACKAGE_BASE_DIR)/universal/$(MOZ_PKG_DIR)/$(MOZ_APP_DISPLAYNAME).app
 endif
 else
 PACKAGE_DIR	= $(PACKAGE_BASE_DIR)/$(MOZ_PKG_APPNAME)/$(MOZ_APP_DISPLAYNAME).app
 endif
 else
 PACKAGE_DIR	= $(PACKAGE_BASE_DIR)/$(MOZ_PKG_DIR)
 endif
  • Ran these commands to finish up the build on the slave:
cd /builds/slave/macosx_build/build
MOZ_OBJDIR=obj-firefox MOZ_PKG_PRETTYNAMES=1 MOZ_PKG_VERSION=3.7a2 make -C obj-firefox/ppc/tools/update-packaging/
echo buildID=20100228155422 > obj-firefox/ppc/dist/macosx_info.txt
MOZ_OBJDIR=obj-firefox MOZ_PKG_PRETTYNAMES=1 MOZ_PKG_VERSION=3.7a2 POST_UPLOAD_CMD="post_upload.py -p firefox -v 3.7a2 -n 1 --release-to-candidates-dir" UPLOAD_EXTRA_FILES=macosx_info.txt UPLOAD_HOST=stage.mozilla.org UPLOAD_SSH_KEY=~/.ssh/ffxbld_dsa UPLOAD_TO_TEMP=1 UPLOAD_USER=ffxbld make upload -C obj-firefox/ppc
  • On the master, to start the unittests:
buildbot sendchange --username=sendchange-unittest --master=localhost:9010 --branch=macosx-release-unittest --revision=7b97c72399a0 "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/3.7a2-candidates/build1/mac/en-US/MozillaDeveloperPreview 3.7 Alpha 2.dmg"
  • unit tests all green

Deleted en-US.xpi from candidates dir - bug 549982

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

Socorro product data updates

dbaron enabled 3.7a2 and 3.7a3pre at crash-stats.m.c. Should be doing this ourselves, using the crashme extension with the appropriate build if no crashes have already been submitted.

Update Bouncer

3 desktop installers/archives, plus 4 for Solaris.

Final checks before push

Each of the find calls should return no output.

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

No solaris builds so no output for any of these checks.

Push to mirrors

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

Release

Nothing to do here for an alpha.