|
|
Line 204: |
Line 204: |
| * Publish (and record run time here): <small>''[[Release:Release_Automation_on_Mercurial:Documentation#Beta_Release_.28Firefox_only.29|details]]''</small> | | * Publish (and record run time here): <small>''[[Release:Release_Automation_on_Mercurial:Documentation#Beta_Release_.28Firefox_only.29|details]]''</small> |
| * on completion, email r-d that VERSION updates are live on the beta channel | | * on completion, email r-d that VERSION updates are live on the beta channel |
| | |
| | <tt>pushsnip</tt> ran in 7m21.799s; email sent to r-d |
|
| |
|
| For Android: | | For Android: |
| * publish on Google Play (nee Android Marketplace), using [[#Publish_Fennec_to_the_Android_Market|instructions below]]
| | ''no android this release'' |
| * on completions, email r-d that VERSION is live on Google Play
| |
|
| |
|
| Wait for confirmation from QA that each of the above releases is okay, then close the tracking ticket. | | Wait for confirmation from QA that each of the above releases is okay, then close the tracking ticket. |
|
| |
| === Release Day ===
| |
| ==== Publish Fennec to the Play Store (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>)
| |
|
| |
| =====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])
| |
| * visit https://market.android.com/publish
| |
| * choose "Firefox Beta" or "Firefox"
| |
| * 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 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"
| |
|
| |
| ====Push XULRunner to Mirrors ====
| |
|
| |
| ==== Update XULRunner wiki page ====
| |
| For major releases or chemspills, update the links on:
| |
| * https://developer.mozilla.org/en/XULRunner
| |
| * https://developer.mozilla.org/en/Gecko_SDK
| |
|
| |
| Also for older releases:
| |
| * https://developer.mozilla.org/en/XULRunner_1.9.2_Release_Notes
| |
| * https://developer.mozilla.org/en/Gecko_SDK
| |
|
| |
| ==== Check Throttling ====
| |
| See http://update-watch.localgho.st/release/ for example AUS links
| |
|
| |
| Some links to check:
| |
| * Automatic (idle time check) update links:
| |
| ** 10.0.2 en-US [https://aus3.mozilla.org/update/1/Firefox/10.0.2/20120215223356/WINNT_x86-msvc/en-US/release/update.xml win32] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120215223356/Linux_x86-gcc3/en-US/release/update.xml linux] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120215223356/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/release/update.xml mac] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120215223356/Linux_x86_64-gcc3/en-US/release/update.xml linux64]
| |
| ** 9.0 en-US [https://aus2.mozilla.org/update/1/Firefox/9.0/20111216140209/WINNT_x86-msvc/en-US/release/update.xml win32] [https://aus2.mozilla.org/update/1/Firefox/9.0/20111216140209/Linux_x86-gcc3/en-US/release/update.xml linux] [https://aus2.mozilla.org/update/1/Firefox/9.0/20111216140209/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/release/update.xml mac] [https://aus2.mozilla.org/update/1/Firefox/9.0/20111216140209/Linux_x86_64-gcc3/en-US/release/update.xml linux64]
| |
| ** 10.0.2esr en-US [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120216092139/WINNT_x86-msvc/en-US/esr/update.xml win32] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120216092139/Linux_x86-gcc3/en-US/esr/update.xml linux] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120216092139/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/esr/update.xml mac] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120216092139/Linux_x86_64-gcc3/en-US/esr/update.xml linux64]
| |
| ** 10.0esr en-US [https://aus2.mozilla.org/update/1/Firefox/10.0/20120130064731/WINNT_x86-msvc/en-US/esr/update.xml win32] [https://aus2.mozilla.org/update/1/Firefox/10.0/20120130064731/Linux_x86-gcc3/en-US/esr/update.xml linux] [https://aus2.mozilla.org/update/1/Firefox/10.0/20120130064731/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/esr/update.xml mac] [https://aus2.mozilla.org/update/1/Firefox/10.0/20120130064731/Linux_x86_64-gcc3/en-US/esr/update.xml linux64]
| |
| ** 3.6.27 en-US [https://aus2.mozilla.org/update/1/Firefox/3.6.27/20120216013254/WINNT_x86-msvc/en-US/release/update.xml win32] [https://aus2.mozilla.org/update/1/Firefox/3.6.27/20120216013254/Linux_x86-gcc3/en-US/release/update.xml linux] [https://aus2.mozilla.org/update/1/Firefox/3.6.27/20120216013254/Darwin_x86-gcc3-u-ppc-i386/en-US/release/update.xml mac]
| |
| * Manual update links:
| |
| ** 10.0.2 en-US [https://aus3.mozilla.org/update/1/Firefox/10.0.2/20120215223356/WINNT_x86-msvc/en-US/release/update.xml?force=1 win32] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120215223356/Linux_x86-gcc3/en-US/release/update.xml?force=1 linux] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120215223356/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/release/update.xml?force=1 mac] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120215223356/Linux_x86_64-gcc3/en-US/release/update.xml?force=1 linux64]
| |
| ** 9.0 en-US [https://aus2.mozilla.org/update/1/Firefox/9.0/20111216140209/WINNT_x86-msvc/en-US/release/update.xml?force=1 win32] [https://aus2.mozilla.org/update/1/Firefox/9.0/20111216140209/Linux_x86-gcc3/en-US/release/update.xml?force=1 linux] [https://aus2.mozilla.org/update/1/Firefox/9.0/20111216140209/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/release/update.xml?force=1 mac] [https://aus2.mozilla.org/update/1/Firefox/9.0/20111216140209/Linux_x86_64-gcc3/en-US/release/update.xml?force=1 linux64]
| |
| ** 10.0.2esr en-US [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120216092139/WINNT_x86-msvc/en-US/esr/update.xml?force=1 win32] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120216092139/Linux_x86-gcc3/en-US/esr/update.xml?force=1 linux] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120216092139/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/esr/update.xml?force=1 mac] [https://aus2.mozilla.org/update/1/Firefox/10.0.2/20120216092139/Linux_x86_64-gcc3/en-US/esr/update.xml?force=1 linux64]
| |
| ** 10.0esr en-US [https://aus2.mozilla.org/update/1/Firefox/10.0/20120130064731/WINNT_x86-msvc/en-US/esr/update.xml?force=1 win32] [https://aus2.mozilla.org/update/1/Firefox/10.0/20120130064731/Linux_x86-gcc3/en-US/esr/update.xml?force=1 linux] [https://aus2.mozilla.org/update/1/Firefox/10.0/20120130064731/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/esr/update.xml?force=1 mac] [https://aus2.mozilla.org/update/1/Firefox/10.0/20120130064731/Linux_x86_64-gcc3/en-US/esr/update.xml?force=1 linux64]
| |
| ** 3.6.27 en-US [https://aus2.mozilla.org/update/1/Firefox/3.6.27/20120216013254/WINNT_x86-msvc/en-US/release/update.xml?force=1 win32] [https://aus2.mozilla.org/update/1/Firefox/3.6.27/20120216013254/Linux_x86-gcc3/en-US/release/update.xml?force=1 linux] [https://aus2.mozilla.org/update/1/Firefox/3.6.27/20120216013254/Darwin_x86-gcc3-u-ppc-i386/en-US/release/update.xml?force=1 mac]
| |
|
| |
| ==== Push to Release Channel (for beta releases and release releases) ====
| |
| Once there is enough uptake and we get "go" from release driver.
| |
|
| |
| ==== Update symlinks ====
| |
| 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 ====
| |
Notes About Releasing
Please update the 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 753172 - needed to steal darwin10 slaves for the duration
- bug 753053 - missing symlinks on build master for l10n configs
- bug 753226 - release-sanity.py doesn't validate non-optional arguments
- bug 743304 - pre-existing partial mars signing failed due to py26/py27 differences, delaying win32 builds, so QA opened bug 753352 to check on status
- bug 753300 - missing keys/known_hosts on bld-centos6-* machines didn't allow several uploads.
Build Engineers
{hwine} - Tracking bug: bug 744592
Signed-off Revision(s)
Build 1: aa323b98df36
L10N changesets
Instructions on how to get them
Tags
Manually tag the automation code, then record the generated tags below. (details)
Build #
|
Branch, Tags
|
Changeset
|
1
|
MOBILE130_2012050817_RELBRANCH, FENNEC_13_0b3_RELEASE FENNEC_13_0b3_BUILD1
|
64ffbdd90ac0
|
GECKO130_2012050817_RELBRANCH, FIREFOX_13_0b3_RELEASE FIREFOX_13_0b3_BUILD1
|
4f3991db9f8b
|
Build data
Firefox
Build #
|
Type
|
Build ID
|
Build machine
|
Time to build
|
1
|
Linux
|
20120508180640
|
linux-ix-slave14
|
1 hrs, 3 mins, 26 secs
|
Linux64
|
linux64-ix-slave21
|
1 hrs, 1 mins, 48 secs
|
Mac
|
moz2-darwin10-slave55
|
3 hrs, 14 mins, 30 secs
|
Windows
|
20120509070325
|
w32-ix-slave37
|
3 hrs, 42 mins, 15 secs
|
Fennec
Build #
|
Type
|
Build ID
|
Build machine
|
Time to build
|
1
|
android
|
20120508174549
|
n/a
|
n/a
|
android-xul
|
linux-ix-slave15
|
47 mins, 22 secs
|
Notes
Build 1
Preparing to start Automation
detailed instructions
- Set clobbers for the appropriate masters. Doing this 24-48 hours in advance should speedup the build.
- Reserve slaves, e.g.:
[cltbld@buildbot-master08 master]$ pwd
/builds/buildbot/build1/master
[cltbld@buildbot-master08 master]$ cat reserved_slaves_bm08-build1
8
- For build1 only, create a symlink for your $version (eg 11.0b4, 10.0.2esr, 10.0.2, 3.6.27) (until bug 725839 is resolved)
# ffxbld@stage
cd /pub/mozilla.org/firefox/nightly/
mkdir ../candidates/$version-candidates
ln -s ../candidates/$version-candidates $version-candidates
- Update l10n changesets for desktop, mobile
- double-landed automation configs
- Tag buildbot-configs, buildbotcustom, & tools with build & release tags. (details)
hg tag -f {FIREFOX,FENNEC}_13_0b3_{RELEASE,BUILD1}
- updated and reconfigure the master via fabric
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py --dryrun \
-u hwine -V 13.0b3 --branch mozilla-beta --build-number 1 \
-c release-firefox-mozilla-beta.py -c release-fennec-mozilla-beta.py \
--products firefox,fennec localhost:9001
- start automation ← monitor progress on buildbot (e.g. beta)
- the same command as above but without the "--dryrun"
E-mail Metrics
Use the address "metrics-alerts < AT > mozilla < PERIOD > org"
Firefox,firefox,firefox,13.0b3,13.0
Fennec,firefox-mobile,fennec,13.0b3,13.0
Tag
OK
Bouncer Submitter
OK
Source
OK
Build
Firefox
OK
Firefox repacks
OK
Fennec
Fennec repacks
Unittests / Talos
XULRunner
Source
OK
Build
OK
Android Signing
Instructions in MobileSigning
Now run on signing1.
OK
L10N verify
Failed on mac after hy-AM, other platforms okay. This verify step scheduled to be removed (bug 749748), so "mach nicht".
Rest OK
Checksums
OK
Updates
OK
Update verify
OK
Reset reserved slaves
The final release with this naming convention, so just got rid of the file:
rm reserved_slaves_bm13-build1
Check permissions / AV scan
OK
Push to internal mirrors
OK
automation failure on bld-centos6-hp-* hosts bug 753053, so manually pushed.
Had to reconfig master in middle of run for bug 753300, so uptake monitoring broke. Manually sent "ready for releasetest" emails.
Final verification
Record receipt of "completed_final_verification" emails (1 per platform)
Going to Beta
Run backupsnip
NOTE: Remember to do this at least 2 hours ahead of the expected "go to beta" email. details
$ cd /opt/aus2/snippets/staging/
$ time ~/bin/backupsnip Firefox-13.0b3-build1
Done in 9 minutes
Push to beta
Wait for "go" from release managers
For Firefox:
- Publish (and record run time here): details
- on completion, email r-d that VERSION updates are live on the beta channel
pushsnip ran in 7m21.799s; email sent to r-d
For Android:
no android this release
Wait for confirmation from QA that each of the above releases is okay, then close the tracking ticket.