Releases/Firefox 3.1a1:BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

bhearsum

Signed-off Revision

http://hg.mozilla.org/mozilla-central/index.cgi/rev/16708f23daf5

Bugs

Filed version bump bug in 446660

Tags

Module Tag Changeset
mozilla-central FIREFOX_3_1a1_BUILD1 9d9941eacb14
mozilla-central FIREFOX_3_1a1_BUILD2

FIREFOX_3_1a1_RELEASE

c1d7e318a275

Build data

Type Build ID SHA1 Push date Build machine
[Windows installer/zip] 2008072310 moz2-win32-slave01
[Mac compressed] 2008072510 bm-xserve18
[Linux compressed] 2008072306 moz2-linux-slave05

Build 1

  • Done completely manually (no tinderbox, bootstrap, or buildbot).

Tagging

Source

(Full, ugly, log is here: https://bugzilla.mozilla.org/attachment.cgi?id=330980)

  • Created a tar.bz2 and hg bundle. Basically, did this:
hg clone http://hg.mozilla.org/mozilla-central
cd mozilla-central
hg up -r FIREFOX_3_1a1_BUILD1
hg bundle --base 0 -r FIREFOX_3_1a1_BUILD1 ../firefox-3.1a1-source.bundle
rm -rf .hg*
tar -cjf ../firefox-3.1a1-source.tar.bz2 .
  • Pushed to stage.m.o:/home/ftp/pub/firefox/nightly/3.1a1-candidates/build1/

Build

Full logs are in the version bump bug. Basically, did this:

hg clone http://hg.mozilla.org/mozilla-central
cd mozilla-central
hg up -r FIREFOX_3_1a1_BUILD1
hg clone http://hg.mozilla.org/build/buildbot-configs configs
cp configs/mozilla2/win32-release/mozconfig .mozconfig
cat .mozconfig
export MOZ_OBJDIR=fx-objdir
make -f client.mk build # 'make -f client.mk profiledbuild' on windows
cd fx-objdir
make package # 'make installer' on windows
export SYMBOL_SERVER_HOST=dm-symbolpush01.mozilla.org
export SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_ffx/
export SYMBOL_SERVER_USER=ffxbld
export SYMBOL_SERVER_SSH_KEY=$properPathForHost
make buildsymbols
make uploadsymbols
  • Pushed to dated directories (2008-07-23-06 and 2008-07-23-08), and 3.1a1-candidates

Sign

Signed windows builds with instructions here: https://intranet.mozilla.org/Build:Signing Had to tag: browser/installer/windows/app.tag other-licenses/7zstub/firefox/7zSD.sfx

with FIREFOX_3_1a1_BUILD1 in CVS, because the signing tools do not support pulling stub files from HG (FIXME)

Build 2

Build 2 is a mac-only respin to pick-up https://bugzilla.mozilla.org/show_bug.cgi?id=444963

Tagging

  • Tagged afc4ee509d9c as FIREFOX_3_1a1_BUILD2 and FIREFOX_3_1a1_RELEASE (moved from _BUILD1)

Source

Forgot to log :(

  • Created a tar.bz2 and hg bundle. Basically, did this:
hg clone http://hg.mozilla.org/mozilla-central
cd mozilla-central
hg up -r FIREFOX_3_1a1_BUILD2
hg bundle --base 0 -r FIREFOX_3_1a1_BUILD2 ../firefox-3.1a1-source.bundle
rm -rf .hg*
tar -cjf ../firefox-3.1a1-source.tar.bz2 .
  • Pushed to stage.m.o:/home/ftp/pub/firefox/nightly/3.1a1-candidates/build2/

Build

Forgot to log what I did. Basically, did this:

hg clone http://hg.mozilla.org/mozilla-central
cd mozilla-central
hg up -r FIREFOX_3_1a1_BUILD2
hg clone http://hg.mozilla.org/build/buildbot-configs configs
cp configs/mozilla2/win32-release/mozconfig .mozconfig
cat .mozconfig
export MOZ_OBJDIR=fx-objdir
make -f client.mk build # 'make -f client.mk profiledbuild' on windows
cd fx-objdir
make package # 'make installer' on windows
export SYMBOL_SERVER_HOST=dm-symbolpush01.mozilla.org
export SYMBOL_SERVER_PATH=/mnt/netapp/breakpad/symbols_ffx/
export SYMBOL_SERVER_USER=ffxbld
export SYMBOL_SERVER_SSH_KEY=$properPathForHost
make buildsymbols
make uploadsymbols
  • Pushed to dated directories (2008-07-23-06 and 2008-07-23-08), and 3.1a1-candidates

Sign

  • Only Mac was rebuilt, so no need to re-sign win32 bits.

Stage

  • Manually renamed and moved the files around to recreate the usual long filename and directory structure.

Sign installers

  • Done manually using these installer-signing-instructions here
  • complete stage-merged:
  • Mount point to /data/cltbld, as well as cltbld user a/c, was broken because bug 448019. Did this as root instead, using different mount points.
  • on stage, manually renamed the files to fall into the usual 3.1a1/[o.s.]/[long-filename-format]
$ cd /ftp/pub/....mumble...mumble.../firefox
$ rsync -av nightly/3.1a1-candidates/build2 releases/3.1a1
  • Create MD5 and SHA1 checksum files
# on stage
cd releases/3.1a1
  • Fix permissions & ownership (usually just the two SUM files, but this time all the files had been rsync'd as root)
chown -R cltbld:firefox .

FIXME: skipped over

~/bin/checksum-files .
chmod 644 *SUMS "

...as the checksum-files script was unavailable because the disk was down. See bug 448019 for details. This means we are missing the MD5SUMS and SHA1SUMS files.


Loose ends

1) Moved all the files to ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/shiretoko/alpha1 and renamed files as follows:

Shiretoko Alpha 1 Setup.exe
Shiretoko Alpha 1.dmg
shiretoko-alpha1.en-US.linux-i686.tar.bz2
shiretoko-alpha1-source.bundle
shiretoko-alpha1-source.tar.bz2

2) Stage.m.o is now healthy again, so fixed the missing *SUMS files:

~/bin/checksum-files .
chmod 644 *SUMS "
chown -R cltbld:firefox .

NB: The linux tar.bz2 should be named shiretoko-alpha1.tar.bz2 - corrected by nthomas with matching fix to .asc and SUMS files