Releases/Fennec 6.0b1/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

armenzg - bug 669419

Signed-off Revision(s)

Build # mozilla-beta mozilla-mobile-6.0 mobile-6.0
build 1 d3a2732c35f1 f3cf32b9fe40 0822da62ae67

Tags

Build # Tag Moz Changeset Mobile Changeset
build 1 GECKO60_20110706_RELBRANCH f3cf32b9fe40 This is so hard
FENNEC_6_0_{BUILD1,RELEASE} 69e8299ae8e8 This is so hard

Build data

Build # Type Build ID Build machine
build 1 Android 20110706130434 linux-ix-slave22
Maemo5-GTK 20110706121330 linux-ix-slave27
Linux 20110706124226 linux-ix-slave31
Mac 20110706141011 moz2-darwin9-slave09
Windows 20110706125825 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:/builds, edited fennec_repo_setup.sh to update the revision and version, and ran:

NOTE: I initially run this through a screen session with the patch on the bug but did not succeed so instead I run it manually by following these steps. The log is kind of on /builds/fennec6b1.log

#!/bin/sh -x
BETA_REVISION=d3a2732c35f1
VERSION=6.0b1
BUILDNUM=1

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

cd mozilla-mobile-6.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-6.0
hg ident
hg branch
hg branch ${VERSION}_build$BUILDNUM

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

cd ../mozilla-mobile-6.0/mobile
rsync -av . ../../mobile-6.0/.
cd ../../mobile-6.0
hg addremove
hg commit -m "merging mobile dir from mozilla-mobile-6.0 for Fennec $VERSION build $BUILDNUM"
hg push -f -e 'ssh -i ~/.ssh/ffxbld_dsa -l ffxbld' ssh://hg.mozilla.org/releases/mobile-6.0

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

l10n changesets

We grabbed and shipped L10n changesets from here.

Start

rm -rf /scratchbox/users/cltbld/home/cltbld/build/*release && rm -rf /builds/slave/mobile_*
  • updated /builds/buildbot/configs-default and /tools/buildbotcustom/buildbotcustom on pm02
  • reconfiged pm02:/builds/buildbot/moz2_master
  • Sendchanged:
buildbot sendchange --user armenzg --master localhost:9010 --branch releases/mobile-6.0 "Fennec 6.0 beta 1 build 1" doit
  • Unfortunately the staging release was for a chemspill and we were not ready for the first beta of the 6 series.
    • This is the patch we used to get ourselves ready
  • Sendchanged again and it went through

Tag

  • Tagging failed so I finished the remaining steps manually
 377  cd /builds/slave/mobile_tag/
 385  mv mozilla-mobile-6.0 mozilla-mobile-6.0_failed
 386  hg clone http://hg.mozilla.org/releases/mozilla-mobile-6.0 mozilla-mobile-6.0
 387  cd mozilla-mobile-6.0
 388  hg up -C -r f3cf32b9fe40
 389  hg branch GECKO60_20110706_RELBRANCH
 390  cd ..
 393  perl tools/scripts/release/version-bump.pl -w mozilla-mobile-6.0 -a mobile -v 6.0 -m 6.0 config/milestone.txt js/src/config/milestone.txt
 394  cd mozilla-mobile-6.0
 395  hg diff
 396  hg commit -u ffxbld -m 'Automated checkin: version bump remove "pre"  from version number for fennec 6.0 release on GECKO50_20110706_RELBRANCH CLOSED TREE a=release'
 397  hg identify -i
 398  hg tag -u ffxbld -f -r 69e8299ae8e8 -m 'Added tag FENNEC_6_0_BUILD1 for changeset 69e8299ae8e8. CLOSED TREE a=release' FENNEC_6_0_BUILD1
 399  hg tag -u ffxbld -f -r 69e8299ae8e8 -m 'Added tag FENNEC_6_0_RELEASE for changeset 69e8299ae8e8. CLOSED TREE a=release' FENNEC_6_0_RELEASE
 400  hg out -e 'ssh -l ffxbld -i ~cltbld/.ssh/ffxbld_dsa' ssh://hg.mozilla.org/releases/mozilla-mobile-6.0
 401  hg push -e 'ssh -l ffxbld -i ~cltbld/.ssh/ffxbld_dsa' -f ssh://hg.mozilla.org/releases/mozilla-mobile-6.0
  • Added a dummy tag builder, reconfigured and resending a sendchange
--- a/mozilla2/release_mobile_master.py Wed Jul 06 01:18:17 2011 -0400
+++ b/mozilla2/release_mobile_master.py Wed Jul 06 10:07:16 2011 -0700
@@ -162,6 +162,9 @@
     hgSshKey=hgSshKey
 )
 
+tag_factory = BuildFactory()
+tag_factory.addStep(Dummy())
+
 builders.append({
     'name': 'mobile_tag',
     'slavenames': branchConfig['platforms']['linux']['slaves'],

Source

No problems.

Build/Repack

  • The builds failed because of missing mozconfigs which were removed in this changeset.
  • aki landed this bustage fix.
  • added a dummy factory, marked clobbered "pm02:8010" releases to be clobbered
@@ -213,6 +216,8 @@
     stageNightlyDir="candidates",
     autoconfDirs=['.', 'js/src']
 )
+mobile_source_factory = BuildFactory()
+mobile_source_factory.addStep(Dummy()
 builders.append({
     'name': 'mobile_source',
     'slavenames': branchConfig['platforms']['linux']['slaves'],
  • do a sendchange
  • bug 669756 - the multilocale step failed, but continued on and pushed an en-US-only multilocale apk. (filed bug 669785).
13:12:21    ERROR - Can't run command python /builds/slave/android-r7_build/build-release/./compare-locales/scripts/compare-locales -m /builds/slave/android-r7_build/build-release/./mozilla-mobile-5.0/objdir/merged l10n.ini /builds/slave/android-r7_build/build-release/./mozilla-mobile-5.0 fr in non-existent directory /builds/slave/android-r7_build/build-release/./mozilla-mobile-5.0/mobile/locales!
  • aki landed this bustage fix. =(
  • renamed the android-r7 and unsigned/android-r7 directories on stage to android-broken.
  • Force build on the android builder.
repack

Sign Android

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

Kicked off verification:

VERSION=6.0b1
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.


Aki re-signed after respinning android, and kicked off verification via the rebuild button. These went green.

Deb Repos

Force build on deb signing master was successful.

Push Live

Copy bits to releases/
export VERSION=6.0b1
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

This appears to already have been done, Firefox-Mobile-6.0b1, maemo, /mobile/releases/maemo/:lang/firefox-beta.install

Make sure moff.m.c syncs up for maemo

Synced.

Android Market

Notes on the Market

Pushed multi apk, saved, published. No changes in text; reminded LegNeato we need a "What's New" <=500chars for 6.0b2.

Release the Builders!

These were already un-alloced, but still pointing at pm02-bb07. I rebooted them to get them back in the pool.

Revert local pm02 config changes!

Done.

hg revert -a in pm02:/builds/buildbot/configs-default