Releases/AuroraBuildNotesTemplate: Difference between revisions

(Created page with "=Notes About Releasing= Please update the [https://wiki.mozilla.org/index.php?title=Releases/AuroraBuildNotesTemplate Notes Aurora Template] and the [https://intranet.mozilla.org...")
 
(noted need to always update push script)
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Notes about this template =
This template is for the Mobile 14.0bX betas-off-aurora only.  If you're looking for a build notes template for a different release, you probably want [[Releases/BuildNotesTemplate]].
=Notes About Releasing=
=Notes About Releasing=
Please update the [https://wiki.mozilla.org/index.php?title=Releases/AuroraBuildNotesTemplate Notes Aurora Template] and the [https://intranet.mozilla.org/Build:Release:Primer Release:Primer] for future releases (bug fixes, changes to automation) as needed
Please update the [https://wiki.mozilla.org/index.php?title=Releases/AuroraBuildNotesTemplate Aurora Notes Template] and the [https://intranet.mozilla.org/Build:Release:Primer Release:Primer] for future releases (bug fixes, changes to automation) as needed.
 
You will need to build a 14.0bX build using the fennec mozilla-aurora config files, then a new build or respin (depending on code changes) of the 13.0b2 build# android-xul build for tablets.  Both will go to the market.


= Bugs hit =
= Bugs hit =
Line 12: Line 18:
=Signed-off Revision(s)=
=Signed-off Revision(s)=
* Build 1: [http://hg.mozilla.org/releases/mozilla-aurora/rev/# #]
* Build 1: [http://hg.mozilla.org/releases/mozilla-aurora/rev/# #]
* 13.0b2 build2 spin#: [http://hg.mozilla.org/releases/mozilla-beta/rev/d734a796d657 d734a796d657]
* 13.0b2 build# spin#: [http://hg.mozilla.org/releases/mozilla-beta/rev/# #]


=L10N changesets=
=L10N changesets=
Get l10n-changesets_mobile-aurora.json from [https://l10n.mozilla.org/shipping/json-changesets?av=fennec-aurora&platforms=android&multi_android-multilocale_repo=releases%2Fmozilla-aurora&multi_android-multilocale_rev=default&multi_android-multilocale_path=mobile%2Fandroid%2Flocales%2Fmaemo-locales here]
* 14.0bN will get Aurora changesets from [https://l10n.mozilla.org/shipping/json-changesets?av=fennec-aurora&platforms=android&multi_android-multilocale_repo=releases%2Fmozilla-aurora&multi_android-multilocale_rev=default&multi_android-multilocale_path=mobile%2Fandroid%2Flocales%2Fmaemo-locales this dashboard link].  This link will change over time, so won't be useful for verifying later, but isn't dependent on a milestone being created per beta.


This link will change over time, so won't be useful for verifying later.
* 13.0b2 build# spin# will have an empty l10n-changesets_mobile-beta.json
 
* 13.0b2 build2 spin# will have an empty l10n-changesets_mobile-beta.json


=Tags=
=Tags=
Line 33: Line 37:
| [http://hg.mozilla.org/releases/mozilla-aurora/rev/# #]
| [http://hg.mozilla.org/releases/mozilla-aurora/rev/# #]
|-
|-
| 13.0b2 build2 spin#
| 13.0b2 build# spin#
| MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD2 FENNEC_13_0b2_RELEASE  
| MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD# FENNEC_13_0b2_RELEASE  
| [http://hg.mozilla.org/releases/mozilla-beta/rev/d734a796d657 d734a796d657]
| [http://hg.mozilla.org/releases/mozilla-beta/rev/# #]
|}
|}


Line 57: Line 61:
|
|
|-
|-
| 13.0b2 build 2 spin #
| 13.0b2 build # spin #
| android-xul
| android-xul
|  
|  
Line 66: Line 70:
=Notes=
=Notes=
==Build 1==
==Build 1==
===Diff mozconfigs===
If this is a *.0 beta -> release. May also need to update the whitelist of nightly vs release differences for release sanity.
They look reasonable, but will break on release sanity; will use -m.
===Preparing to start Automation===
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small>
=== E-mail Metrics ===
Use the address "metrics-alerts < AT > mozilla < PERIOD > org"
# For 14.0b1 :
Fennec,firefox-mobile,fennec,14.0b1,14.0
===Preparing to start Automation===
===Preparing to start Automation===
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small>
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small>
* Set clobbers for mozilla-aurora
* Set clobbers for mozilla-aurora
* Reserved 5 slaves on bm12
* Reserve slaves on bm12
 
* Update l10n changesets for mobile (see above)
* Update l10n changesets for mobile
* Land [http://hg.mozilla.org/build/buildbot-configs/rev/# configs]
* Landed [http://hg.mozilla.org/build/buildbot-configs/rev/e7b0bd7c8797 configs]
* Tag buildbot-configs, buildbotcustom, & tools with build & release tags.  
* Tag buildbot-configs, buildbotcustom, & tools with build & release tags.  
  hg tag -f FENNEC_14_0b1_{RELEASE,BUILD3}
  hg tag -f FENNEC_14_0b1_{RELEASE,BUILD1}
* update and reconfigure the master
* update and reconfigure the master
* release-sanity
* release-sanity
<pre>
<pre>
# For 14.0b1 build 1:
# cltbld@bm12
cd /builds/buildbot/build1/master
cd /builds/buildbot/build1/master
source ../bin/activate
source ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b1 --branch mozilla-aurora --build-number 3 -c release-fennec-mozilla-aurora.py -m -l --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b1 --branch mozilla-aurora --build-number 1 -c release-fennec-mozilla-aurora.py -m -l --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
</pre>
</pre>
* start automation ''&larr; monitor progress on buildbot (e.g. [http://buildbot-master07.build.mozilla.org:8001/waterfall?num_events=10&category=release-mozilla-aurora- aurora])''
* start automation ''&larr; monitor progress on buildbot (e.g. [http://buildbot-master12.build.mozilla.org:8001/waterfall?num_events=10&category=release-mozilla-aurora- aurora])''
  PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b1 --branch mozilla-aurora --build-number 3 -c release-fennec-mozilla-aurora.py -m -l --products fennec localhost:9001 2>&1 | tee aki2.out
  PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b1 --branch mozilla-aurora --build-number 1 -c release-fennec-mozilla-aurora.py -m -l --products fennec localhost:9001 2>&1 | tee aki2.out
 
=== E-mail Metrics ===
Use the address "metrics-alerts < AT > mozilla < PERIOD > org"
 
# For 14.0b1 :
Fennec,firefox-mobile,fennec,14.0b1,14.0


=== Tag ===
=== Tag ===
No problems.


=== Source ===
=== Source ===
No problems.


=== Build ===
=== Build ===
==== Fennec ====
==== Fennec ====
No problems.


===== Fennec repacks =====
===== Fennec repacks =====
No problems.


=== Android Signing ===
=== Android Signing ===
No problems.


<pre>
# cltsign@signing1
cd signing-work
hg --cwd mozharness pull
hg --cwd mozharness up -C -r default
python26 mozharness/scripts/sign_android.py --cfg signing/android_mozilla-aurora.py --platform android
</pre>
=== email r-d ===
Email r-d that all native fennec builds are ready for testing
=== Reset reserved slaves ===
=== Reset reserved slaves ===
Done.


==13.0b2 build # spin #==


==13.0b2 build 2 spin 1==
===Preparing to start Automation===
 
# Determine if we need to do this (we may not have to anymore)


===Preparing to start Automation===
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small>
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small>
* Set clobbers for mozilla-beta
* Set clobbers for mozilla-beta
* Reserved 5 slaves on bm13
* Reserve slave on bm13
* Update l10n changesets for mobile ? -- none on the dashboard, need to talk to Axel next week.
* L10n changesets for 13.0b2 build3 spin1 will remain empty {}
* Landed [http://hg.mozilla.org/build/buildbot-configs/rev/6a850d4e8915 configs]
* Verify that nothing has changed in 13.0b2 land since the previous spin.
 
=== IF NO CODE HAS CHANGED ===
 
If no code has changed since the previous 13.0b2 build, we can just respin the previous build:
 
* Create a build#-spin# directory on stage, and softlink the build# to it.
** The spin# will increment instead of the build#.
** For build3-spin2:
 
<pre>
# ffxbld@stage
cd /pub/mozilla.org/mobile/candidates/13.0b2-candidates
mkdir build3-spin2
rm build3
ln -s build3-spin2 build3
</pre>
 
* Hit "rebuild" on the latest [http://buildbot-master13.build.scl1.mozilla.com:8001/builders/release-mozilla-beta-android-xul_build release-mozilla-beta-android-xul_build].
** This will upload into the build#-spin# directory instead of overwriting the previous build.
 
=== IF CODE HAS CHANGED ===
 
* Land 13.0b2 [http://hg.mozilla.org/build/buildbot-configs/rev/# configs] : increment the build number.
* Create a build#-spin# directory on stage, and softlink the build# to it.
** The build# will increment, and this will be a spin 1.
** For build3-spin1:
 
<pre>
# ffxbld@stage
cd /pub/mozilla.org/mobile/candidates/13.0b2-candidates
mkdir build3-spin1
ln -s build3-spin1 build3
</pre>
 
* Tag buildbot-configs, buildbotcustom, & tools with build & release tags.  
* Tag buildbot-configs, buildbotcustom, & tools with build & release tags.  
  hg tag -f FENNEC_13_0b2_{RELEASE,BUILD2}
  hg tag -f FENNEC_13_0b2_{RELEASE,BUILD#}
* update and reconfigure the master
* update and reconfigure the master
* release-sanity
* release-sanity
<pre>
<pre>
# For 13.0b2 build 3:
# cltbld@bm13
cd /builds/buildbot/build1/master
cd /builds/buildbot/build1/master
source ../bin/activate
source ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 13.0b2 --branch mozilla-beta --build-number 2 -c release-fennec-mozilla-beta.py --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 13.0b2 --branch mozilla-beta --build-number 3 -c release-fennec-mozilla-beta.py --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
</pre>
</pre>
* start automation ''&larr; monitor progress on buildbot (e.g. [http://buildbot-master07.build.mozilla.org:8001/waterfall?num_events=10&category=release-mozilla-aurora- aurora])''
* start automation ''&larr; monitor progress on buildbot (e.g. [http://buildbot-master13.build.mozilla.org:8001/waterfall?num_events=10&category=release-mozilla-beta- beta])''
  PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 13.0b2 --branch mozilla-beta --build-number 2 -c release-fennec-mozilla-beta.py --products fennec localhost:9001 2>&1 | tee aki2.out
  PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 13.0b2 --branch mozilla-beta --build-number 3 -c release-fennec-mozilla-beta.py --products fennec localhost:9001 2>&1 | tee aki.out


=== Tag ===
=== Tagging ===
No problems.
(only runs if code has changed)


=== Source ===
=== Source ===
No problems.
(only runs if code has changed)


=== Build ===
=== Build ===
==== Fennec ====
==== Fennec ====
No problems.


=== Android Signing ===
=== Android Signing ===
Line 160: Line 196:
python26 mozharness/scripts/sign_android.py --config-file signing/android_mozilla-beta.py
python26 mozharness/scripts/sign_android.py --config-file signing/android_mozilla-beta.py
</pre>
</pre>
=== Reset reserved slaves ===


=== Release Day ===
=== Release Day ===
==== Publish Fennec to the Play Store (for beta releases and release releases) ====
==== Publish Fennec to the Play Store (for beta releases and release releases) ====
=====Push the files (for beta releases and release releases)=====
=====Push the files (for beta releases and release releases)=====
* Use [http://hg.mozilla.org/build/braindump/file/tip/releases-related/push_fennec.sh this script] and run it as ffxbld@stage (please push you changes prior to using it, and grab latest on stage via <tt>curl -O http://hg.mozilla.org/build/braindump/raw-file/tip/releases-related/push_fennec.sh</tt>)
* Modify [http://hg.mozilla.org/build/braindump/file/tip/releases-related/push_fennec.sh this script] and run it as ffxbld@stage (please push your changes prior to using it, and grab latest on stage via <tt>curl -O http://hg.mozilla.org/build/braindump/raw-file/tip/releases-related/push_fennec.sh</tt>)
** version/build number embedded in script, so always needs update!


=====Play Store (for beta releases and release releases)=====
=====Play Store (for beta releases and release releases)=====
'''IMPORTANT -''' Make sure to follow instructions!
'''IMPORTANT -''' Make sure to follow instructions!
* download multi apk (e.g. [http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/10.0b6-candidates/build1/android/multi/fennec-10.0b6.multi.android-arm.apk multi/fennec-10.0b6.multi.android-arm.apk])
 
<font color="red" size="+1">'''The 14.0b# build *must* be uploaded before the 13.0b2 build!'''</font>
 
* download 14.0b# and 13.0b2 multi apk (e.g. [http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/14.0b1-candidates/build2/android/multi/fennec-14.0b1.multi.android-arm.apk] and [http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/13.0b2-candidates/build2/android-xul/multi/fennec-13.0b2.multi.android-arm.apk])
* visit https://market.android.com/publish
* visit https://market.android.com/publish
* choose "Firefox Beta" or "Firefox"
* choose "Firefox Beta" or "Firefox"
* select the "APK Files" tab and choose "Upload APK"
* select the "APK Files" tab and choose "Upload APK"
** choose the multi apk that you downloaded and hit "upload"
** choose the 14.0b# multi apk that you downloaded and hit "upload"
*** NOTE: the progress bar does not seem to show progress (at least on Google Chrome)
*** NOTE: the progress bar does not seem to show progress (at least on Google Chrome)
** when it finishes uploading, verify VersionCode is the build date (almost anyway, the market reports an hour later than our buildID)
** when it finishes uploading, verify the versionCode is the build date (almost anyway, the market reports an hour later than our buildID)
** hit "Save"  
** hit "Save"  
* activate new apk (You should see an Error message since both apk's are active)
* Repeat with the 13.0b2 multi apk
* deactivate old apk (You should not see the Error message anymore)
** when it finishes uploading, verify the versionCode is larger than the 14.0b# versionCode.
* activate new 14.0b# and 13.0b2 apks (You should see an Error message since both apk's are active)
* deactivate old apks (You should not see the Error message anymore)
* hit "Save"
* hit "Save"
* If this is a beta 1, go to "Product Details" tab -> Recent Changes, change the url to  http://www.mozilla.com/en-US/mobile/{VERSION}beta/releasenotes/
* If this is a beta 1, go to "Product Details" tab -> Recent Changes, change the url to  http://www.mozilla.com/en-US/mobile/{VERSION}beta/releasenotes/
** and hit "Save"
** and hit "Save"

Latest revision as of 19:44, 5 June 2012

Notes about this template

This template is for the Mobile 14.0bX betas-off-aurora only. If you're looking for a build notes template for a different release, you probably want Releases/BuildNotesTemplate.

Notes About Releasing

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

You will need to build a 14.0bX build using the fennec mozilla-aurora config files, then a new build or respin (depending on code changes) of the 13.0b2 build# android-xul build for tablets. Both will go to the market.

Bugs hit

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

Build Engineers

{name} - Tracking bug: bug #

Signed-off Revision(s)

  • Build 1: #
  • 13.0b2 build# spin#: #

L10N changesets

  • 14.0bN will get Aurora changesets from this dashboard link. This link will change over time, so won't be useful for verifying later, but isn't dependent on a milestone being created per beta.
  • 13.0b2 build# spin# will have an empty l10n-changesets_mobile-beta.json

Tags

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

Build # Branch, Tags Changeset
1 MOBILE140_#_RELBRANCH, FENNEC_VERSION_RELEASE, FENNEC_VERSION_BUILD1 #
13.0b2 build# spin# MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD# FENNEC_13_0b2_RELEASE #

Build data

Fennec

Build # Type Build ID Build machine Time to build
1 android
android-xul
13.0b2 build # spin # android-xul

Notes

Build 1

Preparing to start Automation

detailed instructions

  • Set clobbers for mozilla-aurora
  • Reserve slaves on bm12
  • Update l10n changesets for mobile (see above)
  • Land configs
  • Tag buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_14_0b1_{RELEASE,BUILD1}
  • update and reconfigure the master
  • release-sanity
# For 14.0b1 build 1:
# cltbld@bm12
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b1 --branch mozilla-aurora --build-number 1 -c release-fennec-mozilla-aurora.py -m -l --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
  • start automation ← monitor progress on buildbot (e.g. aurora)
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b1 --branch mozilla-aurora --build-number 1 -c release-fennec-mozilla-aurora.py -m -l --products fennec localhost:9001 2>&1 | tee aki2.out

E-mail Metrics

Use the address "metrics-alerts < AT > mozilla < PERIOD > org"

# For 14.0b1 :
Fennec,firefox-mobile,fennec,14.0b1,14.0

Tag

Source

Build

Fennec

Fennec repacks

Android Signing

# cltsign@signing1
cd signing-work
hg --cwd mozharness pull
hg --cwd mozharness up -C -r default
python26 mozharness/scripts/sign_android.py --cfg signing/android_mozilla-aurora.py --platform android

email r-d

Email r-d that all native fennec builds are ready for testing

Reset reserved slaves

13.0b2 build # spin #

Preparing to start Automation

  1. Determine if we need to do this (we may not have to anymore)

detailed instructions

  • Set clobbers for mozilla-beta
  • Reserve slave on bm13
  • L10n changesets for 13.0b2 build3 spin1 will remain empty {}
  • Verify that nothing has changed in 13.0b2 land since the previous spin.

IF NO CODE HAS CHANGED

If no code has changed since the previous 13.0b2 build, we can just respin the previous build:

  • Create a build#-spin# directory on stage, and softlink the build# to it.
    • The spin# will increment instead of the build#.
    • For build3-spin2:
# ffxbld@stage
cd /pub/mozilla.org/mobile/candidates/13.0b2-candidates
mkdir build3-spin2
rm build3
ln -s build3-spin2 build3

IF CODE HAS CHANGED

  • Land 13.0b2 configs : increment the build number.
  • Create a build#-spin# directory on stage, and softlink the build# to it.
    • The build# will increment, and this will be a spin 1.
    • For build3-spin1:
# ffxbld@stage
cd /pub/mozilla.org/mobile/candidates/13.0b2-candidates
mkdir build3-spin1
ln -s build3-spin1 build3
  • Tag buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_13_0b2_{RELEASE,BUILD#}
  • update and reconfigure the master
  • release-sanity
# For 13.0b2 build 3:
# cltbld@bm13
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 13.0b2 --branch mozilla-beta --build-number 3 -c release-fennec-mozilla-beta.py --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
  • start automation ← monitor progress on buildbot (e.g. beta)
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 13.0b2 --branch mozilla-beta --build-number 3 -c release-fennec-mozilla-beta.py --products fennec localhost:9001 2>&1 | tee aki.out

Tagging

(only runs if code has changed)

Source

(only runs if code has changed)

Build

Fennec

Android Signing

# cltsign@signing1
cd signing-work
hg --cwd mozharness pull
hg --cwd mozharness up -C -r default
python26 mozharness/scripts/sign_android.py --config-file signing/android_mozilla-beta.py

Release Day

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

Push the files (for beta releases and release releases)
Play Store (for beta releases and release releases)

IMPORTANT - Make sure to follow instructions!

The 14.0b# build *must* be uploaded before the 13.0b2 build!

  • download 14.0b# and 13.0b2 multi apk (e.g. [1] and [2])
  • visit https://market.android.com/publish
  • choose "Firefox Beta" or "Firefox"
  • select the "APK Files" tab and choose "Upload APK"
    • choose the 14.0b# multi apk that you downloaded and hit "upload"
      • NOTE: the progress bar does not seem to show progress (at least on Google Chrome)
    • when it finishes uploading, verify the versionCode is the build date (almost anyway, the market reports an hour later than our buildID)
    • hit "Save"
  • Repeat with the 13.0b2 multi apk
    • when it finishes uploading, verify the versionCode is larger than the 14.0b# versionCode.
  • activate new 14.0b# and 13.0b2 apks (You should see an Error message since both apk's are active)
  • deactivate old apks (You should not see the Error message anymore)
  • hit "Save"
  • If this is a beta 1, go to "Product Details" tab -> Recent Changes, change the url to http://www.mozilla.com/en-US/mobile/{VERSION}beta/releasenotes/
    • and hit "Save"