Releases/Firefox 10.0b3/BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
 
(14 intermediate revisions by 2 users not shown)
Line 90: Line 90:
==Build 1==
==Build 1==
===Syncing repos===
===Syncing repos===
(eg: mozilla-beta -> mozilla-release for new Firefox releases)
N/A
====Diff mozconfigs====
====Diff mozconfigs====
If this is a *.0 beta -> release
N/A


===Preparing to start Automation===
===Preparing to start Automation===
Line 113: Line 113:


=== E-mail Metrics ===
=== E-mail Metrics ===
For 3.6.25 you would send
Email sent:
  Firefox,firefox,firefox,3.6.25,3.6
  Firefox,firefox,firefox,10.0b3,10.0
  Firefox,firefox,firefox,3.6.26pre,3.6
  Fennec,firefox-mobile,fennec,10.0b3,10.0


For non-3.6 releases, we need to include Fennec in the email if we build Fennec.
=== E-mail mirrors@mozilla.org ===
N/A


For 9.0b2 it would be
=== Tag ===
Firefox,firefox,firefox,9.0b2,9.0
No problems
Fennec,firefox-mobile,fennec,9.0b2,9.0


And for 9.0 final it's
=== Bouncer Submitter ===
Firefox,firefox,firefox,9.0,9.0
No problems
  Fennec,firefox-mobile,fennec,9.0,9.0
 
=== Source ===
No problems
 
=== Start autosign ===
<pre>
PRODUCT=firefox
VERSION=10.0b3
BUILD=1
TAG=FIREFOX_10_0b3_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>
Instructions are in [https://intranet.mozilla.org/Build:CombinedSigning CombinedSigning]
 
=== Build ===
==== Firefox ====
No problems
===== Firefox repacks =====
No problems
==== Fennec ====
===== Android =====
No problems
===== Desktop Builds =====
No problems
===== Mobile Desktop repacks =====
No problems
 
=== Unittests / Talos ===
# Look to see that they ran
# Document any oranges (per platform) for unittests - if possible, try to confirm it's known/random
# Make sure there's no red/failures that we need to have a dev look at
 
=== XULRunner ===
 
====Source====
No problems
====Build====
No problems
====Signing====
NOTE: use new signcode keys from d:/2011-keys
 
=== Partner Repack ===
==== Firefox ====
N/A
==== Fennec ====
N/A
 
=== Firefox Signing ===
'''All Stop for build 2 to backout {{bug|714320}}'''
==Build 2==
===Preparing to start Automation===
* Set clobbers for the appropriate masters.
* double-landed updated [http://hg.mozilla.org/build/buildbot-configs/rev/79da16e274b3 configs]
* Tagged buildbot-configs, buildbotcustom, & tools with build & release tags:
hg tag -f FIREFOX_10_0b3_RELEASE FIREFOX_10_0b3_BUILD2 FENNEC_10_0b3_RELEASE FENNEC_10_0b3_BUILD2
* updated and reconfigured the master
* dry-run release_sanity.py
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -pfirefox,fennec \
-V 10.0b3 --branch mozilla-beta --build-number 2 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py --dryrun localhost:9001
* start automation
  PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -pfirefox,fennec \
-V 10.0b3 --branch mozilla-beta --build-number 2 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py localhost:9001
 
=== E-mail Metrics ===
N/A


=== E-mail mirrors@mozilla.org ===
=== E-mail mirrors@mozilla.org ===
Line 143: Line 221:
PRODUCT=firefox
PRODUCT=firefox
VERSION=10.0b3
VERSION=10.0b3
BUILD=1
BUILD=2
TAG=FIREFOX_10_0b3_RELEASE
TAG=FIREFOX_10_0b3_RELEASE
REPO='releases/mozilla-beta'
REPO='releases/mozilla-beta'
Line 187: Line 265:
====Signing====
====Signing====
NOTE: use new signcode keys from d:/2011-keys
NOTE: use new signcode keys from d:/2011-keys
Used [http://hg.mozilla.org/build/braindump/file/c8d8f738fdf4/releases-related/sign_xulrunner.sh this script]


=== Partner Repack ===
=== Partner Repack ===
Line 195: Line 275:


=== Firefox Signing ===
=== Firefox Signing ===
 
No problems
 
=== Android Signing ===
=== Android Signing ===
Instructions in [MobileSigning https://intranet.mozilla.org/Build:MobileSigning]
Instructions in [MobileSigning https://intranet.mozilla.org/Build:MobileSigning]
 
Used [http://hg.mozilla.org/build/braindump/file/359b8567c15c/releases-related/sign_android-0.8.sh this script] (with variables edited for 10.0b3/build2)
NOTE: It can be started in a different Windows without having to wait for Firefox signing to finish.
==== Android Signature Verification ====
==== Android Signature Verification ====


=== L10N verify ===
=== L10N verify ===
 
No problems


=== Updates ===
=== Updates ===
 
No problems
==== Update verify ====
==== Update verify ====
 
No problems
=== Major Update ===
=== Major Update ===
==== Update verify ====
N/A
 
=== Socorro Product Data Updates ===
=== Socorro Product Data Updates ===
 
N/A
=== Reset reserved slaves ===
=== Reset reserved slaves ===
 
echo "0" > master/reserved_slaves_bm08-build1
=== Run backupsnip ===
=== Run backupsnip ===
~/bin/backupsnip Firefox-10.0b3-build2
real    111m25.536s
user    0m12.655s
sys    1m4.244s


=== Check permissions / AV scan ===
=== Check permissions / AV scan ===
 
No problems
=== Push files to internal mirrors ===
=== Push files to internal mirrors ===
[https://intranet.mozilla.org/ReleaseEngineering/Release/Primer#Mirrors_.28internal_.26_external.29 Mirrors Policy]
[https://intranet.mozilla.org/ReleaseEngineering/Release/Primer#Mirrors_.28internal_.26_external.29 Mirrors Policy]


=== Final verification ===
=== Final verification ===
It turned out that 10.0b2 was unable to update to 10.0b3 (caught by QA, not by our automation): https://bugzilla.mozilla.org/show_bug.cgi?id=711275#c22
Generating new snippets:
rsync -avP Firefox-10.0b3-build2-test/ Firefox-10.0b3-build2-test.appVersion/
find Firefox-10.0b3-build2-test.appVersion -type f -name "*.txt" -exec sed -i -c -e "s/appVersion=10.0b3/appVersion=10.0/" {} \;
~/bin/pushsnip Firefox-10.0b3-build2-test.appVersion
rsync -av Firefox-10.0b3-build2/ Firefox-10.0b3-build2.appVersion/
find Firefox-10.0b3-build2.appVersion -type f -name "*.txt" -exec sed -i -c -e "s/appVersion=10.0b3/appVersion=10.0/" {} \;


=== Push to beta ===
=== Push to beta ===
 
~/bin/pushsnip Firefox-10.0b3-build2.appVersion


=== Push index file to mirrors ===
=== Push index file to mirrors ===
 
N/A
=== Push to external mirrors ===
=== Push to external mirrors ===
if this is a chemspill you will want to ping justdave (or other sysadmin) in #release-drivers
N/A
and ask them to enable CDN


=== Publish Fennec to the Android Market ===
=== Publish Fennec to the Android Market ===
====Push the files====
====Push the files====
* edit push_fennec_{beta,release}.sh as ffxbld@stage
used [http://hg.mozilla.org/build/braindump/file/c8d8f738fdf4/releases-related/push_fennec.sh this script]
* run push_fennec_{beta,release}


====Android Market====
====Android Market====
Line 258: Line 345:


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


=== Update XULRunner wiki page ===
=== Update XULRunner wiki page ===
 
N/A
=== Push to Release Channel ===
=== Push to Release Channel ===
 
N/A
=== Update symlinks ===
=== Update symlinks ===
Once we're signed off on the release channel.
N/A
==== Remove index.html files ====
==== Remove index.html files ====
If you created them earlier to hide the release.
N/A
 
=== Update browser choice website ===
=== Update browser choice website ===
N/A

Latest revision as of 11:10, 8 January 2012

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:

Build Engineers

lsblakk - Tracking bug: bug 712150

Signed-off Revision(s)

Build 1: aa49b359456f

L10N changesets

Instructions on how to get them

Tags

Build # Branch, Tags Changeset
MOBILE100_#_RELBRANCH, FENNEC_10_0b3_RELEASE, FENNEC_10_0b3_BUILD1 #
GECKO100_#_RELBRANCH, FIREFOX_10_0b3_BUILD1 FIREFOX_10_0b3_RELEASE #

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux
Linux64
Mac
Windows

Fennec

Build # Type Build ID Build machine Time to build
1 android
linux
macosx
win32

Notes

Build 1

Syncing repos

N/A

Diff mozconfigs

N/A

Preparing to start Automation

  • Set clobbers for the appropriate masters.
  • Reserved slaves:
echo "10"> master/reserved_slaves_bm08-build1
  • Updated l10n changesets for desktop, mobile
  • double-landed automation configs
  • Tagged buildbot-configs, buildbotcustom, & tools with build & release tags:
hg tag -f FIREFOX_10_0b3_RELEASE FIREFOX_10_0b3_BUILD1 FENNEC_10_0b3_RELEASE FENNEC_10_0b3_BUILD1
  • updated and reconfigured the master
  • dry-run release_sanity.py
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -pfirefox,fennec \
-V 10.0b3 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py --dryrun localhost:9001
  • start automation
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -pfirefox,fennec \
-V 10.0b3 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py localhost:9001

E-mail Metrics

Email sent:

Firefox,firefox,firefox,10.0b3,10.0
Fennec,firefox-mobile,fennec,10.0b3,10.0

E-mail mirrors@mozilla.org

N/A

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

PRODUCT=firefox
VERSION=10.0b3
BUILD=1
TAG=FIREFOX_10_0b3_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}

Instructions are in CombinedSigning

Build

Firefox

No problems

Firefox repacks

No problems

Fennec

Android

No problems

Desktop Builds

No problems

Mobile Desktop repacks

No problems

Unittests / Talos

  1. Look to see that they ran
  2. Document any oranges (per platform) for unittests - if possible, try to confirm it's known/random
  3. Make sure there's no red/failures that we need to have a dev look at

XULRunner

Source

No problems

Build

No problems

Signing

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

Partner Repack

Firefox

N/A

Fennec

N/A

Firefox Signing

All Stop for build 2 to backout bug 714320

Build 2

Preparing to start Automation

  • Set clobbers for the appropriate masters.
  • double-landed updated configs
  • Tagged buildbot-configs, buildbotcustom, & tools with build & release tags:
hg tag -f FIREFOX_10_0b3_RELEASE FIREFOX_10_0b3_BUILD2 FENNEC_10_0b3_RELEASE FENNEC_10_0b3_BUILD2
  • updated and reconfigured the master
  • dry-run release_sanity.py
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -pfirefox,fennec \
-V 10.0b3 --branch mozilla-beta --build-number 2 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py --dryrun localhost:9001
  • start automation
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u lsblakk -pfirefox,fennec \
-V 10.0b3 --branch mozilla-beta --build-number 2 -c release-firefox-mozilla-beta.py \
-c release-fennec-mozilla-beta.py localhost:9001

E-mail Metrics

N/A

E-mail mirrors@mozilla.org

N/A

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

PRODUCT=firefox
VERSION=10.0b3
BUILD=2
TAG=FIREFOX_10_0b3_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}

Instructions are in CombinedSigning

Build

Firefox

No problems

Firefox repacks

No problems

Fennec

Android

No problems

Desktop Builds

No problems

Mobile Desktop repacks

No problems

Unittests / Talos

  1. Look to see that they ran
  2. Document any oranges (per platform) for unittests - if possible, try to confirm it's known/random
  3. Make sure there's no red/failures that we need to have a dev look at

XULRunner

Source

No problems

Build

No problems

Signing

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

Used this script

Partner Repack

Firefox

N/A

Fennec

N/A

Firefox Signing

No problems

Android Signing

Instructions in [MobileSigning https://intranet.mozilla.org/Build:MobileSigning] Used this script (with variables edited for 10.0b3/build2)

Android Signature Verification

L10N verify

No problems

Updates

No problems

Update verify

No problems

Major Update

N/A

Socorro Product Data Updates

N/A

Reset reserved slaves

echo "0" > master/reserved_slaves_bm08-build1

Run backupsnip

~/bin/backupsnip Firefox-10.0b3-build2

real    111m25.536s
user    0m12.655s
sys     1m4.244s

Check permissions / AV scan

No problems

Push files to internal mirrors

Mirrors Policy

Final verification

It turned out that 10.0b2 was unable to update to 10.0b3 (caught by QA, not by our automation): https://bugzilla.mozilla.org/show_bug.cgi?id=711275#c22

Generating new snippets:

rsync -avP Firefox-10.0b3-build2-test/ Firefox-10.0b3-build2-test.appVersion/
find Firefox-10.0b3-build2-test.appVersion -type f -name "*.txt" -exec sed -i -c -e "s/appVersion=10.0b3/appVersion=10.0/" {} \;
~/bin/pushsnip Firefox-10.0b3-build2-test.appVersion
rsync -av Firefox-10.0b3-build2/ Firefox-10.0b3-build2.appVersion/
find Firefox-10.0b3-build2.appVersion -type f -name "*.txt" -exec sed -i -c -e "s/appVersion=10.0b3/appVersion=10.0/" {} \;

Push to beta

~/bin/pushsnip Firefox-10.0b3-build2.appVersion

Push index file to mirrors

N/A

Push to external mirrors

N/A

Publish Fennec to the Android Market

Push the files

used this script

Android Market

IMPORTANT - Make sure to follow instructions!

  • download multi apk (e.g. multi/fennec-8.0b4.multi.eabi-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 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)
  • 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

# xrbld@stage
rsync  -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip \
  --exclude=*.checksums --exclude=jsshell* \
  /pub/mozilla.org/xulrunner/nightly/10.0b3-candidates/build2/ \
  /pub/mozilla.org/xulrunner/releases/10.0b3/

Update XULRunner wiki page

N/A

Push to Release Channel

N/A

Update symlinks

N/A

Remove index.html files

N/A

Update browser choice website

N/A