Releases/Firefox 4.0b8/BuildNotes

From MozillaWiki
Jump to navigation Jump to search

Notes About Releasing

Please update the Release:Primer for future releases (bug fixes, changes to automation) as needed

Build Engineers

rail - bug 615555

Signed-off Revision(s)

L10N changesets

Tags

Build # Tag Changeset
1 GECKO20b8_20101214_RELBRANCH abe884259481
FIREFOX_4_0b8_BUILD1/FIREFOX_4_0b8_RELEASE d78f9cb65e91

Build data

Build # Type Build ID Build machine Time to build
1 Linux [compressed .tar.bz2]
Linux64 [compressed .tar.bz2]
Macosx64 [.dmg]
Win32 [.exe/.zip]

Bugs hit

Build 1

Done on pm01

  • No clobberer necessary because this is the first 0.8.0 release on this branch.
  • Landed configs
  • tagged buildbot-configs (production branch), buildbotcustom (production-0.8 branch), and tools (default branch) with FIREFOX_4_0b8_BUILD1 and FIREFOX_4_0b8_RELEASE
  • updated /tools/buildbotcustom/buildbotcustom, /builds/buildbot/configs, and /builds/buildbot/builder_master/tools to latest
  • reconfiged master
  • Left tree open, 0.8.0 automation doesn't require that it closes
  • kicked off automation with:
PYTHONPATH=/builds/buildbot/builder_master1:/builds/buildbot/builder_master1/tools/lib/python python /builds/buildbot/builder_master1/tools/buildbot-helpers/release_sanity.py -u rail -V 4.0b8 --branch mozilla-central --build-number 1 --dryrun localhost:9010
PYTHONPATH=/builds/buildbot/builder_master1:/builds/buildbot/builder_master1/tools/lib/python python /builds/buildbot/builder_master1/tools/buildbot-helpers/release_sanity.py -u rail -V 4.0b8 --branch mozilla-central --build-number 1  localhost:9010

Setup

Tag

The first sendchage was without script_repo_revision:FIREFOX_4_0b8_RELEASE set, and failed in the beginning. The second one sent by release_sanity.py worked fine.

Source

No problems

Build/Repack

Failed l10n repacks: en-ZA, nso, pt-BR

These locales had missing files and compare-locales doesn't handle this case.

Filed bug 619258


  • clobbered all slaves used for repacks (all chunks, all platforms)
  • removed all locales except of en-US from ftp (installers+complete mars)
  • landed the patch and tagged the revision with FIREFOX_4_0b8_BUILD1 and FIREFOX_4_0b8_RELEASE
  • to make sure if the patch works, rebuilt 2nd (failed previously) chunk for linux.
  • win32 repacks didn't work. Landed patch

Later, we noticed that "ja" was missing from 64-bit Linux and "ja-JP-mac" was missing from 64-bit Mac. To fix, did the following manually on moz2-linux64-slave01:

export   HG_SHARE_BASE_DIR=/builds/hg-shared
export   BUILDBOTCUSTOM=http://hg.mozilla.org/build/buildbotcustom
export   BUILDBOT_CONFIGS=http://hg.mozilla.org/build/buildbot-configs
export   CC=/tools/gcc/bin/gcc
export   CXX=/tools/gcc/bin/g++
export   PROPERTIES_FILE=buildprops.json
cd /builds/slave/rel-cen-lnx64-rpk-1/build
/tools/python/bin/python /builds/slave/rel-cen-lnx64-rpk-1/build/scripts/scripts/l10n/create-release-repacks.py -c mozilla/production_config.py -r mozilla/release-firefox-mozilla-central.py -b http://hg.mozilla.org/build/buildbot-configs -t FIREFOX_4_0b8_RELEASE -p linux64 -l ja

And the following on moz2-darwin10-slave13:

export   BUILDBOTCUSTOM=http://hg.mozilla.org/build/buildbotcustom
export   BUILDBOT_CONFIGS=http://hg.mozilla.org/build/buildbot-configs
export   CC=/tools/gcc/bin/gcc
export   CXX=/tools/gcc/bin/g++
export   PROPERTIES_FILE=buildprops.json
cd /builds/slave/rel-cen-osx64-rpk-2/build
/tools/python/bin/python /builds/slave/rel-cen-osx64-rpk-2/build/scripts/scripts/l10n/create-release-repacks.py -c mozilla/production_config.py -r mozilla/release-firefox-mozilla-central.py -b http://hg.mozilla.org/build/buildbot-configs -t FIREFOX_4_0b8_RELEASE -p macosx64 -l ja-JP-mac

Filed bug 619522 on the issue.

Unittests

Results

Signing

To speed up signing, ran the following prior to all repacks being completed:

PRODUCT=firefox
VERSION=4.0b8
BUILD=1
TAG=FIREFOX_4_0b8_RELEASE
REPO='mozilla-central'
EMAIL=rail@mozilla.com
KEYDIR=d:/2010-keys
cd ~/hg-tools
hg pull && hg up -r ${TAG}
mkdir ~/signing-work/${PRODUCT}-${VERSION}
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .
make df verify-gpg-passphrase setup verify-signcode-passphrase PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
# download target run multiple times to get things as they complete
make download PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1

Once all the l10n and partner repacks finished, ran the following in the same window to do the signing:

# Need to download one more time to make sure we've got everything
make download PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
make stubs sign2 stage verify verify-sigs fake-upload PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
  • verify-asc (last step of verify, before fake-upload) failed due to 3 *.checksum files:
./linux-i686/en-US/firefox-4.0b8.checksums
./linux-x86_64/en-US/firefox-4.0b8.checksums
./mac64/en-US/Firefox 4.0 Beta 8.checksums
  • removed the files manually and rerun fake-upload
  • filed bug 619572 with a patch

Finally:

make postsign PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL}

Got "Signature Verification Succeeded" mail later.

L10N Verify

  • A lot of harmless warnings looking like errors: bug 619066

Updates

Special case for old mac universal builds

Add ja-JP-mac and swap to mac in dir names

Update Verify

Return slaves

Final checks before push

Update Bouncer

Socorro product data updates

Virus check

Naming fixup

Rename on ftp server

Fix up *SUMS

Push to mirrors

Final verify

Push snippets to beta channel

Remove index.html files

Release