Releases/Firefox 4.0b8/BuildNotes: Difference between revisions
| Line 259: | Line 259: | ||
find . -mindepth 4 -maxdepth 4 -type d -exec mv {}/{releasetest,beta} \; | find . -mindepth 4 -maxdepth 4 -type d -exec mv {}/{releasetest,beta} \; | ||
</pre> | </pre> | ||
~/bin/backupsnip 20101214-Firefox-4.0b8-test-fixed | |||
~/bin/pushsnip 20101214-Firefox-4.0b8-test-fixed | |||
=== Add ja-JP-mac and swap to mac in dir names === | === Add ja-JP-mac and swap to mac in dir names === | ||
Revision as of 09:58, 16 December 2010
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)
- Build 1: abe884259481
L10N changesets
- wget https://l10n-stage-sj.mozilla.org/shipping/l10n-changesets?ms=fx4.0b8
- hit "ship it" from FF4 beta8 page
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
First attempt failed during unpacking mar
Extracting /builds/slave/rel-cen-updates/build/temp/firefox/4.0b7/ftp/firefox-4.0b7.he.win32.complete.mar to /builds/slave/rel-cen-updates/build/tmpeWytLO-fastmode/195/from IN SHUTDOWN... Failed to remove patcher2.pid: No such file or directory FAIL shell call timed out after 10800 seconds at patcher2.pl line 1619. program finished with exit code 2 elapsedTime=11041.982708
dmesg on linux-ix-slave13:
ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x0) ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x12) ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x2) ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x0) ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x0) ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x1) ata1: spurious interrupt (irq_stat 0x8 active_tag -84148995 sactive 0x0)
Gracefully shutdown linux-ix-slave13, buildbot.tac -> buildbot.tac.off. Filed bug 619624
Special case for old mac universal builds
See Releases/Firefox_4.0b7/BuildNotes#Updates for the details.
#cltbld@aus-staging
cd /opt/aus2/snippets/staging/
cp -r 20101214-Firefox-4.0b8-test 20101214-Firefox-4.0b8-test-fixed
cd 20101214-Firefox-4.0b8-test-fixed/Firefox
mkdir -p 3.7a1/Darwin_Universal-gcc3/20100208064157
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 3.7a1/Darwin_Universal-gcc3/20100208064157
mkdir -p 3.7a2/Darwin_Universal-gcc3/20100228155422
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 3.7a2/Darwin_Universal-gcc3/20100228155422/
mkdir -p 3.7a3/Darwin_Universal-gcc3/20100315065900
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 3.7a3/Darwin_Universal-gcc3/20100315065900/
mkdir -p 3.7a4/Darwin_Universal-gcc3/20100407105356
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 3.7a4/Darwin_Universal-gcc3/20100407105356/
mkdir -p 3.7a5/Darwin_Universal-gcc3/20100610053455
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 3.7a5/Darwin_Universal-gcc3/20100610053455
mkdir -p 4.0b1/Darwin_Universal-gcc3/20100630131607
rsync -av --exclude partial.txt 4.0b1/Darwin_x86_64-gcc3/20100630131936/ 4.0b1/Darwin_Universal-gcc3/20100630131607/
mkdir -p 4.0b2/Darwin_Universal-gcc3/20100720175703
rsync -av --exclude partial.txt 4.0b2/Darwin_x86_64-gcc3/20100720180051/ 4.0b2/Darwin_Universal-gcc3/20100720175703/
mkdir -p 4.0b3/Darwin_Universal-gcc3/20100805181943/
rsync -av --exclude partial.txt 4.0b3/Darwin_x86_64-gcc3/20100805182338/ 4.0b3/Darwin_Universal-gcc3/20100805181943/
mkdir -p 4.0b4/Darwin_Universal-gcc3/20100818121614
rsync -av --exclude partial.txt 4.0b4/Darwin_x86_64-gcc3/20100818121922/ 4.0b4/Darwin_Universal-gcc3/20100818121614/
mkdir -p 4.0b5/Darwin_x86-gcc3-u-ppc-i386/20100831070010
rsync -av --exclude partial.txt 4.0b5/Darwin_x86_64-gcc3/20100831070403/ 4.0b5/Darwin_x86-gcc3-u-ppc-i386/20100831070010/
mkdir -p 4.0b6/Darwin_x86-gcc3-u-ppc-i386/20100914072643
rsync -av --exclude partial.txt 4.0b6/Darwin_x86_64-gcc3/20100914073111/ 4.0b6/Darwin_x86-gcc3-u-ppc-i386/20100914072643/
mkdir -p 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/{beta,release}test
# setup snippet
cat > 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/releasetest/complete.txt << EOF
version=1
type=complete
url=http://download.mozilla.org/?product=firefox-4.0b8-complete&os=osx64&lang=ja-JP-mac
hashFunction=SHA512
hashValue=66ffd1fbcf11d90680774891dc5b4c57122d0e91e77184a98c58d437f56dbf871203bc449cfb5094daf0cdb1bc8d867c6aa4ec66f4025bf9302172833f282707
size=27373764
build=20101214165004
appv=4.0 Beta 8
extv=4.0b8
detailsUrl=http://www.mozilla.com/ja-JP-mac/firefox/4.0b8/releasenotes/
EOF
sed -e 's!^url=.*!url=http://stage-old.mozilla.org/pub/mozilla.org/firefox/nightly/4.0b8-candidates/build1/update/mac64/ja-JP-mac/firefox-4.0b8.complete.mar!' \
4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/releasetest/complete.txt \
> 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac/betatest/complete.txt
# copy to other locations, ja was added at b5
dirs=`find 4.0b{4,5,6,7} -maxdepth 1 -mindepth 1 -type d -name '*Darwin*' ! -wholename '4.0b6/Darwin_x86_64-gcc3' | sort`
for d in $dirs; do
rsync -av 4.0b7/Darwin_x86_64-gcc3/20101104131842/ja-JP-mac $d/*/
done
# fix paths/os
find */Darwin* -type f -exec sed -i -e 's!update/mac64/!update/mac/!' -e 's!os=osx64!os=osx!' {} \;
cd ../../
rsync -a 20101214-Firefox-4.0b8-test-fixed/ 20101214-Firefox-4.0b8-fixed/
cd 20101214-Firefox-4.0b8-fixed/Firefox
find . -depth -name 'betatest' -type d -exec rm -rf {} \;
find . -mindepth 4 -maxdepth 4 -type d -exec mv {}/{releasetest,beta} \;
~/bin/backupsnip 20101214-Firefox-4.0b8-test-fixed ~/bin/pushsnip 20101214-Firefox-4.0b8-test-fixed