Releases/Firefox 3.7a1/BuildNotes: Difference between revisions

 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Build Engineers==
==Build Engineers==
bhearsum
bhearsum
<br/>Tracking bug: {{bug|544482}}


==Signed-off Revision(s)==
==Signed-off Revision(s)==


Build1: [http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=db1f6446efda http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=db1f6446efda]
Build1: [http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=db1f6446efda db1f6446efda]


==Tags==
==Tags==
Line 30: Line 31:
|-
|-
| [Windows installer/zip]
| [Windows installer/zip]
|  
| 20100208105635
|
| win32-slave25
|-
|-
| [Mac compressed]
| [Mac compressed]
|  
| 20100208064157
|
| moz2-darwin9-slave15
|-
|-
| [Linux compressed]
| [Linux compressed]
|  
| 20100208064801
|
| moz2-linux-slave20
|}
|}


Line 61: Line 62:
====Build/Repack====
====Build/Repack====
* Linux: no problems
* 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}}
* 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====
====Sign====
[https://intranet.mozilla.org/Build:CombinedSigning instructions]
[https://intranet.mozilla.org/Build:CombinedSigning 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====
====Update Bouncer====


==== Final checks before push ====
==== Final checks before push ====
Each of the find calls should return no output.
Each of the find calls should return no output.
  cd /pub/mozilla.org/firefox/nightly/3.6a1-candidates/build1/
  cd /pub/mozilla.org/firefox/nightly/3.7a1-candidates/build1/
  find . ! -user ffxbld
  find . ! -user ffxbld
  find . ! -group firefox
  find . ! -group firefox
  find . -type f ! -perm 644
  find . -type f ! -perm 644
  find . -type d -mindepth 1 ! -perm 755 ! -name 'contrib*'
  find . -mindepth 1 -type d ! -perm 755 ! -name 'contrib*'
  find . -type d -maxdepth 1 ! -perm 2775 -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.
No Solaris builds at this point, so no output from any of these commands.


==== Push to mirrors ====
==== 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 ====
==== Release ====
Nothing to do here for the first Alpha.
Confirmed users
4,467

edits