Releases/Firefox 15.0b4/BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
* <s>[[Release:Release_Automation_on_Mercurial:Preparation#Starting_the_automation | Start the automation]] {{DesktopTag}} {{MobileTag}} {{AllTag}} </s>
* <s>[[Release:Release_Automation_on_Mercurial:Preparation#Starting_the_automation | Start the automation]] {{DesktopTag}} {{MobileTag}} {{AllTag}} </s>
* <s>[https://intranet.mozilla.org/RelEngWiki/index.php/Signing#Android_Signing Sign Android builds] {{MobileTag}} {{ReleaseTag}} {{BetaTag}} </s>
* <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>


= Notes =
= Notes =
Line 86: Line 86:


=== Publish Fennec ===
=== Publish Fennec ===
* Bumped the version & build number in [http://hg.mozilla.org/build/braindump/file/tip/releases-related/push_fennec.sh push_fennec.sh] to 15.0b2 build3. Ran the following as ffxbld@upload1:
* Bumped the version & build number in [http://hg.mozilla.org/build/braindump/file/tip/releases-related/push_fennec.sh push_fennec.sh] to 15.0b4 build1. Ran the following as ffxbld@stage:
  curl -O http://hg.mozilla.org/build/braindump/raw-file/tip/releases-related/push_fennec.sh
  curl -O http://hg.mozilla.org/build/braindump/raw-file/tip/releases-related/push_fennec.sh
  bash push_fennec.sh
  bash push_fennec.sh
Line 107: Line 107:


== Bugs hit ==
== Bugs hit ==
Starting the build was delayed about an hour because hg was very slow.
https://bugzilla.mozilla.org/show_bug.cgi?id=781300
I didn't allocate enough slaves to the win32 and mac64 slaves for bm13 so these builds were delayed.  Also, after allocating some slaves to the bm13 in slavealloc, I didn't realize that you had to reboot the slaves so they would point to the new master.  I updated the build doc to reflect this.

Latest revision as of 12:36, 13 August 2012

Checklist

Notes

Build 1

Ship the l10n milestone

  • Went to https://l10n.mozilla.org/shipping/milestones
  • Clicked on "new milestones" link
  • Clicked "clear aurora"
  • Clicked "X" for everything except "Fennec beta" and "Firefox beta"
  • Clicked "Submit"
  • Clicked "ship" for Firefox
  • Downloaded l10n changesets
  • Clicked "ship it"
  • Clicked "ship" for Fennec
  • Clicked "add"
  • Filled out form:
    • repo: releases/mozilla-beta
    • branch: default
    • path: mobile/android/locales/maemo-locales
  • Clicked "Generate it"
  • Downloaded l10n changesets
  • Clicked "Ship it"

Set the reserved slaves

# cltbld@bm13
cd /builds/buildbot/build1
echo 10 > master/reserved_slaves

Start the automation

#ffxbld@stage
version=15.0b4
product=firefox
cd /pub/mozilla.org/$product/nightly/
mkdir ../candidates/$version-candidates
ln -s ../candidates/$version-candidates $version-candidates
  • Double landed configs, merged to branch
  • Tagged configs, custom, tools
  • Updated+reconfiged bm13
  • Ran release_sanity:
. bin/activate
cd master
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u kmoir \
    -V 15.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
  • Started automation by running this command
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u kmoir \
    -V 15.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

#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 --platform android

Reset reserved_slaves and unlock slaves

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

Publish Fennec

  • Bumped the version & build number in push_fennec.sh to 15.0b4 build1. Ran the following as ffxbld@stage:
curl -O http://hg.mozilla.org/build/braindump/raw-file/tip/releases-related/push_fennec.sh
bash push_fennec.sh
  • Downloaded [1] Fennec multilocale APK to my laptop.
  • Went to https://market.android.com/publish
  • Clicked on "Firefox Beta"
  • Clicked on "APK Files"
  • Clicked on "Upload APK"
  • Uploaded the 15.0b2 multilocale APK.
  • Clicked "Save"
  • Activated the new APK
  • Decativated the old APK
  • Clicked "Save"

Watched https://play.google.com/store/apps/details?id=org.mozilla.firefox_beta until the "last updated" date changed.

Run pushsnip

[ffxbld@dp-ausstage01 staging]$ ~/bin/pushsnip Firefox-15.0b4-build1

Bugs hit

Starting the build was delayed about an hour because hg was very slow. https://bugzilla.mozilla.org/show_bug.cgi?id=781300

I didn't allocate enough slaves to the win32 and mac64 slaves for bm13 so these builds were delayed. Also, after allocating some slaves to the bm13 in slavealloc, I didn't realize that you had to reboot the slaves so they would point to the new master. I updated the build doc to reflect this.