Releases/Firefox 14.0.2/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

  • 20 minutes not long enough for 6 concurrent repack jobs to clone - in fact only three tried to clone, the others updated and got 4 changesets. So hg.m.o slowness ?
  • bug 780800 - mozharness shouldn't checkout a working copy of files in hg-shared directories

Build Engineers

rail - Tracking bug: bug 779518

Signed-off Revision(s)

L10N changesets

None

Tags

Manually tag the automation code, then record the generated tags below. (details)

Build # Branch, Tags Changeset
1 MOBILE1402_2012080109_RELBRANCH FENNEC_14_0_2_BUILD1 FENNEC_14_0_2_RELEASE 9109310c222e

Build data

Fennec

Build # Type Build ID Build machine Time to build
1 android 20120801091601 linux-ix-slave39 52 mins, 51 secs
2 android

Notes

Build 1

Set reserved slaves

  • set reserved_slaves to 8:
# cltbld@buildbot-master12
cd /builds/buildbot/build1
echo 8 > master/reserved_slaves

Preparing to start Automation

  • set a clobber for any master, release-mozilla-release, any builder as a speed up
  • Landed buildbot-configs
  • Tagged buildbotcustom, tools, configs
hg tag FENNEC_14_0_1_{RELEASE,BUILD1}
  • Updated and reconfiged buildbot-master12:
cd /builds/buildbot/build1
source bin/activate
make update checkconfig
python buildbot-wrangler.py reconfig /builds/buildbot/build1/master
  • Ran release sanity in dry run mode:
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u rail \
   -V 14.0.2 --branch mozilla-release --build-number 1 \
   --release-config release-fennec-mozilla-release.py --products fennec  \
    --l10n-dashboard-version 14.0.1 --dryrun localhost:9001
  • Reran the command above without --dryrun

E-mail Metrics

Sent the following mail to metrics-alerts@mozilla.org:

Fennec,firefox-mobile,fennec,14.0.2,14.0

Tag

OK

Source

Ok

Build

Fennec

OK

Fennec repacks

Ok

Android Signing

# cltsign@signing1
cd ~/signing-work/mozharness
hg pull -u && hg up -C -r default
python2.6 ~/signing-work/mozharness/scripts/sign_android.py --config-file signing/android_mozilla-release.py --platform android

Reset reserved slaves

# cltbld@buildbot-master12
cd /builds/buildbot/build1
echo "0" > master/reserved_slaves

Build 2

Set reserved slaves

  • set reserved_slaves to 4:
# cltbld@buildbot-master12
cd /builds/buildbot/build1
echo 4 > master/reserved_slaves

Preparing to start Automation

  • set a clobber for any master, release-mozilla-release, any builder as a speed up
  • Landed buildbot-configs
  • Tagged buildbotcustom, tools, configs
hg tag FENNEC_14_0_1_{RELEASE,BUILD2}
  • Updated and reconfiged buildbot-master12:
cd /builds/buildbot/build1
source bin/activate
make update checkconfig
python buildbot-wrangler.py reconfig /builds/buildbot/build1/master
  • Ran release sanity in dry run mode:
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u rail \
   -V 14.0.2 --branch mozilla-release --build-number 2 \
   --release-config release-fennec-mozilla-release.py --products fennec  \
    --l10n-dashboard-version 14.0.1 --dryrun localhost:9001
  • Reran the command above without --dryrun

Tag

ok

Source

ok

Build

Fennec

ok

Fennec repacks

Repack jobs 3 and 5 (of 6) both timed out taking more than 20 minutes to clone mozilla-release:

18:38:55     INFO - hg share works.
18:38:55     INFO - Updating shared repo
18:38:55     INFO - Cloning http://hg.mozilla.org/releases/mozilla-release to /builds/hg-shared/releases/mozilla-release.
18:38:55     INFO - Running command: ['hg', '--config', 'ui.merge=internal:merge', 'clone', 'http://hg.mozilla.org/releases/mozilla-release', '/builds/hg-shared/releases/mozilla-release']
18:38:55     INFO - Copy/paste: hg --config ui.merge=internal:merge clone http://hg.mozilla.org/releases/mozilla-release /builds/hg-shared/releases/mozilla-release

command timed out: 1200 seconds without output, attempting to kill

Used rebuild button on both.

Android Signing

# cltsign@signing1
cd ~/signing-work/mozharness
hg pull -u && hg up -C -r default
python2.6 ~/signing-work/mozharness/scripts/sign_android.py --config-file signing/android_mozilla-release.py --platform android

Reset reserved slaves

# cltbld@buildbot-master12
cd /builds/buildbot/build1
echo 0 > master/reserved_slaves

Release Day

Publish Fennec to the Play Store (for beta releases and release releases)

<quote>Once built and signed off by QA this build should be uploaded to the Google Play store and activated *alongside* the 14.0.1 Firefox for Android apk to ensure that users coming to download are getting offered the correct builds.</quote>

  • Uploaded the new APK and activated witout disactivationg the previous one
Push the files (for beta releases and release releases)
# ffxbld@stage
curl -O http://hg.mozilla.org/build/braindump/raw-file/tip/releases-related/push_fennec.sh
bash push_fennec.sh
cd /pub/mozilla.org/mobile/releases
rm latest && ln -s 14.0.2 latest