Releases/Firefox 14.0b7/BuildNotes

From MozillaWiki
Jump to: navigation, search

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

nthomas - Tracking bug: bug 758789

Signed-off Revision(s)

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 MOBILE140_2012061216_RELBRANCH FENNEC_14_0b7_BUILD1 FENNEC_14_0b7_RELEASE 6e315f5181b0
GECKO140_2012061216_RELBRANCH FIREFOX_14_0b7_BUILD1 FIREFOX_14_0b7_RELEASE 1cbedcda8204
2 (only Fennec) MOBILE140_2012061216_RELBRANCH FENNEC_14_0b7_BUILD2 FENNEC_14_0b7_RELEASE cb953c55b95f
3 (only Fennec) MOBILE140_2012061216_RELBRANCH FENNEC_14_0b7_BUILD3 FENNEC_14_0b7_RELEASE de602174c439

Build data

Firefox

Build # Type Build ID Build machine Time to build
1 Linux 20120612164001 linux-ix-slave28 1 hrs, 7 mins, 6 secs
Linux64 linux64-ix-slave21 1 hrs, 6 mins, 41 secs
Mac bld-lion-r5-042 1 hrs, 17 mins, 42 secs
Windows mw32-ix-slave03 3 hrs, 39 mins, 7 secs

Fennec

Build # Type Build ID Build machine Time to build
1 android 20120612163048 linux-ix-slave35 49 mins, 6 secs
android-xul linux-ix-slave23 48 mins, 59 secs
2 android 20120613132741 linux-ix-slave23  ?
android-xul linux-ix-slave35  ?
3 android 20120614153549 linux-ix-slave35 54 mins, 22 secs
android-xul linux-ix-slave19 53 mins, 47 secs

Notes

Build 1

Did you ship the L10n milestone(s) ???

Yes

Set reserved slaves

  • Reserve slaves (you need ~5 each of linux, linux64, win32 (w32), and macosx64 (moz2-darwin10)). Doing this 2-3 hours in advance should speed things up. e.g.:
[cltbld@buildbot-master13 master]$ pwd
/builds/buildbot/build1/master
[cltbld@buildbot-master13 master]$ cat reserved_slaves
5

Preparing to start Automation

detailed instructions

  • set clobber for any master/mobilla-beta/any builder, but the config changes in bug 760389 mean this should be unnecessary
  • 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, or tbirdbld and use thunderbird in path
version=14.0b7
cd /pub/mozilla.org/firefox/nightly/
mkdir ../candidates/$version-candidates
ln -s ../candidates/$version-candidates $version-candidates
  • Update l10n changesets for desktop, mobile
  • Double land automation configs
  • Tag buildbot-configs, buildbotcustom, & tools with {FIREFOX,FENNEC}_14_0b7_{RELEASE,BUILD1}
  • Updated and reconfigured the master
  • Dry run with release_sanity
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u nthomas -V 14.0b7 --branch mozilla-beta --build-number 1 \
    --release-config release-firefox-mozilla-beta.py --release-config release-fennec-mozilla-beta.py --products firefox,fennec  \
    --dryrun localhost:9001
  • start automation ← monitor progress on buildbot (e.g. beta)
    • the same command as above but without the "--dryrun"

E-mail Metrics

Sent

Firefox,firefox,firefox,14.0b7,14.0
Fennec,firefox-mobile,fennec,14.0b7,14.0

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Build

Firefox

Locked 3 mw32-ix and 3 bld-lion-r5 slaves to bm13. No problems

Firefox repacks

No problems.

Fennec

No problems

Fennec repacks

No problems

Unittests / Talos

details

  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

Linux32, linux64, and mac OK.

win32 failed compile, looks like a code problem:

make -C xulrunner libs
make[5]: Entering directory `/e/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/obj-firefox/xulrunner'
make[6]: Entering directory `/e/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/obj-firefox/xulrunner/app'
nsXULRunnerApp.cpp
d:/mozilla-build/python25/python2.5.exe -O e:/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/build/cl.py cl -FonsXULRunnerApp.obj -c   -DAB_CD=en-US -DXULRUNNER_PROGNAME=\"xulrunner\" -DTARGET_XPCOM_ABI=\"x86-msvc\" -DXPCOM_GLUE -DMOZ_WINCONSOLE=0 -DOSTYPE=\"WINNT5.2\" -DOSARCH=WINNT -DXULRUNNER_ICO=\"../../dist/branding/xulrunner.ico\" -DDOCUMENT_ICO=\"../../dist/branding/document.ico\" -I/e/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/toolkit/xre -I/e/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/toolkit/profile -I/e/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/xpcom/base -I/e/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/xpcom/build  -I/e/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/xulrunner/app -I. -I../../dist/include -I../../dist/include/nsprpub  -Ie:/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/obj-firefox/dist/include/nspr -Ie:/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/obj-firefox/dist/include/nss        -TP -nologo -W3 -Gy -Fdgenerated.pdb -wd4800 -we4553  -DNDEBUG -DTRIMMED -Zi -UDEBUG -DNDEBUG -O1 -Oy -MD            -FI ../../dist/include/mozilla-config.h -DMOZILLA_CLIENT /e/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/xulrunner/app/nsXULRunnerApp.cpp
nsXULRunnerApp.cpp

e:/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/xulrunner/app/nsXULRunnerApp.cpp(112) : error C3861: 'strcasecmp': identifier not found
e:/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/xulrunner/app/nsXULRunnerApp.cpp(117) : error C3861: 'strcasecmp': identifier not found
e:/builds/moz2_slave/rel-m-beta-xr-w32-bld/build/xulrunner/app/nsXULRunnerApp.cpp(401) : error C3861: 'snprintf': identifier not found

make[6]: *** [nsXULRunnerApp.obj] Error 2
make[5]: *** [app_libs] Error 2
make[4]: *** [libs_tier_app] Error 2
make[3]: *** [tier_app] Error 2
make[2]: *** [default] Error 2
make[1]: *** [realbuild] Error 2
make: *** [build] Error 2

Filed bug 764237.

Push to Mirrors

Android Signing

Instructions in Signing: Android Signing

Now run on signing1. Did

cd ~/signing-work/mozharness
hg pull -u && hg up -C
python2.6 ~/signing-work/mozharness/scripts/sign_android.py --config-file signing/android_mozilla-beta.py --platform android

since the XUL build won't be used.

Checksums

No problems.

Updates

No problems

Update verify

No problems

Reset reserved slaves

Reset to 0.

Check permissions / AV scan

Both OK

Push to internal mirrors

No problems

Final verification

No problems

Going to Beta

NOTE: Skip to "Before Release Day" for beta releases

Run backupsnip

NOTE: Remember to do this at least 2 hours ahead of the expected "go to beta" email. details

Remember to ssh to aus3-staging using your short LDAP name and then run sudo su - ffxbld once on. If you intend to use screen, initiate your screen session while you are still yourself.

cd /opt/aus2/snippets/staging/
time ~/bin/backupsnip Firefox-14.0b7-build1

Push to beta

Wait for "go" from release managers
For Firefox:

  • Publish (and record run time here): details
[ffxbld@dp-ausstage01 ~]$ cd /opt/aus2/snippets/staging
[ffxbld@dp-ausstage01 staging]$ time ~/bin/pushsnip Firefox-14.0b7-build1
  • on completion, email r-d that VERSION updates are live on the beta channel

Build2 (only Fennec)

The L10n milestone did not add 2 locales in the multi-locale

  • bug 764300 – ko and pt-BR do not work on Firefox 14 beta 7.

Preparing to start Automation

  • set clobber for any masters & any builders
  • Double land automation configs
  • Tag buildbot-configs, buildbotcustom, & tools with FENNEC_14_0b7_{RELEASE,BUILD2}
  • Updated and reconfigured the master
cd /builds/buildbot/build1
source bin/activate
make update && make checkconfig && make reconfig
  • Dry run with release_sanity
cd /builds/buildbot/build1/master
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u armenzg -V 14.0b7 --branch mozilla-beta --build-number 2 \
    --release-config release-fennec-mozilla-beta.py --products fennec  \
    --dryrun localhost:9001
  • Triggered automation by running last command without "--dryrun"

Android Signing

Now run on signing1. Did

cd ~/signing-work/mozharness
hg pull -u && hg up -C
python2.6 ~/signing-work/mozharness/scripts/sign_android.py --config-file signing/android_mozilla-beta.py --platform android

since the XUL build won't be used.

  • Email rel-drivers
All signed builds available:
http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/14.0b7-candidates/build2/

Release day

Play Store

IMPORTANT - Make sure to follow instructions!

  • download the native multi apk
    • (e.g. android/multi/fennec-14.0b7.multi.android-arm.apk)
  • visit https://market.android.com/publish
  • choose "Firefox Beta"
    • select the "APK Files" tab and choose "Upload APK"
    • choose the android 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 android apk (You should see an Error message since both apk's are active)
  • deactivate old android apk with Supported screens: small-large (You should not see the Error message anymore)
  • hit "Save"

Fennec 14.0b7 is shipped

Build3 (only Fennec)

Preparing to start Automation

  • clobbered
  • slaves were already reserved
  • Landed config changes: default

production

  • Tagged configs custom tools
  • Updated + reconfiged master
  • Release sanity:
. ../bin/activate
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u aki -V 14.0b7 --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.0b7 --branch mozilla-beta \
--build-number 3 -c release-fennec-mozilla-beta.py --products fennec localhost:9001 2>&1 | tee aki.out

Tag

np

Source

np

Build

Fennec

np

Fennec repacks

np

Android Signing

np

Reset reserved slaves

np

Going to Beta

Push to beta

Downloaded 14.0b7 build 3 android multi, pushed to Google Play. Activated it and deactivated the older small-large apk.

I had to remove the previous 14.0b7 to push:

# edit push_fennec.sh and check into braindump
curl -O http://hg.mozilla.org/build/braindump/raw-file/tip/releases-related/push_fennec.sh
rm -rf /pub/mozilla.org/mobile/releases/14.0b7/
sh push_fennec.sh