Releases/Firefox 3.6a1/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

nthomas, bhearsum

Signed-off Revision(s)

Build1: http://hg.mozilla.org/mozilla-central/pushloghtml?changeset=5c913c4662d8

Tags

On mozilla-central:

Build # Tag Changeset
1 GECKO192a1_20090806_RELBRANCH 5c913c4662d8
FIREFOX_3_6a1_BUILD1, FIREFOX_3_6a1_RELEASE da7fbe8a24dd

Build data

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

Notes

Build 1

  • Cleaned up previous releases' build dirs
  • no l10n in this alpha
  • Land version bump, reconfig production-master
  • Dont use sendchange, because we dont want l10n/updates to happen. Just click forcebuild in buildbot master for the tag/source/build steps.

Tag

Clicked Forcebuild to start tag.

  • 1st attempt failed out because of bad patch. bhearsum backed out his change, joduinn cleaned up moz2-linux-slave15, and reclicked forcebuild.
  • 2nd attempt failed out because of bad patch. bhearsum backed out his change, joduinn cleaned up moz2-linux-slave16, and reclicked forcebuild.
  • 3rd attempt worked.

Source

No problems

Build/Repack

  • linux build: no problems.
  • win32 build: no problems.
  • macosx build: failed out with:
using PTY: True
/bin/sh /builds/slave/macosx_build/build/toolkit/crashreporter/tool /upload_symbols.sh "./dist/Namoroka 3.6 Alpha 1.crashreporter-symbols.zip"
Transferring symbols... ./dist/Namoroka 3.6 Alpha 1.crashreporter-symbols.zip
scp: ambiguous target
make: *** [uploadsymbols] Error 1
program finished with exit code 2
elapsedTime=4.495866

Recovery:

#cltbld @ moz2-darwin9-slave09
cd /builds/slave/macosx_build/build/obj-firefox/ppc

# Symbol upload
export SYMBOL_SERVER_HOST=dm-symbolpush01.mozilla.org
export SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_ffx/
export SYMBOL_SERVER_SSH_KEY=/Users/cltbld/.ssh/ffxbld_dsa
export SYMBOL_SERVER_USER=ffxbld
# name doesn't actually matter as long as it doesn't contain more than one space
mv dist/Namoroka\ 3.6\ Alpha\ 1.crashreporter-symbols.zip dist/namoroko-3.6a1-crashreporter-symbols.zip
../../toolkit/crashreporter/tools/upload_symbols.sh dist/namoroko-3.6a1-crashreporter-symbols.zip

# Create dmg
export MOZ_OBJDIR=obj-firefox
export MOZ_PKG_PRETTYNAMES=1
export MOZ_PKG_VERSION=3.6a1
make package 2>&1 | tee ~/package.log

# Create complete mar
cd /builds/slave/macosx_build/build  
# edit obj-firefox/ppc/tools/update-packaging/Makefile to do a single
# s!universal/$(MOZ_PKG_APPNAME)!universal/firefox!
make -C obj-firefox/ppc/tools/update-packaging 2>&1 | tee ~/update-packaging.log

# BuildID
cd /builds/slave/macosx_build/build/obj-firefox/ppc/dist
# look up buildid in
#  universal/firefox/Namoroka.app/Contents/MacOS/application.ini
echo buildID=20090806155510 > macosx_info.txt

# Upload builds
export POST_UPLOAD_CMD='post_upload.py -p firefox -v 3.6a1 -n 1 --release-to-candidates-dir'
export UPLOAD_EXTRA_FILES=macosx_info.txt
export UPLOAD_HOST=stage.mozilla.org
export UPLOAD_SSH_KEY=~/.ssh/ffxbld_dsa
export UPLOAD_TO_TEMP=1
export UPLOAD_USER=ffxbld
make upload

bug 514466 Upload symbols has two problems with files with more than one space in name. Firstly, the hash calculation here assumes the output looks like

 SHA1(dist/namoroko-3.6a1-crashreporter-symbols.zip)= 1210b518ae71241c853b7d9cf795f2e0ce90c855

and gets confused if there are spaces in the filename. Secondly, the quoting in the scp upload doesn't cope with multiple spaces. Mysteriously, it does cope with single spaces, eg Firefox 3.5.2.crashreporter-symbols.zip.

bug 514469 Problem in branding-land for complete mar.

$  make -C obj-firefox/ppc/tools/update-packaging 
mkdir -p ../../dist/update/mac/en-US/
MAR=../../dist/host/bin/mar \
         /builds/slave/macosx_build/build/tools/update-packaging/make_full_update.sh \
         "../../dist/update/mac/en-US//namoroka-3.6a1.complete.mar" \
         "../../dist/universal/Namoroka/Namoroka.app"
/builds/slave/macosx_build/build/tools/update-packaging/make_full_update.sh:  line 42: pushd: ../../dist/universal/Namoroka/Namoroka.app: No such file or directory

The last argument should be

"../../dist/universal/firefox/Namoroka.app"

instead. Something wrong in tools/update-packaging/Makefile.in.

Sign

instructions

  • Kicked off new signing on cm-keymaster01
  • hit 3 problems with signing
    • bug 508962 verify-signatures.py doesn't support different product names
    • bug 508963 Makefile dies if xpis aren't present
    • bug 508965 Product name support is incomplete in the Makefile

L10nVerify

  • N/A

Generate updates and push betatest snippets

  • N/A

Update verify

  • N/A

Publish updates to beta channel

  • N/A

Update Bouncer

Done. NB: this is unusual because we use Namoroko-Alpha1 as the product, and the files will live in /pub/mozilla.org/firefox/releases/namoroka/alpha1/ on the mirrors.

Final checks before push

Each of the find calls should return no output.

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

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

Push to mirrors

# login to another build machine as cltbld
# login from there to stage as ffxbld
mkdir /pub/mozilla.org/firefox/releases/namoroka
rsync -av --exclude=*.log --exclude=*.txt --exclude=*unsigned* /pub/mozilla.org/firefox/nightly/3.6a1-candidates/build1/ /pub/mozilla.org/firefox/releases/namoroka/alpha1

NB: the mkdir is only required for the first alpha.

Had an issue with bouncer not reporting any uptake - turns out to be fallout from checking for zh-TW files. That works great for localized releases, because we don't get mirrors with partial content enabled, but not so much for an en-US only release like this. justdave added an exception to the bouncer sentry to resolve this (all paths matching '/namoroka/').

Final Verification

N/A

Push updates to release channel

N/A

Release

XULRunner build

n/a