Releases/Fennec 14.0b3/BuildNotes: Difference between revisions

 
(29 intermediate revisions by the same user not shown)
Line 6: Line 6:
= Bugs hit =
= Bugs hit =
Enter any bugs pre-existing or newly discovered and filed during the release:
Enter any bugs pre-existing or newly discovered and filed during the release:
*  
* {{bug|757911}} - buildbot database replication event causing multiple failures


=Build Engineers=
=Build Engineers=
Line 29: Line 29:
|-
|-
| 1
| 1
| MOBILE140_#_RELBRANCH, FENNEC_14_0b3_RELEASE, FENNEC_14_0b3_BUILD1
| MOBILE140_2012052310_RELBRANCH, FENNEC_14_0b3_RELEASE, FENNEC_14_0b3_BUILD1
| [http://hg.mozilla.org/releases/mozilla-aurora/rev/# #]
| [http://hg.mozilla.org/releases/mozilla-aurora/rev/397e23d78465 397e23d78465]
|-
|-
| 13.0b2 build3 spin2
| 13.0b2 build3 spin2
| MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD3 FENNEC_13_0b2_RELEASE
| [http://hg.mozilla.org/releases/mozilla-beta/rev/88ee14110a74 88ee14110a74]
|-
| 2
| MOBILE140_2012052310_RELBRANCH, FENNEC_14_0b3_RELEASE, FENNEC_14_0b3_BUILD2
| [http://hg.mozilla.org/releases/mozilla-aurora/rev/fcd3d27d53c6 fcd3d27d53c6]
|-
| 13.0b2 build3 spin3
| MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD3 FENNEC_13_0b2_RELEASE  
| MOBILE130_2012050119_RELBRANCH FENNEC_13_0b2_BUILD3 FENNEC_13_0b2_RELEASE  
| [http://hg.mozilla.org/releases/mozilla-beta/rev/88ee14110a74 88ee14110a74]
| [http://hg.mozilla.org/releases/mozilla-beta/rev/88ee14110a74 88ee14110a74]
Line 48: Line 56:
| rowspan="2" | 1  
| rowspan="2" | 1  
| android
| android
| rowspan="2" |  
| rowspan="2" | 20120523093928
|
| linux-ix-slave01
|
| 49 mins, 28 secs
|-
|-
| android-xul
| android-xul
|
| linux-ix-slave13
|
| 49 mins, 22 secs
|-
|-
| 13.0b2 build # spin #
| 13.0b2 build 3 spin 2
| android-xul
| android-xul
|  
| 20120523112126
|  
| linux-ix-slave35
|  
| 46 mins, 8 secs
|-
| rowspan="2" | 2
| android
| rowspan="2" | 20120524133102
| linux-ix-slave01
| 51 mins, 16 secs
|-
| android-xul
| linux-ix-slave17
| 52 mins, 12 secs
|-
| 13.0b2 build 3 spin 3
| android-xul
| 20120524151809
| linux-ix-slave35
| 46 mins, 44 secs
|}
|}


Line 68: Line 92:
<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
* Reserve slaves on bm12
* Reserved slaves on bm12
* Update l10n changesets for mobile (see above)
* Updated l10n changesets for mobile (see above)
* Land [http://hg.mozilla.org/build/buildbot-configs/rev/# configs]
* Double landed configs: [http://hg.mozilla.org/build/buildbot-configs/rev/ffb85db63543 default] [http://hg.mozilla.org/build/buildbot-configs/rev/3cb803bad766 production]
* Tag buildbot-configs, buildbotcustom, & tools with build & release tags.  
* Tagged buildbot-configs, buildbotcustom, & tools with build & release tags.  
  hg tag -f FENNEC_14_0b3_{RELEASE,BUILD1}
  hg tag -f FENNEC_14_0b3_{RELEASE,BUILD1}
* update and reconfigure the master
* updated and reconfigured the master
* release-sanity
* release-sanity
<pre>
<pre>
Line 92: Line 116:


=== Tag ===
=== Tag ===
No problems.
db-issue caused 2nd run completed, probably very ugly =\


=== Source ===
=== Source ===
No problems.
Killed 2nd and 3rd runs due to db replication issues.


=== Build ===
=== Build ===
==== Fennec ====
==== Fennec ====
No problems.
Killed 2nd and 3rd runs due to db replication issues.


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


=== Android Signing ===
=== Android Signing ===
I started this before the repacks kicked off.  Removed the android dir on stage; reran after repacks. No problems.


<pre>
<pre>
Line 111: Line 147:


=== Reset reserved slaves ===
=== Reset reserved slaves ===
Done.


==13.0b2 build # spin #==
==13.0b2 build 3 spin 2==


===Preparing to start Automation===
===Preparing to start Automation===
Line 118: Line 155:
* Set clobbers for mozilla-beta
* Set clobbers for mozilla-beta
* Reserve slave on bm13
* Reserve slave on bm13
* L10n changesets for 13.0b2 build3 spin1 will remain empty {}
* L10n changesets for 13.0b2 build3 spin2 will remain empty {}
* Verify that nothing has changed in 13.0b2 land since the previous spin.
* Verify that nothing has changed in 13.0b2 land since the previous spin.


=== IF NO CODE HAS CHANGED ===
=== IF NO CODE HAS CHANGED ===


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


* Create a build#-spin# directory on stage, and softlink the build# to it.
* Created a build3-spin2 directory on stage, and softlink the build3 to it.
** The spin# will increment instead of the build#.
* 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].
** For build3-spin2:
** This will upload into the build3-spin2 directory instead of overwriting the previous build.


<pre>
=== Build ===
# ffxbld@stage
==== Fennec ====
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].
No problems.
** This will upload into the build#-spin# directory instead of overwriting the previous build.


=== IF CODE HAS CHANGED ===
=== Android Signing ===


* Land 13.0b2 [http://hg.mozilla.org/build/buildbot-configs/rev/# configs] : increment the build number.
No problems.
* 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>
<pre>
# ffxbld@stage
# cltsign@signing1
cd /pub/mozilla.org/mobile/candidates/13.0b2-candidates
cd signing-work
mkdir build3-spin1
hg --cwd mozharness pull
ln -s build3-spin1 build3
hg --cwd mozharness up -C -r default
python26 mozharness/scripts/sign_android.py --config-file signing/android_mozilla-beta.py
</pre>
</pre>


* Tag buildbot-configs, buildbotcustom, & tools with build & release tags.  
==Build 2==
  hg tag -f FENNEC_13_0b2_{RELEASE,BUILD#}
===Preparing to start Automation===
* update and reconfigure the master
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small>
* Set clobbers for mozilla-aurora
* Reserved 5 slaves on bm12
* L10n changesets are unchanged since build 1.
 
* Double landed configs: [http://hg.mozilla.org/build/buildbot-configs/rev/6e01737642e1 default [http://hg.mozilla.org/build/buildbot-configs/rev/2fc64f6e68b5 production]
* Tagged buildbot-configs, buildbotcustom, & tools with build & release tags.  
  hg tag -f FENNEC_14_0b3_{RELEASE,BUILD2}
* updated and reconfigured the master
* release-sanity
* release-sanity
<pre>
<pre>
# For 13.0b2 build 3:
# For 14.0b3 build 2:
# cltbld@bm13
# 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 13.0b2 --branch mozilla-beta --build-number 3 -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 14.0b3 --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>
</pre>
* 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])''
* 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 13.0b2 --branch mozilla-beta --build-number 3 -c release-fennec-mozilla-beta.py --products fennec localhost:9001 2>&1 | tee aki.out
  PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b3 --branch mozilla-aurora --build-number 2 -c release-fennec-mozilla-aurora.py -m -l --products fennec localhost:9001 2>&1 | tee aki2.out


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


=== Source ===
=== Source ===
(only runs if code has changed)
No problems.
 
=== Build ===
==== Fennec ====
 
No problems.
 
===== Fennec repacks =====
No problems.
 
=== 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>
 
=== Reset reserved slaves ===
Done.
 
==13.0b2 build 3 spin 3==
 
===Preparing to start Automation===
<small>[[Release:Release_Automation_on_Mercurial:Documentation#Starting_the_automation|detailed instructions]]</small>
* Set clobbers for mozilla-beta
* No code has changed.
 
=== IF NO CODE HAS CHANGED ===
 
If no code has changed since the previous 13.0b2 build, we can just respin the previous build:
 
* Created a build3-spin3 directory on stage, and softlinked build3 to it.
 
* 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].


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


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


<pre>
<pre>
Line 195: Line 272:
'''IMPORTANT -''' Make sure to follow instructions!
'''IMPORTANT -''' Make sure to follow instructions!


<font color="red" size="+1">'''The 14.0b3 build *must* be uploaded before the 13.0b2 build!'''</font>
<font color="red" size="+1">'''The 14.0b# build *must* be uploaded before the 13.0b2 build!'''</font>


* download 14.0b3 and 13.0b2 multi apk (e.g. [http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/14.0b1-candidates/build2/android/multi/fennec-14.0b3.multi.android-arm.apk] and [http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/13.0b2-candidates/build3/android-xul/multi/fennec-13.0b2.multi.android-arm.apk])
* 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 14.0b3 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"  
* Repeat with the 13.0b2 multi apk
* Repeat with the 13.0b2 multi apk
* activate new 14.0b3 and 13.0b2 apks (You should see an Error message since both apk's are active)
** 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)
* 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/
** and hit "Save"
Confirmed users
4,971

edits