Releases/Fennec 5.0b7/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

aki - bug 664307

Signed-off Revision(s)

Build # mozilla-beta mozilla-mobile-5.0 mobile-5.0
build 1 f1acd88f828e e2d7879d79b6 50cb02477c0a

Tags

Build # Tag Moz Changeset Mobile Changeset
build 1 GECKO50_20110614_RELBRANCH e2d7879d79b6 50cb02477c0a
FENNEC_5_0b7_RELEASE, FENNEC_5_0b7_BUILD1 dbcac955f54d f90d2ff69511

Build data

Build # Type Build ID Build machine
build 1 Android 20110614175350 mv-moz2-linux-ix-slave04
Maemo5-GTK 20110614192942 linux-ix-slave15
Linux 20110614194106 mv-moz2-linux-ix-slave19
Mac 20110614213239 moz2-darwin9-slave65
Windows 20110614195113 mw32-ix-slave20

Notes

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

Build 1

Setup

Repos

On pm02, edited fennec_repo_setup.sh to update the revision and version, and ran:

#!/bin/sh -x
BETA_REVISION=f1acd88f828e
VERSION=5.0b7
BUILDNUM=1

if [ ! -d mozilla-mobile-5.0 ] ; then
    hg clone http://hg.mozilla.org/releases/mozilla-mobile-5.0
fi
if [ ! -d mobile-5.0 ] ; then
    hg clone http://hg.mozilla.org/releases/mobile-5.0
fi

cd mozilla-mobile-5.0
hg pull
hg up -r default
hg pull http://hg.mozilla.org/releases/mozilla-beta
hg up -r $BETA_REVISION
hg push -f -e 'ssh -i ~/.ssh/ffxbld_dsa -l ffxbld' ssh://hg.mozilla.org/releases/mozilla-mobile-5.0
hg ident
hg branch
hg branch ${VERSION}_build$BUILDNUM

cd ../mobile-5.0
hg pull
hg up -r null
hg branch
hg branch ${VERSION}_build$BUILDNUM

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 $VERSION build $BUILDNUM"
hg push -f -e 'ssh -i ~/.ssh/ffxbld_dsa -l ffxbld' ssh://hg.mozilla.org/releases/mobile-5.0

cd ../mozilla-mobile-5.0
hg rm mobile
hg commit -m "removing mobile dir from the mozilla-mobile-5.0 for Fennec $VERSION build $BUILDNUM"
hg push -f -e 'ssh -i ~/.ssh/ffxbld_dsa -l ffxbld' ssh://hg.mozilla.org/releases/mozilla-mobile-5.0

l10n changesets

Leaving them static from 5.0b6.

Start

  • Landed configs
  • Landed mozharness configs
  • mv-moz2-linux-ix-slave04, mv-moz2-linux-ix-slave19, linux-ix-slave15, moz2-darwin9-slave65, mw32-ix-slave20 were already slavealloc'ed to pm02-bb07 from 5.0b6
  • clobbered mv-moz2-linux-ix-slave{04,19}, linux-ix-slave15:
cd /scratchbox/users/cltbld/home/cltbld/build
rm -rf *release
cd /builds/slave
rm -rf mobile_*
  • updated /builds/buildbot/configs-default and /tools/buildbotcustom/buildbotcustom on pm02
  • reconfiged pm02:/builds/buildbot/moz2_master
  • the desktop tagging had started at 5:something so I waited til 6:00 to tag (relbranch conflict).
  • at 6pm, sendchanged:
buildbot sendchange --user aki --master localhost:9010 --branch releases/mobile-5.0 "Fennec 5.0 beta 7 build 1" doit

Tag

mv-moz2-linux-ix-slave19

No issues.

Source

mv-moz2-linux-ix-slave19

No issues.

Build/Repack

No issues.

repack

No issues.

Sign Android

Followed https://intranet.mozilla.org/Build:MobileSigning

Kicked off verification:

VERSION=5.0b7
BUILDNUM=1
buildbot sendchange --user http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/${VERSION}-candidates/build$BUILDNUM/android-r7/en-US/ --master localhost:9010 --branch android_signature_verification "test" http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/${VERSION}-candidates/build$BUILDNUM/android-r7/en-US/fennec-${VERSION}.en-US.eabi-arm.apk
buildbot sendchange --user http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/${VERSION}-candidates/build$BUILDNUM/android-r7/multi/ --master localhost:9010 --branch android_signature_verification "test" http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/${VERSION}-candidates/build$BUILDNUM/android-r7/multi/fennec-$VERSION.multi.eabi-arm.apk

Those went green.

Deb Repos

Forced a build of the deb sign release mozilla-mobile-5.0 deb sign release builder

no issues

Push Live

Copy bits to releases/
export VERSION=5.0b7
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
cd /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.0b7, maemo, /mobile/releases/maemo/:lang/firefox-beta.install

Make sure moff.m.c syncs up for maemo

Android Market

Pushed multi apk, saved, published.

Notes on the Market

No changes.

Release the Builders!

Holding them for 5.0 final.

Revert local pm02 config changes!

N/A.