Releases/Firefox 7.0b1/BuildNotes

From MozillaWiki
Jump to: navigation, 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:

  • bug 679350 - add sw and mn to product-details
  • bug 679969 - restart bounceradmin after product-details is updated
  • bug 670951 - Mac XULRunner builds fail intermittently during unification

Build Engineers

aki - Tracking bug: bug 679114

Signed-off Revision(s)

Build 1: 8786e3e49240

L10N changesets

Tags

Build # Branch, Tags Changeset
MOBILE70_2011081614_RELBRANCH, FENNEC_7_0b1_RELEASE, FENNEC_7_0b1_BUILD1 fac228d3af81
GECKO70_2011081615_RELBRANCH, FIREFOX_7_0b1_BUILD1 FIREFOX_7_0b1_RELEASE 00f56713eab6

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20110816154714 mv-moz2-linux-ix-slave18 1 hrs, 5 mins, 6 secs
Linux64 moz2-linux64-slave12 3 hrs, 37 mins, 16 secs
Mac moz2-darwin10-slave20 4 hrs, 19 mins, 53 secs
Windows mw32-ix-slave04 2 hrs, 55 mins, 55 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20110816154147 mv-moz2-linux-ix-slave07 1 hrs, 32 mins, 23 secs
maemo5-gtk 20110816161304 mv-moz2-linux-ix-slave21 1 hrs, 28 mins, 49 secs
linux 20110816160908 mv-moz2-linux-ix-slave15 1 hrs, 5 mins, 6 secs
macosx 20110816182137 bm-xserve11 2 hrs, 8 mins, 47 secs
win32 20110816165906 mw32-ix-slave03 1 hrs, 21 mins, 47 secs

Notes

buildbot-master08

Build 1

  • Got 'go'
  • Marked "Any master", "mozilla-beta", "Any builder" for a clobber
  • Hit ship for Firefox 7 beta 1 and Fennec 7 beta 1 at https://l10n-stage-sj.mozilla.org/shipping/milestones
  • Landed configs, mozharness
  • merged buildbot-configs, tagged buildbot-configs (production), mozharness, tools, buildbotcustom (production-0.8)
  • reserved 6 slaves
  • Updated master
make update
  • release_sanity noop:
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 7.0b1 \
--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 aki.out
  • read aki.out for sanity check, removed
vi aki.out
rm aki.out
  • start automation
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 7.0b1 \
--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 metrics with

Firefox,firefox,firefox,7.0b1,7.0
Firefox,firefox,firefox,8.0a2,8.0
Firefox,firefox,firefox,9.0a1,9.0 

Emailed socorro-dev with

I hope Rail's fix for the info.txt files is enough; if so, we can remove the "email socorro-dev" todo item from our build notes template.
Otherwise, a) let us know what needs fixing, and b) we're starting 7.0b1 builds, and build numbers should be here:

https://wiki.mozilla.org/Releases/Firefox_7.0b1/BuildNotes#Build 

Turns out they'd like this to stay until bug 679541 is resolved.

Tag

No problems.

Bouncer Submitter

Failed.

Source

No problems.

Start autosign

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

PRODUCT=firefox
VERSION=7.0b1
BUILD=1
TAG=FIREFOX_7_0b1_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.0b1.sh 2>&1 | tee sign_7.0b1.log

Build

Firefox

No problems.

Fennec

Android

No problems

Maemo5-GTK

No problems.

Desktop Builds

No problems.

Desktop repacks

No problems.

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