Releases/Fennec 14.0b1/BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Notes About Releasing=
=Notes About Releasing=
Please update the [https://wiki.mozilla.org/index.php?title=Releases/BuildNotesTemplate Notes 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


= Bugs hit =
= Bugs hit =
Line 6: Line 6:
* {{bug|750973}} - source configure requires linux mozconfig??
* {{bug|750973}} - source configure requires linux mozconfig??
* {{bug|750976}} - android signing: allow for different locale lists for android and android-xul
* {{bug|750976}} - android signing: allow for different locale lists for android and android-xul
* {{bug|753629}} - release Android single locale repacks upload to build1/ on build > 1


=Build Engineers=
=Build Engineers=
Line 11: Line 12:


=Signed-off Revision(s)=
=Signed-off Revision(s)=
Build 1: [http://hg.mozilla.org/releases/mozilla-aurora/rev/58c351982d75 58c351982d75]
 
* Build 1: [http://hg.mozilla.org/releases/mozilla-aurora/rev/58c351982d75 58c351982d75]
* Build 2: [http://hg.mozilla.org/releases/mozilla-aurora/rev/1faea99701db 1faea99701db]
* Build 3: [http://hg.mozilla.org/releases/mozilla-aurora/rev/14ce1b841676 14ce1b841676]
 
* 13.0b2 build2 spin1: [http://hg.mozilla.org/releases/mozilla-beta/rev/d734a796d657 d734a796d657]


=L10N changesets=
=L10N changesets=
Line 18: Line 24:


* [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 Fennec build 1]
* [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 Fennec build 1]
* [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 also build 2]
* [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 also build 3]
This link will change over time, so won't be useful for verifying later.
* 13.0b2 build2 spin1 had an empty l10n-changesets_mobile-beta.json ; this will probably remain true until the beta uplift on 6/5.


=Tags=
=Tags=
Line 30: Line 42:
| MOBILE140_2012050114_RELBRANCH, FENNEC_14_0b1_RELEASE, FENNEC_14_0b1_BUILD1
| MOBILE140_2012050114_RELBRANCH, FENNEC_14_0b1_RELEASE, FENNEC_14_0b1_BUILD1
| [http://hg.mozilla.org/releases/mozilla-aurora/rev/ec68c6989414 ec68c6989414]
| [http://hg.mozilla.org/releases/mozilla-aurora/rev/ec68c6989414 ec68c6989414]
|-
| 2
| MOBILE140_2012050917_RELBRANCH, FENNEC_14_0b1_RELEASE, FENNEC_14_0b1_BUILD2
| [http://hg.mozilla.org/releases/mozilla-aurora/rev/8436d2126332 8436d2126332]
|-
| 3
| MOBILE140_2012050917_RELBRANCH, FENNEC_14_0b1_RELEASE, FENNEC_14_0b1_BUILD3
| [http://hg.mozilla.org/releases/mozilla-aurora/rev/14ce1b841676 14ce1b841676]
|-
| 13.0b2 build2 spin1
| MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD2 FENNEC_13_0b2_RELEASE
| [http://hg.mozilla.org/releases/mozilla-beta/rev/d734a796d657 d734a796d657]
|}
|}


Line 50: Line 74:
| mv-moz2-linux-ix-slave15   
| mv-moz2-linux-ix-slave15   
| 51 mins, 24 secs
| 51 mins, 24 secs
|-
| rowspan="2" | 2
| android
| 20120509173141
| linux-ix-slave29
| 47 mins, 49 secs
|-
| android-xul
| 20120509183230
| linux-ix-slave39
|48 mins, 13 secs
|-
| rowspan="2" | 3
| android
| rowspan="2" |20120510163828
|linux-ix-slave29
|48 mins, 4 secs
|-
| android-xul
| linux-ix-slave39
| 50 mins, 16 secs
|-
| 13.0b2 build 2 spin 1
| android-xul
| 20120511161838
| linux-ix-slave15
| 47 mins, 34 secs
|}
|}


Line 80: Line 131:
  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
  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


= DONE TO HERE =
=== E-mail Metrics ===
=== E-mail Metrics ===
Use the address "metrics-alerts < AT > mozilla < PERIOD > org"
Use the address "metrics-alerts < AT > mozilla < PERIOD > org"
Line 96: Line 146:
=== Build ===
=== Build ===
==== Fennec ====
==== Fennec ====
* Android build died during compile: slave lost.
** It rebooted in the middle, possibly due to a system clock change.
** Rebuilt, finished fine.
===== Fennec repacks =====
* Android single locale repacks failed to repack anything... ran through the script without errors, with empty locale lists.
** Wrote a [https://bugzilla.mozilla.org/attachment.cgi?id=620136&action=edit patch]
** Reran on [a patched mozharness] mv-moz2-linux-ix-slave08 without chunking args:
# cltbld@mv-moz2-linux-ix-slave08
cd /builds/slave/rel-m-aurora-andrd-rpk-4
scripts/scripts/mobile_l10n.py --cfg single_locale/release_mozilla-aurora_android.py --tag-override FENNEC_14_0b1_RELEASE
** This worked.
=== Android Signing ===
* Wrote a [https://bugzilla.mozilla.org/attachment.cgi?id=620146&action=edit patch] to sign aurora.
* This worked, but threw a lot of errors (all single locales for android-xul; multi for android).  Filed {{bug|750976}}.
=== Reset reserved slaves ===
Done.
==Build 2==
===Preparing to start Automation===
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small>
* Set clobbers for mozilla-aurora
* Reserved 5 slaves on bm12
* Update l10n changesets for mobile
* Landed [http://hg.mozilla.org/build/buildbot-configs/rev/c644a4927b6f configs]
* Tag buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_14_0b1_{RELEASE,BUILD2}
* update and reconfigure the master
* release-sanity
<pre>
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 2 -c release-fennec-mozilla-aurora.py -m -l --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
</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])''
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b1 --branch mozilla-aurora --build-number 2 -c release-fennec-mozilla-aurora.py -m -l --products fennec localhost:9001 2>&1 | tee aki2.out
=== Tag ===
No problems.
=== Source ===
No problems.
=== Build ===
==== Fennec ====
Noticed android-xul multilocale had 0 locales.
Landed [http://hg.mozilla.org/build/mozharness/rev/988469736985 fix]; re-clobbered and forced Android-xul build.


===== Fennec repacks =====
===== Fennec repacks =====
These uploaded to build 1 :(
Wrote a patch, ran
scripts/scripts/mobile_l10n.py --cfg single_locale/release_mozilla-aurora_android.py --tag-override FENNEC_14_0b1_RELEASE
on linux-ix-slave22.


=== Android Signing ===
=== Android Signing ===
Instructions in [https://intranet.mozilla.org/Build:MobileSigning MobileSigning]
Noticed that we didn't have any Android native l10n repacks to sign; went back and fixed.
 
2nd pass was good.
 
=== Reset reserved slaves ===
Done.
 
==Build 3==
 
===Preparing to start Automation===
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small>
* Set clobbers for mozilla-aurora
* Reserved 5 slaves on bm12
 
* Update l10n changesets for mobile
* Landed [http://hg.mozilla.org/build/buildbot-configs/rev/e7b0bd7c8797 configs]
* Tag buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_14_0b1_{RELEASE,BUILD3}
* update and reconfigure the master
* release-sanity
<pre>
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 3 -c release-fennec-mozilla-aurora.py -m -l --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
</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])''
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
 
=== Tag ===
 
No problems.
 
=== Source ===
No problems.


Now run on signing1.
=== Build ===
==== Fennec ====
No problems.
 
===== Fennec repacks =====
No problems.
 
=== Android Signing ===
No problems.


=== Reset reserved slaves ===
=== Reset reserved slaves ===
Done.
==13.0b2 build 2 spin 1==
===Preparing to start Automation===
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small>
* Set clobbers for mozilla-beta
* Reserved 5 slaves on bm13
* Update l10n changesets for mobile ? -- none on the dashboard, need to talk to Axel next week.
* Landed [http://hg.mozilla.org/build/buildbot-configs/rev/6a850d4e8915 configs]
* Tag buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_13_0b2_{RELEASE,BUILD2}
* update and reconfigure the master
* release-sanity
<pre>
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 2 -c release-fennec-mozilla-beta.py --products fennec --dryrun localhost:9001 2>&1 | tee aki.out
</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])''
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
=== Tag ===
No problems.
=== Source ===
No problems.
=== Build ===
==== Fennec ====
No problems.


=== Android Signing ===
<pre>
# 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
</pre>
=== Reset reserved slaves ===
Done.
=== 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) ====
Line 112: Line 313:


=====Play Store (for beta releases and release releases)=====
=====Play Store (for beta releases and release releases)=====
'''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])
* Uploaded 14.0b1 build 3, then 13.0b2 build 2 spin 1.
* visit https://market.android.com/publish
* At "go", activated 14.0b1 build 3, deactivated previous build, activated 13.0b2 build 2 spin 1, saved.
* choose "Firefox Beta" or "Firefox"
* Updated What's new
* select the "APK Files" tab and choose "Upload APK"
* Disabled HTC Desire
** choose the 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 VersionCode is the build date (almost anyway, the market reports an hour later than our buildID)
** hit "Save"
* activate new apk (You should see an Error message since both apk's are active)
* deactivate old apk (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"

Latest revision as of 20:41, 15 May 2012

Notes About Releasing

Please update the Aurora 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 750973 - source configure requires linux mozconfig??
  • bug 750976 - android signing: allow for different locale lists for android and android-xul
  • bug 753629 - release Android single locale repacks upload to build1/ on build > 1

Build Engineers

aki - Tracking bug: bug 750837

Signed-off Revision(s)

L10N changesets

Asked about these, as these are off Aurora and we don't have processes in place for that.

This link will change over time, so won't be useful for verifying later.

  • 13.0b2 build2 spin1 had an empty l10n-changesets_mobile-beta.json ; this will probably remain true until the beta uplift on 6/5.

Tags

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

Build # Branch, Tags Changeset
1 MOBILE140_2012050114_RELBRANCH, FENNEC_14_0b1_RELEASE, FENNEC_14_0b1_BUILD1 ec68c6989414
2 MOBILE140_2012050917_RELBRANCH, FENNEC_14_0b1_RELEASE, FENNEC_14_0b1_BUILD2 8436d2126332
3 MOBILE140_2012050917_RELBRANCH, FENNEC_14_0b1_RELEASE, FENNEC_14_0b1_BUILD3 14ce1b841676
13.0b2 build2 spin1 MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD2 FENNEC_13_0b2_RELEASE d734a796d657

Build data

Fennec

Build # Type Build ID Build machine Time to build
1 android 20120501150456 mv-moz2-linux-ix-slave08 41 mins, 59 secs
android-xul mv-moz2-linux-ix-slave15 51 mins, 24 secs
2 android 20120509173141 linux-ix-slave29 47 mins, 49 secs
android-xul 20120509183230 linux-ix-slave39 48 mins, 13 secs
3 android 20120510163828 linux-ix-slave29 48 mins, 4 secs
android-xul linux-ix-slave39 50 mins, 16 secs
13.0b2 build 2 spin 1 android-xul 20120511161838 linux-ix-slave15 47 mins, 34 secs

Notes

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

detailed instructions

  • No clobbers to set for mozilla-aurora release (first one). Set one for mozilla-beta.
  • Reserved 4 slaves
  • Update l10n changesets for mobile
    • required waiting for Axel on a German holiday
  • Double-landed 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
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"

Fennec,firefox-mobile,fennec,14.0b1,14.0

Tag

No problems.

Source

Died on configure; see bug 750973

Build

Fennec

  • Android build died during compile: slave lost.
    • It rebooted in the middle, possibly due to a system clock change.
    • Rebuilt, finished fine.
Fennec repacks
  • Android single locale repacks failed to repack anything... ran through the script without errors, with empty locale lists.
    • Wrote a patch
    • Reran on [a patched mozharness] mv-moz2-linux-ix-slave08 without chunking args:
# cltbld@mv-moz2-linux-ix-slave08
cd /builds/slave/rel-m-aurora-andrd-rpk-4
scripts/scripts/mobile_l10n.py --cfg single_locale/release_mozilla-aurora_android.py --tag-override FENNEC_14_0b1_RELEASE
    • This worked.

Android Signing

  • Wrote a patch to sign aurora.
  • This worked, but threw a lot of errors (all single locales for android-xul; multi for android). Filed bug 750976.

Reset reserved slaves

Done.

Build 2

Preparing to start Automation

detailed instructions

  • Set clobbers for mozilla-aurora
  • Reserved 5 slaves on bm12
  • Update l10n changesets for mobile
  • Landed configs
  • Tag buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_14_0b1_{RELEASE,BUILD2}
  • update and reconfigure the master
  • release-sanity
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 2 -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 2 -c release-fennec-mozilla-aurora.py -m -l --products fennec localhost:9001 2>&1 | tee aki2.out

Tag

No problems.

Source

No problems.

Build

Fennec

Noticed android-xul multilocale had 0 locales.

Landed fix; re-clobbered and forced Android-xul build.

Fennec repacks

These uploaded to build 1 :(

Wrote a patch, ran

scripts/scripts/mobile_l10n.py --cfg single_locale/release_mozilla-aurora_android.py --tag-override FENNEC_14_0b1_RELEASE

on linux-ix-slave22.

Android Signing

Noticed that we didn't have any Android native l10n repacks to sign; went back and fixed.

2nd pass was good.

Reset reserved slaves

Done.

Build 3

Preparing to start Automation

detailed instructions

  • Set clobbers for mozilla-aurora
  • Reserved 5 slaves on bm12
  • Update l10n changesets for mobile
  • Landed configs
  • Tag buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_14_0b1_{RELEASE,BUILD3}
  • update and reconfigure the master
  • release-sanity
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 3 -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 3 -c release-fennec-mozilla-aurora.py -m -l --products fennec localhost:9001 2>&1 | tee aki2.out

Tag

No problems.

Source

No problems.

Build

Fennec

No problems.

Fennec repacks

No problems.

Android Signing

No problems.

Reset reserved slaves

Done.


13.0b2 build 2 spin 1

Preparing to start Automation

detailed instructions

  • Set clobbers for mozilla-beta
  • Reserved 5 slaves on bm13
  • Update l10n changesets for mobile ? -- none on the dashboard, need to talk to Axel next week.
  • Landed configs
  • Tag buildbot-configs, buildbotcustom, & tools with build & release tags.
hg tag -f FENNEC_13_0b2_{RELEASE,BUILD2}
  • update and reconfigure the master
  • release-sanity
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 2 -c release-fennec-mozilla-beta.py --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 13.0b2 --branch mozilla-beta --build-number 2 -c release-fennec-mozilla-beta.py --products fennec localhost:9001 2>&1 | tee aki2.out

Tag

No problems.

Source

No problems.

Build

Fennec

No problems.

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

Reset reserved slaves

Done.

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)
  • Uploaded 14.0b1 build 3, then 13.0b2 build 2 spin 1.
  • At "go", activated 14.0b1 build 3, deactivated previous build, activated 13.0b2 build 2 spin 1, saved.
  • Updated What's new
  • Disabled HTC Desire