Confirmed users
3,990
edits
(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 = | ||
Enter any bugs pre-existing or newly discovered and filed during the release: | |||
=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: | *{{bug|648665}} - all jobs hitting hg started failing and being retried | ||
* Fennec: | *{{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 = | |||
{| 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> | ||
| | | 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/# #] | ||
|- | |- | ||
| | | 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 | ||
|- | |- | ||
| | | linux | ||
| | | 20111019075219 | ||
| | | mv-moz2-linux-ix-slave02 | ||
| | | 1 hrs, 23 mins, 27 secs | ||
|- | |- | ||
| | | macosx | ||
| | | 20111019075219 | ||
| | | bm-xserve15 | ||
| | | 2 hrs, 32 mins, 24 secs | ||
|- | |- | ||
| | | win32 | ||
| 20111019075219 | |||
| mw32-ix-slave20 | |||
| | | 1 hrs, 18 mins, 44 secs | ||
|- | |||
| | |||
|} | |} | ||
=Notes= | = Notes = | ||
==Build 1== | |||
== Build 1 == | |||
==== | === Preparing to start Automation === | ||
*Set reserved_slaves to 6: | |||
# cltbld@buildbot-master08 | |||
echo 6 > /builds/buildbot/build1/master/reserved_slaves_bm08-build1 | |||
*Requested a clobber for Any master, mozilla-beta, any builder | |||
*Hit "Ship it" for Firefox & 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: | |||
cd /builds/buildbot/build1/master | |||
source ../bin/activate | |||
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 | |||
*Started the release: | |||
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 | |||
*Started [https://intranet.mozilla.org/Build:CombinedSigning autosigning] | |||
=== Tag === | |||
No problems. | |||
=== Bouncer Submitter === | |||
No problems. | |||
=== Source === | |||
No problems after HG issues. | |||
=== Start autosign === | |||
<pre>PRODUCT=firefox | |||
VERSION=8.0b4 | |||
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 | |||
=== | cd ${HOME}/hg-tools/ # if it exists, otherwise create a fresh clone | ||
hg pull && 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 === | |||
=== | ==== Firefox ==== | ||
Around 10:30 AM PDT (Oct. 18th) most build jobs started passing through the hg steps. | |||
=== | ==== Fennec ==== | ||
No problems after HG issues were left behind. | |||
===== Android ===== | |||
*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 === | |||
Filed bug 696052 to recover visibility of these. | |||
=== XULRunner === | |||
No problems after HG issues were ironed out. | |||
==== Source ==== | |||
No problems after HG issues were ironed out. | |||
==== | ==== Build ==== | ||
No problems after HG issues were ironed out. | |||
=== | ==== Signing ==== | ||
NOTE: use new signcode keys from d:/2011-keys | |||
<pre> | |||
#!/bin/bash | |||
set -x | |||
set -e | |||
==== | PRODUCT=xulrunner | ||
VERSION=8.0b4 | |||
BUILD=1 | |||
TAG=FIREFOX_8_0b4_RELEASE | |||
REPO="releases/mozilla-beta" | |||
EMAIL=armenzg@mozilla.com | |||
KEYDIR=d:/2011-keys | |||
cd ~/hg-tools | |||
hg pull | |||
hg up -r ${TAG} | |||
mkdir -p ~/signing-work/${PRODUCT}-${VERSION} | |||
cd ~/signing-work/${PRODUCT}-${VERSION} | |||
cp ~/hg-tools/release/signing/* . | |||
==== | 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}/ | |||
make checksum-files create-sigs stage verify-sigs \ | |||
=== | PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} \ | ||
=== | REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} | ||
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> | |||
=== | === Repacks === | ||
==== | ==== Firefox ==== | ||
No problems. | |||
=== | ==== Fennec ==== | ||
No problems. | |||
=== | === Firefox Signing === | ||
No problems. | |||
=== | === Android Signing === | ||
No problems with [https://intranet.mozilla.org/Build:MobileSigning instructions] | |||
=== | ==== Android Signature Verification ==== | ||
No problems | |||
=== | === L10N verify === | ||
No problems | |||
=== | === Updates === | ||
No problems | |||
=== | ==== Update verify ==== | ||
No problems | |||
=== | === Reset reserved slaves === | ||
In buildbot-master08:/builds/buildbot/build1/master did | |||
echo 0 > reserved_slaves_bm08-build1 | |||
=== | === Check permissions / AV scan === | ||
No problems | |||
=== Push to | === Push files to internal mirrors === | ||
Used "Force build" to starting the push to mirrors builder with the following property: | |||
script_repo_revision: FIREFOX_8_0b4_RELEASE | |||
=== | === Final verification === | ||
No problems. | |||
=== 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> | |||
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> | |||
=== | === Publish Fennec === | ||
==== Publish files ==== | |||
# as ffxbld@stage in ~ dir | |||
vim push_fennec.sh # update VERSION,BUILDNUM | |||
# RUN IT | |||
./push_fennec.sh | |||
=== | ==== Publish to the Android Market ==== | ||
==== | |||
* 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 |