Releases/Firefox 7.0b2/BuildNotes

From MozillaWiki
Jump to navigation Jump to search

Notes About Releasing

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

Bugs hit

Enter any bugs pre-existing or newly discovered and filed during the release:

Build Engineers

coop, aki - Tracking bug: bug 681448

Signed-off Revision(s)

Build 1: 7e3966aece57

L10N changesets

Tags

Build # Branch, Tags Changeset
MOBILE70_##########_RELBRANCH, FENNEC_7_0b2_RELEASE, FENNEC_7_0b2_BUILD1 ???
GECKO70_##########_RELBRANCH, FIREFOX_7_0b2_BUILD1 FIREFOX_7_0b2_RELEASE ???

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20110824172139 mv-moz2-linux-ix-slave18 2 hrs, 32 mins, 24 secs
Linux64 moz2-linux64-slave02 2 hrs, 38 mins, 0 secs
Mac moz2-darwin10-slave44 4 hrs, 20 mins, 54 secs
Windows mw32-ix-slave05 2 hrs, 56 mins, 0 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20110824181241 mv-moz2-linux-ix-slave21 1 hrs, 34 mins, 13 secs
maemo5-gtk 20110824180046 mv-moz2-linux-ix-slave05 1 hrs, 31 mins, 13 secs
linux 20110824175006 mv-moz2-linux-ix-slave15 1 hrs, 8 mins, 37 secs
macosx 20110824191413 bm-xserve11 2 hrs, 11 mins, 56 secs
win32 20110824183137 mw32-ix-slave03 1 hrs, 18 mins, 12 secs

Notes

buildbot-master08

Build 1

  • Got 'go'
  • Marked "Any master", "mozilla-beta", "Any builder" for a clobber
  • Hit ship for Firefox 7 beta 2 and Fennec 7 beta 2 at https://l10n-stage-sj.mozilla.org/shipping/milestones
  • Landed configs, mozharness
  • landed on production buildbot-configs, tagged buildbot-configs (production), mozharness, tools, buildbotcustom (production-0.8)
  • reserved 6 slaves
  • Updated master
make update
  • release_sanity noop:
cd master
. ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u coop -V 7.0b2 \
--branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py \
--dryrun --products firefox,fennec localhost:9001 2>&1 | tee coop.out
  • read coop.out for sanity check, removed
vi coop.out
rm coop.out
  • start automation
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u coop -V 7.0b2 \
--branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py \
--products firefox,fennec localhost:9001

E-mail Metrics + Socorro-dev

Emailed Socorro-dev. They'd like this to stay until bug 679541 is resolved.

Tag

No problems.

Bouncer Submitter

No problems.

Source

No problems.

Start autosign

Saved the following as ~/tmp/sign_7.0b1.sh

PRODUCT=firefox
VERSION=7.0b2
BUILD=1
TAG=FIREFOX_7_0b2_RELEASE
REPO='releases/mozilla-beta'
EMAIL=release@mozilla.com
KEYDIR=d:/2010-keys
RELCONFIG=mozilla/release-firefox-mozilla-beta.py

cd ${HOME}/hg-tools/
hg pull && hg up -r ${TAG}

mkdir -p ~/signing-work/${PRODUCT}-${VERSION}/lib/python
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .
rsync -av ~/hg-tools/lib/python/ ./lib/python/
make autosign PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG}

Ran the following from ~/tmp

bash -xe sign_7.0b2.sh 2>&1 | tee sign_7.0b2.log

Out of space!!

Tried a |make cleanup| but it required a PGP passphrase ??? and then said there wasn't a VERSION defined, so I just nuked {firefox,fennec}-6.0b* and restarted sign_7.0b2.sh.

Build

Firefox

No problems.

Fennec

Android

No problems

Maemo5-GTK

No problems.

Desktop Builds

No problems.

Desktop repacks

No problems.


DONE TO HERE

Unittests / Talos

?

XULRunner

Source

No problems.

Build

xulrunner_macosx64 failed. Filed bug 679766. Which was duped to bug 670951.

Signing

Skipping since Mac failed.

Repacks

Firefox

No problems.

Fennec

No problems.

Partner Repack

Firefox

N/a

Fennec

N/a

Firefox Signing

No problems.

Android Signing

Followed instructions.

Android Signature Verification

No problems.

Maemo5-GTK repos

No problems.

L10N verify

No problems.

Updates

Broken because 6.0 went out on the beta channel.

  • Landed manual patcher config bump
  • Landed manual update verify bump, tagged with FIREFOX_7_0b1_BUILD1_RUNTIME FIREFOX_7_0b1_RELEASE_RUNTIME
  • Applied this patch to disable bump steps on the master (not pushed to hg, need to remove it later)
  • Set clobber for release-mozilla-beta-updates
  • reconfigured the master
  • Hit Rebuild
  • Builder failed because it was trying to operate on 6.0b5-7.0b1 instead of 6.0-7.0b1
  • Ran the following
# on mv-moz2-linux-ix-slave15
cd /builds/slave/rel-m-beta-updates/
find build/temp/firefox/6.0-7.0b1/ftp/firefox/nightly/7.0b1-candidates/build1 -type f -exec chmod 644 '{}' ';'
find build/temp/firefox/6.0-7.0b1/ftp/firefox/nightly/7.0b1-candidates/build1 -type d -exec chmod 755 '{}' ';'
cd /builds/slave/rel-m-beta-updates/build/temp/firefox/6.0-7.0b1/ftp/firefox/nightly/7.0b1-candidates/build1
rsync -av -e 'ssh -oIdentityFile=~/.ssh/ffxbld_dsa' '--exclude=*complete.mar' update ffxbld@stage-old.mozilla.org:/pub/mozilla.org/firefox/nightly/7.0b1-candidates/build1/
cd /builds/slave/rel-m-beta-updates/build/temp/firefox/6.0-7.0b1
rsync -av -e 'ssh -oIdentityFile=~/.ssh/cltbld_dsa' aus2.test/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-7.0b1-build1-test
rsync -av -e 'ssh -oIdentityFile=~/.ssh/cltbld_dsa' aus2/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-7.0b1-build1
bash /builds/slave/rel-m-beta-updates/tools/release/compare-channel-snippets.sh aus2 beta aus2.test releasetest

ssh -l cltbld -i ~/.ssh/cltbld_dsa aus2-staging.mozilla.org ~/bin/backupsnip Firefox-7.0b1-build1-test
ssh -l cltbld -i ~/.ssh/cltbld_dsa aus2-staging.mozilla.org ~/bin/pushsnip Firefox-7.0b1-build1-test
  • Added Firefox-7.0b1-Partial-6.0 Bouncer product to handle 6.0-7.0b1 partial updates

Update verify

# On my local machine, to kick off update verify
for p in linux linux64 macosx64 win32; do
  for i in 1 2 3 4 5 6 7 8 9 10; do
    curl "http://buildbot-master08.build.sjc1.mozilla.com:8001/builders/release-mozilla-beta-${p}_update_verify_${i}%2F10/force" >/dev/null
  done
done

Lots of failures, particularly for the 6.0 final builds. (Looks like the dir for the backupsnip didn't get updated after copying from 6.0b5 notes, but that's OK still as the same directories would have gotten backed up.) Redid the pushsnip, because updates were pointing to 6.0b5 or 6.0 final. Forced update verify as above (nthomas).

Major Update

n/a

Update verify

n/a

Socorro Product Data Updates

n/a

Check permissions / AV scan

Forced since update verify failed.

Since pushsnip happened before this finished,

subprocess.CalledProcessError: Command '['ssh', '-l', 'ffxbld', '-i', '/home/cltbld/.ssh/ffxbld_dsa', 'stage.mozilla.org', 'test', '!', '-d', '/pub/mozilla.org/firefox/releases/7.0b1/']' returned non-zero exit status 1

Reset reserved slaves

set to 0

Push files to internal mirrors

  • /pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude (cltbld@stage) has been adjusted to exclude anything from
firefox/releases/*.*b*
  • put the following property into the 'release-mozilla-beta-push_to_mirrors' builder & forced it
script_repo_revision: FIREFOX_7_0b1_RELEASE

Push to beta

~/bin/backupsnip Firefox-7.0b1-build1
~/bin/pushsnip Firefox-7.0b1-build1

Push XULRunner to Mirrors

Skipping since Mac failed.

Update XULRunner wiki page

Skipping since Mac failed.

Publish Fennec

Create bouncer entry for maemo

  • added Firefox-Mobile-7.0b1 to products
  • added location for Firefox-Mobile-7.0b1 maemo: /mobile/releases/maemo/:lang/firefox-beta.install

Push the files

# as ffxbld@stage in ~ dir
vim push_fennec_beta.sh # update VERSION,BUILDNUM
# RUN IT
./push_fennec_beta.sh

Publish to the Android Market

  1. download multi apk
  2. under APK Files, Upload APK
    • choose multi apk, upload
    • when it finishes uploading, verify VersionCode is build date
    • hit "Save"
  3. activate new apk
  4. deactivate old apk
  5. hit "Save"
  6. If this is a beta 1, go to Product Details -> Recent Changes, change the url to
http://www.mozilla.com/en-US/mobile/{VERSION}beta/releasenotes/
    • and hit "Save"

IMPORTANT - Make sure to follow instructions! See 6.0b6's push to Market.

Push index file to mirrors

n/a

Push to external mirrors

n/a

Final verification

forced build.

  • win32 error:
FAIL: no complete update found for https://aus2.mozilla.org/update/1/Firefox/6.0/20110729080751/WINNT_x86-msvc/kk/releasetest/update.xml?force=1
  • that link works manually
  • respin worked.

Push to Release Channel

n/a

Update symlinks

n/a

Update browser choice website

n/a