Releases/Fennec 5.0b4/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

aki - bug 660943

Signed-off Revision(s)

Build # mozilla-beta mozilla-mobile-5.0 mobile-5.0
build 1 bca54750eec4 904a8244feef 33e9810a1fd9

Tags

Build # Tag Moz Changeset Mobile Changeset
build 1 GECKO50_20110603_RELBRANCH 904a8244feef 33e9810a1fd9
FENNEC_5_0b4_RELEASE, FENNEC_5_0b4_BUILD1 ebfb1fbbf4a1 1f72b73171ff

Build data

Build # Type Build ID Build machine
build 1 Android 20110603103300 mv-moz2-linux-ix-slave04
Maemo5-GTK 20110603110946 mv-moz2-linux-ix-slave19
Linux 20110603122306 mv-moz2-linux-ix-slave19
Mac 20110603140316 moz2-darwin9-slave65
Windows 20110603120724 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 bca54750eec4
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.0b4_build1

cd ../mobile-5.0
hg up -r null
hg branch
hg branch 5.0b4_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 4.

  • 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
  • Grabbed mv-moz2-linux-ix-slave04, linux-ix-slave18, mv-moz2-linux-ix-slave19, mw32-ix-slave20, moz2-darwin9-slave65 in slavealloc
  • rebooted the ones that weren't already attached, so they attached to pm02-bb07
  • sshed to mv-moz2-linux-ix-slave04, linux-ix-slave18, mv-moz2-linux-ix-slave19 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.0b4 build1" doit

Tag

mv-moz2-linux-ix-slave04

No problems.

Source

mv-moz2-linux-ix-slave04

No problems.

Build/Repack

repack

No problems.

Sign Android

Edited sign_android.sh to update the version number, ran.

Unfortunately, it continues if the passphrase is typed incorrectly. Control-C-ing out will make it also continue, and upload bogus apks. I killed the CMD and wiped the workdir and reran.

Ran signature verification with

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

Deb Repos

Force build on pmm:8011 - no problems.

Push Live

Copy bits to releases/
export VERSION=5.0b4
export BUILDNUM=1
cd /home/ftp/pub/mozilla.org/mobile/releases
mkdir $VERSION
cd $VERSION

# 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/$VERSION-candidates/build$BUILDNUM/. .
rsync -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=maemo5-gtk ../../candidates/$VERSION-candidates/build$BUILDNUM/. .
mkdir maemo5-gtk
cd maemo5-gtk
rsync --dry-run -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* ../../../candidates/$VERSION-candidates/build$BUILDNUM/maemo5-gtk/multi .
rsync -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=maemo5-gtk ../../../candidates/$VERSION-candidates/build$BUILDNUM/maemo5-gtk/multi .
cd ..

# and repos
mkdir repos
rsync -av --exclude=*.install ../../candidates/$VERSION-candidates/repos/ repos/

# symlink repos
ln -s repos maemo
cd ..
rm latest-*; ln -s $VERSION latest-beta; ln -s $VERSION latest-alpha

# link fremantle to chinook for multi deb repo
# in /home/ftp/pub/mobile/releases/$VERSION/maemo/multi/dists
ln -s fremantle chinook

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

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

Make sure moff.m.c syncs up for maemo

Synced.

Android Market

Notes on the Market

No changes; just apk, per mfinkle.

Release the Builders!

Returned posix slaves via slavealloc, rebooted.