Releases/Firefox 3.7a1/BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
 
Line 123: Line 123:
  find . -mindepth 1 -type d ! -perm 755 ! -name 'contrib*'
  find . -mindepth 1 -type d ! -perm 755 ! -name 'contrib*'
  find . -mindepth 1 -type d ! -perm 755 ! -name 'contrib*'
  find . -mindepth 1 -type d ! -perm 755 ! -name 'contrib*'
  ^^ Last line is WRONG, should be |find . -maxdepth 1 -type d -perm 2755 ! -name 'contrib*'|
  ^^ Last line is WRONG, should be |find . -maxdepth 1 -type d -perm 2775 ! -name 'contrib*'|
No Solaris builds at this point, so no output from any of these commands.
No Solaris builds at this point, so no output from any of these commands.



Latest revision as of 05:28, 7 September 2010

Build Engineers

bhearsum
Tracking bug: bug 544482

Signed-off Revision(s)

Build1: db1f6446efda

Tags

On mozilla-central:

Build # Tag Changeset
1 GECKO193a1_20100208_RELBRANCH db1f6446efda
FIREFOX_3_7a1_BUILD1, FIREFOX_3_7a1_RELEASE 43e818c28059

Build data

Type Build ID Build machine
[Windows installer/zip] 20100208105635 win32-slave25
[Mac compressed] 20100208064157 moz2-darwin9-slave15
[Linux compressed] 20100208064801 moz2-linux-slave20

Notes

Build 1

  • Used clobberer to clean up previous releases dirs'
  • no l10n in this alpha
  • Land version bump, reconfig production-master, sendchange:
buildbot sendchange --username=bhearsum --master=localhost:9010 --branch=mozilla-central -m "Firefox 3.7a1build1 gogogo" go

Tag

No problems

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.7a1-candidates/source
rename firefox mozilladeveloperpreview *

Build/Repack

  • Linux: no problems
    • unit tests passed
  • Mac: failed at MAR creation, had to kick through manually:
    • 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.7a1 make -C obj-firefox/ppc/tools/update-packaging/
make upload MOZ_OBJDIR=obj-firefox MOZ_PKG_PRETTYNAMES=1 MOZ_PKG_VERSION=3.7a1 POST_UPLOAD_CMD="post_upload.py -p firefox -v 3.7a1 -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
    • On the master, to start the unittests:
buildbot sendchange --username=sendchange-unittest --master=localhost:9010 --branch=macosx-release-unittest --revision=43e818c28059 "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/3.7a1-candidates/build1/mac/en-US/MozillaDeveloperPreview 3.7 Alpha 1.dmg"
    • unit tests passed
  • Win32: First build crashed bug 543034
    • kicked again with 'force build', worked this time
    • sendchange timed out, had to run it by hand.
    • unit tests pass

Deleted en-US.xpi from candidates dir

Sign

instructions Signing didn't work out-of-box -- had to do this (after exporting variables):

make setup download stubs PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
export PRODUCT=mozilladeveloperpreview
# fails, but it doesn't matter
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
export 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

Update Bouncer

Final checks before push

Each of the find calls should return no output.

cd /pub/mozilla.org/firefox/nightly/3.7a1-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*'
^^ Last line is WRONG, should be |find . -maxdepth 1 -type d -perm 2775 ! -name 'contrib*'|

No Solaris builds at this point, so no output from any of these commands.

Push to mirrors

After consultation with release-drivers we decided to ship to: /pub/mozilla.org/firefox/releases/devpreview/1.9.3a1

mkdir /pub/mozilla.org/firefox/releases/devpreview
rsync -av --exclude=*tests* --exclude=*crashreporter* --exclude=*.log --exclude=*.txt --exclude=*unsigned* /pub/mozilla.org/firefox/nightly/3.7a1-candidates/build1/ /pub/mozilla.org/firefox/releases/devpreview/1.9.3a1

Had to file a bug to get Sentry looking at the right locale bug 545396.

Release

Nothing to do here for the first Alpha.