Releases/Fennec 5.0b3/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

aki - bug 659042

Signed-off Revision(s)

Build # mozilla-beta mozilla-mobile-5.0 mobile-5.0
build 1 23d449276096 e4f88d15aa2a 5ae416dcebfa

Tags

Build # Tag Moz Changeset Mobile Changeset
build 1 GECKO50_20110527_RELBRANCH e4f88d15aa2a 5ae416dcebfa
FENNEC_5_0b3_RELEASE, FENNEC_5_0b3_BUILD1 ca8bc8d6ed3e 8de3660f114f

Build data

Build # Type Build ID Build machine
build 1 Android 20110527115617 mv-moz2-linux-ix-slave17
Maemo5-GTK 20110527110535 mv-moz2-linux-ix-slave21
Linux 20110527115323 mv-moz2-linux-ix-slave15
Mac 20110527134657 moz2-darwin9-slave26
Windows 20110527121350 mw32-ix-slave20

Notes

Be very careful if you merge on a build > 1 to not overwrite confvars.sh

Build 1

Setup

Repos

To prepare the split repos I tried to run:

hg clone http://hg.mozilla.org/releases/mozilla-mobile-5.0
hg clone http://hg.mozilla.org/releases/mobile-5.0

cd mozilla-mobile-5.0
hg pull http://hg.mozilla.org/releases/mozilla-beta -r 2b3275216413
hg up
hg push -e 'ssh -i ~/.ssh/ffxbld_dsa -l ffxbld' ssh://hg.mozilla.org/releases/mozilla-mobile-5.0
hg ident
hg branch
hg branch 5.0b3_build1

cd ../mobile-5.0
hg up -r null
hg branch
hg branch 5.0b3_build1

cd ../mozilla-mobile-5.0/mobile
rsync -av . ../../mobile-5.0/.
cd ../../mobile-5.0
hg addremove
hg commit -m "merging mobile dir from mozilla-mobile-5.0 for Fennec 5.0 beta 3 build 1"
hg push -e 'ssh -i ~/.ssh/ffxbld_dsa -l ffxbld' --new-branch ssh://hg.mozilla.org/releases/mobile-5.0

cd ../mozilla-mobile-5.0
hg rm mobile
hg commit -m "removing mobile dir from mozilla-mobile-5.0 for Fennec 5.0 beta 3 build 1"
hg push -f -e 'ssh -i ~/.ssh/ffxbld_dsa -l ffxbld' --new-branch ssh://hg.mozilla.org/releases/mozilla-mobile-5.0

l10n changesets

Went to the l10n dashboard and clicked on "ship" for Fennec 5 Beta Build 3.

  • Kept single locales default (maemo)
  • clicked "add" for maemo-multilocale
  • clicked "add" for android-multilocale
  • clicked "generate" and copy/pasted json into l10n-changesets_mobile-5.0.json
  • python -mjson.tool l10n-changesets_mobile-5.0.json
  • hit back button, clicked "ship it" on dashboard

Start

  • Landed configs, merged
  • Landed mozharness deb repo configs
  • Grabbed mv-moz2-linux-ix-slave{15,17,21}, mw32-ix-slave20, moz2-darwin9-slave26 in slavealloc
  • rebooted the ones that weren't already attached, so they attached to pm02-bb07
  • sshed to mv-moz2-linux-ix-slave{15,17,21} and clobbered:
cd /scratchbox/users/cltbld/home/cltbld/build
rm -rf *release
cd /builds/slave
rm -rf mobile_source mobile_tag
  • Updated pm02-bb07 and reconfiged
  • Sendchange:
buildbot sendchange --user aki --master localhost:9010 --branch releases/mobile-5.0 "Fennec 5.0b3 build1" doit

Tag

mv-moz2-linux-ix-slave21

No issues.

Source

mv-moz2-linux-ix-slave15

No issues.

Build/Repack

No issues.

repack

No issues.

Sign Android

  • Followed 5.0b2's notes on signing.
  • Edited ~/sign_android.sh to change the version
  • Ran, ran out of disk on D:\. Ben cleaned up old Firefox desktop binaries, giving us 85GB free.
  • Nuked ~/signing-work/fennec-5.0b3
  • Reran ~/sign_android.sh, failed to upload since I hadn't created the candidates/build1/android-r7 directory.
  • Added a mkdir -p in the script, ran scp manually.
  • Waited for android_signature_verification builder to trigger (ftppoller)

These never triggered, so I forced them manually:

buildbot sendchange --user http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/5.0b3-candidates/build1/android-r7/en-US/ --master localhost:9010 --branch android_signature_verification "test" http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/5.0b3-candidates/build1/android-r7/en-US/fennec-5.0b3.en-US.eabi-arm.apk
buildbot sendchange --user http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/5.0b3-candidates/build1/android-r7/multi/ --master localhost:9010 --branch android_signature_verification "test" http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/5.0b3-candidates/build1/android-r7/multi/fennec-5.0b3.multi.eabi-arm.apk

Deb Repos

Forced mozilla-mobile-5.0 deb sign release on pmm:8011. No issues.

Push Live

Copy bits to releases/
mkdir 5.0b3
cd 5.0b3

# exclude *old* to avoid copying in the old original android apk
# exclude maemo5-gtk to skip single locale repacks
rsync --dry-run -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=maemo5-gtk ../../candidates/5.0b3-candidates/build1/. .
rsync -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=maemo5-gtk ../../candidates/5.0b3-candidates/build1/. .
mkdir maemo5-gtk
cd maemo5-gtk
rsync --dry-run -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* ../../../candidates/5.0b3-candidates/build1/maemo5-gtk/multi .
rsync -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=maemo5-gtk ../../../candidates/5.0b3-candidates/build1/maemo5-gtk/multi .
cd ..

# and repos
mkdir repos
rsync -av --exclude=*.install ../../candidates/5.0b3-candidates/repos/ repos/

# symlink repos
ln -s repos maemo
cd ..
rm latest-*; ln -s 5.0b3 latest-beta; ln -s 5.0b3 latest-alpha

# link freemantle to chinook for multi deb repo
# in /home/ftp/pub/mobile/releases/5.0b3/maemo/multi/dists
ln -s freemantle chinook

# aki copied over single-repack xpis at request
cd /home/ftp/pub/mobile/candidates
for i in `ls -1` ; do   mkdir ../../../../releases/5.0b3/maemo5-gtk/$i; cp $i/*.xpi ../../../../releases/5.0b3/maemo5-gtk/$i/; done
Create bouncer entry for maemo

Firefox-Mobile-5.0b3 maemo /mobile/releases/maemo/:lang/firefox-beta.install

Make sure moff.m.c syncs up for maemo

http://moff.mozilla.com/ should have the latest bits within 15 minutes or so. If it doesn't, ping IT (justdave usually knows).

Android Market

Notes on the Market

Easy this time; bug 661328

Release the Builders!

Unlock from bb07 master, and reboot them.