Releases/Firefox 8.0b4/BuildNotes: Difference between revisions

(Created page with "=Notes About Releasing= Please update the [https://wiki.mozilla.org/index.php?title=Releases/BuildNotesTemplate Notes Template] and the [https://intranet.mozilla.org/Build:Releas...")
 
 
(20 intermediate revisions by 3 users 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


= Bugs hit =
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
Enter any bugs pre-existing or newly discovered and filed during the release:
* {{bug|}} - description
*


=Build Engineers=
= Bugs hit  =
{name} - Tracking bug: {{bug|#}}


=Signed-off Revision(s)=
Enter any bugs pre-existing or newly discovered and filed during the release:  
Build 1: [http://hg.mozilla.org/releases/mozilla-beta/rev/# #]


=L10N changesets=
*{{bug|689334}} - The L10n dashboard was not giving the correct set of changesets and we had to halt the release
[https://wiki.mozilla.org/Release:Release_Automation_on_Mercurial:Documentation#L10N_Changesets Instructions] on how to get them
*{{bug|695707}} - forgetting about tagging mozharness should be fixed with this bug
* Firefox: link to the l10n-changesets
*{{bug|648665}} - all jobs hitting hg started failing and being retried
* Fennec: link to the json
*{{bug|695467}} - darwin9/w32 jobs started hitting a new HG issue
*{{bug|696056}} - Some jobs did not re-trigger when HG failed but required manual re-trigger.
*{{bug|696052}} - status for unit/talos tests for releases
 
= Build Engineers =
 
armenzg - Tracking bug: {{bug|695429}}
 
= Signed-off Revision(s) =
 
Build 1: [http://hg.mozilla.org/releases/mozilla-beta/rev/dd943de3de11 dd943de3de11]
 
= L10N changesets =
 
[https://wiki.mozilla.org/Release:Release_Automation_on_Mercurial:Documentation#L10N_Changesets Instructions] on how to get them  
 
*Firefox: [https://l10n-stage-sj.mozilla.org/shipping/l10n-changesets?ms=fx8_beta_b4 firefox]
*Fennec: [https://l10n-stage-sj.mozilla.org/shipping/json-changesets?ms=fennec8_beta_b4&platforms=linux%2Cmacosx%2Cwin32&multi_android-multilocale_repo=mobile-browser&multi_android-multilocale_rev=default&multi_android-multilocale_path=locales%2Fmaemo-locales fennec]
 
= Tags =


=Tags=
{| class="fullwidth-table"
{| class="fullwidth-table"
| style="background:#efefef" | '''Build #'''
|-
| style="background:#efefef" | '''Branch, Tags'''
| style="background:#efefef" | '''Build #'''  
| style="background:#efefef" | '''Branch, Tags'''  
| style="background:#efefef" | '''Changeset'''
| style="background:#efefef" | '''Changeset'''
|-
|-
| rowspan="2" |  
| rowspan="2" | <br>
| MOBILE70_#_RELBRANCH, FENNEC_VERSION_RELEASE, FENNEC_VERSION_BUILD1
| MOBILE80_2011101907_RELBRANCH, FENNEC_8_0b4_BUILD1 FENNEC_8_0b4_RELEASE
| [http://hg.mozilla.org/releases/mozilla-beta/rev/# #]
| [http://hg.mozilla.org/releases/mozilla-beta/rev/# #]
|-  
|-
| GECKO70_#_RELBRANCH, FIREFOX_VERSION_BUILD1 FIREFOX_VERSION_RELEASE
| GECKO80_2011101907_RELBRANCH, FIREFOX_8_0b4_BUILD1 FIREFOX_8_0b4_RELEASE
| [http://hg.mozilla.org/releases/mozilla-beta/rev/# #]
| [http://hg.mozilla.org/releases/mozilla-beta/rev/# #]
|}
|}


=Build data=
= Build data =
== Firefox ==
 
== Firefox ==
 
{| class="fullwidth-table"
{| class="fullwidth-table"
| style="background:#efefef" | '''Build #'''
|-
| style="background:#efefef" | '''Type'''
| style="background:#efefef" | '''Build #'''  
| style="background:#efefef" | '''Build ID'''
| style="background:#efefef" | '''Type'''  
| style="background:#efefef" | '''Build machine'''
| style="background:#efefef" | '''Build ID'''  
| style="background:#efefef" | '''Build machine'''  
| style="background:#efefef" | '''Time to build'''
| style="background:#efefef" | '''Time to build'''
|-
|-
| rowspan="4" | 1  
| rowspan="4" | 1  
| Linux
| Linux  
| rowspan="4" |  
| rowspan="4" | 20111019081014
|  
| mv-moz2-linux-ix-slave18
|  
| 2 hrs, 52 mins, 17 secs
|-
|-
| Linux64
| Linux64  
|  
| linux64-ix-slave07
|  
| 2 hrs, 21 mins, 25 secs
|-
|-
| Mac
| Mac  
|  
| moz2-darwin10-slave26
|  
| 5 hrs, 32 mins, 31 secs
|-
|-
| Windows  
| Windows  
|  
| mw32-ix-slave06
|  
| 2 hrs, 59 mins, 50 secs
|}
|}


== Fennec ==
== Fennec ==
 
{| class="fullwidth-table"
{| class="fullwidth-table"
| style="background:#efefef" | '''Build #'''
|-
| style="background:#efefef" | '''Type'''
| style="background:#efefef" | '''Build #'''  
| style="background:#efefef" | '''Build ID'''
| style="background:#efefef" | '''Type'''  
| style="background:#efefef" | '''Build machine'''
| style="background:#efefef" | '''Build ID'''  
| style="background:#efefef" | '''Build machine'''  
| style="background:#efefef" | '''Time to build'''
| style="background:#efefef" | '''Time to build'''
|-
|-
| rowspan="5" | 1  
| rowspan="5" | 1  
| android
| android  
|
| 20111019121950
|  
| mv-moz2-linux-ix-slave10
|  
| 1 hrs, 37 mins, 15 secs
|-
|-
| maemo5-gtk
| linux
| (only for < 8.0b*)
| 20111019075219
|  
| mv-moz2-linux-ix-slave02
|
| 1 hrs, 23 mins, 27 secs
|-
|-
| linux
| macosx
|
| 20111019075219
|  
| bm-xserve15
|  
| 2 hrs, 32 mins, 24 secs
|-
|-
| macosx
| win32
|
| 20111019075219
|
| mw32-ix-slave20
|  
| 1 hrs, 18 mins, 44 secs
|-
| win32
|
|
|
|}
|}


=Notes=
= Notes =
==Build 1==
 
===Syncing repos===
== Build 1 ==
(eg: mozilla-beta -> mozilla-release for new Firefox releases)
 
====Diff mozconfigs====
=== Preparing to start Automation ===
If this is a *.0 beta -> release


===Preparing to start Automation===
*Set reserved_slaves to 6:
Set clobbers for the appropriate masters
Update l10n changesets for desktop, mobile
Land automation configs
Tag buildbot-configs, buildbotcustom, tools with build & release tags


=== E-mail Metrics ===
# cltbld@buildbot-master08
Only for beta1 and 1.9.2 releases
echo 6 &gt; /builds/buildbot/build1/master/reserved_slaves_bm08-build1


=== E-mail mirrors@mozilla.org ===
*Requested a clobber for Any master, mozilla-beta, any builder
Not necessary for rapid release betas, files only go as far as the 'internal mirrors'.
*Hit "Ship it" for Firefox &amp; Fennec 8.0b4
*Update l10n changesets for desktop, mobile
*Land automation configs
*Tag buildbot-configs, buildbotcustom, tools, mozharness with {FIREFOX,FENNEC}_8_0b4_{RELEASE,BUILD1}
*Updated master configs, ran checkconfig, reconfiged
*Ran release sanity:


They want to know approximately what time push to external mirrors will occurIdeally this is a 24hr notice to them, with the estimated time.
cd /builds/buildbot/build1/master
<pre>
source ../bin/activate
Subject: Firefox {VERSION} coming to mirrors tomorrow
  PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u armenzg -pfirefox,fennec -V 8.0b4 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py --dryrun localhost:9001
Body:
 
We're planning on pushing our Firefox {VERSION} release to mirrors sometime over
*Started the release:
the next 24 hours in time.
 
# If this is a chemspill, please mention that in the email as it will mean pinging
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u armenzg -pfirefox,fennec -V 8.0b4 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py localhost:9001
# for CDN to be enabled when the push to internal mirrors happens
 
*Started [https://intranet.mozilla.org/Build:CombinedSigning autosigning]
 
=== Tag  ===
 
No problems.
 
=== Bouncer Submitter  ===
 
No problems.  
 
=== Source  ===
 
No problems after HG issues.


If you believe these releases or these dates will cause any problems,
=== Start autosign  ===
please notify release at mozilla.com. If you have any problems with mirror
<pre>PRODUCT=firefox
status/weights/etc, please notify mirror-submissions at mozilla.org.
VERSION=8.0b4
</pre>
BUILD=1
TAG=FIREFOX_8_0b4_RELEASE
REPO='releases/mozilla-beta'
EMAIL=release@mozilla.com
KEYDIR=d:/2011-keys
RELCONFIG=mozilla/release-firefox-mozilla-beta.py


=== Tag ===
cd ${HOME}/hg-tools/ # if it exists, otherwise create a fresh clone
hg pull &amp;&amp; hg up -r ${TAG}
mkdir -p ~/signing-work/${PRODUCT}-${VERSION}/lib/python
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .
rsync -av ~/hg-tools/lib/python/ ./lib/python/
make autosign PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG}
</pre>
=== Build  ===


=== Bouncer Submitter ===
==== Firefox  ====


Around 10:30 AM PDT (Oct. 18th) most build jobs started passing through the hg steps.


=== Source ===
==== Fennec  ====
No problems after HG issues were left behind.


===== Android  =====


=== Start autosign ===
*I failed to tag mozharness and linux-android_build failed
*Tagged and retriggered the job
*Later on, the multi-locale steps failed with HG
*Clobbered and re-triggered


=== Unittests / Talos  ===


=== Build ===
Filed bug 696052 to recover visibility of these.
==== Firefox ====


=== XULRunner  ===


==== Fennec ====
No problems after HG issues were ironed out.
===== Android =====


==== Source ====


===== Maemo5-GTK =====
No problems after HG issues were ironed out.  
(only for < 8.0b*)
===== Desktop Builds =====


===== Desktop repacks =====
==== Build ====


=== Unittests / Talos ===
No problems after HG issues were ironed out.


=== XULRunner ===
==== Signing  ====


====Source====
NOTE: use new signcode keys from d:/2011-keys


====Build====
<pre>
#!/bin/bash
set -x
set -e


====Signing====
PRODUCT=xulrunner
NOTE: use new signcode keys from d:/2011-keys
VERSION=8.0b4
BUILD=1
TAG=FIREFOX_8_0b4_RELEASE
REPO="releases/mozilla-beta"
EMAIL=armenzg@mozilla.com
KEYDIR=d:/2011-keys


=== Repacks ===
cd ~/hg-tools
==== Firefox ====
hg pull
hg up -r ${TAG}


mkdir -p ~/signing-work/${PRODUCT}-${VERSION}
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .


==== Fennec ====
make setup PRODUCT=${PRODUCT} VERSION=${VERSION} \
  BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR}
rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \
  --exclude=*.txt --exclude=*-symbols.zip --exclude=jsshell*\
  xrbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates
/build${BUILD}/ \
unsigned-build${BUILD}
rsync -av --exclude=unsigned unsigned-build${BUILD}/ \
signed-build${BUILD}/
rsync -av unsigned-build${BUILD}/unsigned/ \
signed-build${BUILD}/


=== Partner Repack ===
make checksum-files create-sigs stage verify-sigs \
==== Firefox ====
  PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} \
==== Fennec ====
  REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR}


=== Firefox Signing ===
rmdir signed-build${BUILD}/contrib{,-localized}


rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \
  signed-build${BUILD}/ \
  xrbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates/build${BUILD}/
</pre>


=== Android Signing ===
=== Repacks  ===


==== Android Signature Verification ====
==== Firefox  ====


No problems.


=== Maemo5-GTK repos ===
==== Fennec  ====
(only applicable to < 8.0b*)
=== L10N verify ===


No problems.


=== Updates ===
=== Firefox Signing  ===


==== Update verify ====
No problems.


=== Major Update ===
=== Android Signing  ===
==== Update verify ====


=== Socorro Product Data Updates ===
No problems with [https://intranet.mozilla.org/Build:MobileSigning instructions]


=== Reset reserved slaves ===
==== Android Signature Verification  ====


=== Check permissions / AV scan ===
No problems


=== Push files to internal mirrors ===
=== L10N verify  ===
No problems


=== Final verification ===
=== Updates  ===
No problems


=== Push to beta ===
==== Update verify  ====
No problems


===Push XULRunner to Mirrors ===
=== Reset reserved slaves  ===
In buildbot-master08:/builds/buildbot/build1/master did
echo 0 > reserved_slaves_bm08-build1


=== Update XULRunner wiki page ===
=== Check permissions / AV scan  ===
=== Push index file to mirrors ===
No problems


=== Push to external mirrors ===
=== Push files to internal mirrors ===
if this is a chemspill you will want to ping justdave (or other sysadmin) in #release-drivers
Used "Force build" to starting the push to mirrors builder with the following property:
  and ask them to enable CDN
  script_repo_revision: FIREFOX_8_0b4_RELEASE


=== Publish Fennec ===
=== Final verification  ===
==== Create bouncer entry for maemo ====
No problems.
(only for < 8.0b*)
==== Push the files ====
(only for < 8.0b*)
==== Publish to the Android Market ====


=== Push to beta  ===
<pre>
#cltbld@aus2-staging
cd /opt/aus2/snippets/staging/
~/bin/backupsnip Firefox-8.0b4-build1
real    56m52.284s
user    0m8.330s
sys    0m43.232s
</pre>


'''IMPORTANT -''' Make sure to follow instructions! See [https://wiki.mozilla.org/Releases/Firefox_6.0b6/BuildNotes#Publish_to_the_Android_Market 6.0b6's push to Market].
Upon rel-drivers request:
<pre>
#cltbld@aus2-staging
cd /opt/aus2/snippets/staging/
~/bin/pushsnip Firefox-8.0b4-build1
</pre>


=== Push XULRunner to Mirrors  ===
<pre>
#xrbld@stage.mozilla.org
rsync  -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip \
  --exclude=*.checksums --exclude=jsshell* \
  /pub/mozilla.org/xulrunner/nightly/8.0b4-candidates/build1/ \
  /pub/mozilla.org/xulrunner/releases/8.0b4/
</pre>


=== Push to Release Channel ===
=== Publish Fennec  ===
==== Publish files ====
# as ffxbld@stage in ~ dir
vim push_fennec.sh # update VERSION,BUILDNUM
# RUN IT
./push_fennec.sh


=== Update symlinks ===
==== Publish to the Android Market  ====
Once we're signed off on the release channel.
==== Remove index.html files ====
If you created them earlier to hide the release.


=== Update browser choice website ===
* wget http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/8.0b4-candidates/build1/android/multi/fennec-8.0b4.multi.eabi-arm.apk
* Visit https://market.android.com/publish
* choose "Firefox Beta"
* select the "APK Files" tab and choose "Upload APK"
** 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 build date
** 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)
* send email to rel-drivers
Confirmed users
3,990

edits