Releases/Firefox 16.0b4/BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "= Checklist = * Ship the l10n milestone {{DesktopTag}} {{MobileTag}} {{ReleaseTag}} {{BetaTag}} * [[Rele...")
 
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Checklist =
= Checklist =
* [[Release:Release_Automation_on_Mercurial:Preparation#L10N_Changesets | Ship the l10n milestone]] {{DesktopTag}} {{MobileTag}} {{ReleaseTag}} {{BetaTag}}
* <s>[[Release:Release_Automation_on_Mercurial:Preparation#L10N_Changesets | Ship the l10n milestone]] {{DesktopTag}} {{MobileTag}} {{ReleaseTag}} {{BetaTag}}</s>
* [[Release:Release_Automation_on_Mercurial:Starting_a_Release#Setting_reserved_slaves | Set reserved_slaves]] {{DesktopTag}} {{MobileTag}} {{AllTag}}
* <s>[[Release:Release_Automation_on_Mercurial:Starting_a_Release#Setting_reserved_slaves | Set reserved_slaves]] {{DesktopTag}} {{MobileTag}} {{AllTag}}</s>
* [[Release:Release_Automation_on_Mercurial:Starting_a_Release#Locking_slaves | Check to make sure you have all of the different types of slaves that you need]] {{DesktopTag}} {{MobileTag}} {{AllTag}}
* <s>[[Release:Release_Automation_on_Mercurial:Starting_a_Release#Locking_slaves | Check to make sure you have all of the different types of slaves that you need]] {{DesktopTag}} {{MobileTag}} {{AllTag}}</s>
* [[Release:Release_Automation_on_Mercurial:Preparation#Starting_the_automation | Start the automation]] {{DesktopTag}} {{MobileTag}} {{AllTag}}
* <s>[[Release:Release_Automation_on_Mercurial:Preparation#Starting_the_automation | Start the automation]] {{DesktopTag}} {{MobileTag}} {{AllTag}}</s>
* [https://intranet.mozilla.org/RelEngWiki/index.php/Signing#Android_Signing Sign Android builds] {{MobileTag}} {{ReleaseTag}} {{BetaTag}}
* <s>[https://intranet.mozilla.org/RelEngWiki/index.php/Signing#Android_Signing Sign Android builds] {{MobileTag}} {{ReleaseTag}} {{BetaTag}}</s>
* [[Release:Release_Automation_on_Mercurial:Build#Reset_reserved_slaves | Reset reserved_slaves and unlock slaves]] {{DesktopTag}} {{MobileTag}} {{AllTag}}
* <s>[[Release:Release_Automation_on_Mercurial:Build#Reset_reserved_slaves | Reset reserved_slaves and unlock slaves]] {{DesktopTag}} {{MobileTag}} {{AllTag}}</s>
* [[Release:Release_Automation_on_Mercurial:Updates#Publish_Fennec | Publish Fennec]] {{MobileTag}} {{ReleaseTag}} {{BetaTag}}
* <s>[[Release:Release_Automation_on_Mercurial:Updates#Publish_Fennec | Publish Fennec]] {{MobileTag}} {{ReleaseTag}} {{BetaTag}}</s>
* [[Release:Release_Automation_on_Mercurial:Updates#Push_snippets | Run pushsnip]] {{DesktopTag}} {{AllTag}}
* <s>[[Release:Release_Automation_on_Mercurial:Updates#Push_snippets | Run pushsnip]] {{DesktopTag}} {{AllTag}}</s>
 
= Bugs Hit =
* {{bug|790346}} - update release automation docs for new l10n milestone creation processes
* {{bug|788883}} - Release automation should announce signed android builds
* {{bug|792201}} - move pushed snippets to a different directory
* {{bug|792862}} - turn down ||ization of update verify


= Notes =
= Notes =
== Build 1 ==
== Build 1 ==
=== Starting the automation ===
=== Starting the automation ===
* Created milestones for Fennec and Firefox using the l10n dashboard & downloaded changesets
** Fennec
*** Clicked "Ship", then "Ship it" (to confirm that I wanted to ship even though there were pending signoffs).
*** Clicked "Shipping Tools"
*** Made sure "android" was the only platform listed, and "android-multilocale" was listed for multi-locale file, then clicked "Add"
*** Made sure "releases/mozilla-beta", "default", "mobile/android/locales/maemo-locales" were in the new fields, then clicked "l10n-changesets.json"
*** Downloaded the changesets from the resulting link (https://l10n.mozilla.org/shipping/json-changesets?ms=fennec16_beta_b4&platforms=android&multi_android-multilocale_repo=releases%2Fmozilla-beta&multi_android-multilocale_rev=default&multi_android-multilocale_path=mobile%2Fandroid%2Flocales%2Fmaemo-locales)
** Firefox
*** Clicked "Ship", then "Ship it" (to confirm that I wanted to ship even though there were pending signoffs).
*** Clicked "Shipping Tools"
*** Clicked "l10n-changesets" and downloaded the resulting file
* Set reserved_slaves to 8 on bm13
* Ensured necessary slaves were connected (8 32-bit Linux, 5 64-bit Linux, tons of 64-bit Windows, only 2 32-bit Windows, 4 Mac)
** Moved 2 additional 32-bit Windows slaves over to make sure repacks went reasonably quickly.
* Landed config updates, transplanted to the production branch
* Tagged buildbot-configs, buildbotcustom, tools with {FIREFOX,FENNEC}_16_0b4_{RELEASE,BUILD1}
* Updated and reconfiged bm13.
* Ran release sanity:
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u bhearsum \
    -V 16.0b4 --branch mozilla-beta --build-number 1 \
    --release-config release-firefox-mozilla-beta.py \
    --release-config release-fennec-mozilla-beta.py --products firefox,fennec  \
    --dryrun localhost:9001
* All green, ran without --dryrun to start the automation:
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u bhearsum \
    -V 16.0b4 --branch mozilla-beta --build-number 1 \
    --release-config release-firefox-mozilla-beta.py \
    --release-config release-fennec-mozilla-beta.py --products firefox,fennec  \
    localhost:9001
=== Sign Android Builds ===
Ran the following as cltsign@signing1:
cd ~/signing-work/mozharness
hg pull -u && hg up -C
cd ..
python2.6 mozharness/scripts/sign_android.py --config-file signing/android_mozilla-beta.py
Because of {{bug|788883}}, had to manually send a "signed android builds available" mail.
=== Fix up failed updates run ===
The updates builder failed at pushsnip because of a bug in the patch from {{bug|792201}}. To finish it up and get things going, did the following
* Pushed test snippets manually:
# cltbld@linux-ix-slave35
cd /builds/slave/rel-m-beta-updates
rsync -av -e 'ssh -oIdentityFile=~/.ssh/auspush' aus2/ ffxbld@aus3-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-16.0b4-build1
* Adjusted the state on the database to make Buildbot think Updates finished successfully by running the following query:
update schedulers set state='{"remainingBuilders": [], "upstreamBuilders": ["release-mozilla-beta-updates"], "lastReset": 1348061536.7170119, "lastCheck": 1348061536.7170119}' where name='release-mozilla-beta-updates_done';
update schedulers set state='{"remainingBuilders": [], "upstreamBuilders": ["release-mozilla-beta-push_to_mirrors", "release-mozilla-beta-updates"], "lastReset": 1348061536.7451999, "lastCheck": 1348100766}' where name='release-mozilla-beta-firefox_uptake_check';
=== Reset reserved slaves ===
Reset to 0 on bm13.
=== Retrigger update verify ===
A bunch of update verify steps failed because of ISE 500 errors coming from stage.m.o. To fix, retriggered them in small batches, which went green. Filed {{bug|792862}} to lower the ||ization of update verify to avoid this in the future.
=== Publish Fennec ===
==== Google Play ====
Published through the Google Play store per docs.
==== Push the files ====
Edited ~ffxbld/push_fennec.sh on stage to point at 16.0b4build1 and android/androidv6, ran it.
=== Push beta snippets ===
Ran the following as ffxbld@aus3-staging:
cd /opt/aus2/snippets/staging
~/bin/pushsnip Firefox-16.0b4-build1

Latest revision as of 18:18, 21 September 2012

Checklist

Bugs Hit

  • bug 790346 - update release automation docs for new l10n milestone creation processes
  • bug 788883 - Release automation should announce signed android builds
  • bug 792201 - move pushed snippets to a different directory
  • bug 792862 - turn down ||ization of update verify

Notes

Build 1

Starting the automation

  • Created milestones for Fennec and Firefox using the l10n dashboard & downloaded changesets
  • Set reserved_slaves to 8 on bm13
  • Ensured necessary slaves were connected (8 32-bit Linux, 5 64-bit Linux, tons of 64-bit Windows, only 2 32-bit Windows, 4 Mac)
    • Moved 2 additional 32-bit Windows slaves over to make sure repacks went reasonably quickly.
  • Landed config updates, transplanted to the production branch
  • Tagged buildbot-configs, buildbotcustom, tools with {FIREFOX,FENNEC}_16_0b4_{RELEASE,BUILD1}
  • Updated and reconfiged bm13.
  • Ran release sanity:
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u bhearsum \
   -V 16.0b4 --branch mozilla-beta --build-number 1 \
   --release-config release-firefox-mozilla-beta.py \
   --release-config release-fennec-mozilla-beta.py --products firefox,fennec  \
   --dryrun localhost:9001
  • All green, ran without --dryrun to start the automation:
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u bhearsum \
   -V 16.0b4 --branch mozilla-beta --build-number 1 \
   --release-config release-firefox-mozilla-beta.py \
   --release-config release-fennec-mozilla-beta.py --products firefox,fennec  \
   localhost:9001

Sign Android Builds

Ran the following as cltsign@signing1:

cd ~/signing-work/mozharness
hg pull -u && hg up -C
cd ..
python2.6 mozharness/scripts/sign_android.py --config-file signing/android_mozilla-beta.py

Because of bug 788883, had to manually send a "signed android builds available" mail.

Fix up failed updates run

The updates builder failed at pushsnip because of a bug in the patch from bug 792201. To finish it up and get things going, did the following

  • Pushed test snippets manually:
# cltbld@linux-ix-slave35
cd /builds/slave/rel-m-beta-updates
rsync -av -e 'ssh -oIdentityFile=~/.ssh/auspush' aus2/ ffxbld@aus3-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-16.0b4-build1
  • Adjusted the state on the database to make Buildbot think Updates finished successfully by running the following query:
update schedulers set state='{"remainingBuilders": [], "upstreamBuilders": ["release-mozilla-beta-updates"], "lastReset": 1348061536.7170119, "lastCheck": 1348061536.7170119}' where name='release-mozilla-beta-updates_done';
update schedulers set state='{"remainingBuilders": [], "upstreamBuilders": ["release-mozilla-beta-push_to_mirrors", "release-mozilla-beta-updates"], "lastReset": 1348061536.7451999, "lastCheck": 1348100766}' where name='release-mozilla-beta-firefox_uptake_check';

Reset reserved slaves

Reset to 0 on bm13.

Retrigger update verify

A bunch of update verify steps failed because of ISE 500 errors coming from stage.m.o. To fix, retriggered them in small batches, which went green. Filed bug 792862 to lower the ||ization of update verify to avoid this in the future.

Publish Fennec

Google Play

Published through the Google Play store per docs.

Push the files

Edited ~ffxbld/push_fennec.sh on stage to point at 16.0b4build1 and android/androidv6, ran it.

Push beta snippets

Ran the following as ffxbld@aus3-staging:

cd /opt/aus2/snippets/staging
~/bin/pushsnip Firefox-16.0b4-build1