Releases/Fennec 4.0b3/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

aki - bug 615696

Bugs encountered

bug 619234 - tagging dies on pre-created relbranch when bumping already bumped version

Signed-off Revision(s)

Build # mozilla-central mobile-browser
build 1 abe884259481 dabce289f397
build 2 74a67e4695d7 a13c7b5a4225
build 3 88db8ccdd0de 914421607273

Tags

On mozilla-central:

Build # Tag Moz Changeset Mobile Changeset
build 1 GECKO20b8_20101214_RELBRANCH abe884259481 dabce289f397
FENNEC_4_0b3_RELEASE, FENNEC_4_0b3_BUILD1 abe884259481 47c0592ca877
build 2 FENNEC_4_0b3_RELEASE, FENNEC_4_0b3_BUILD2 74a67e4695d7 a13c7b5a4225
build 3 FENNEC_4_0b3_RELEASE, FENNEC_4_0b3_BUILD3 88db8ccdd0de 914421607273

Build data

Build # Type Build ID Build machine
build 1 Android 20101214200830 moz2-linux-slave45
Maemo5-GTK 20101214174520 mv-moz2-linux-ix-slave06
Linux 20101214181412 mv-moz2-linux-ix-slave12
Mac 20101214195431 moz2-darwin9-slave35
Windows 20101214201731 win32-slave46
build 2 Android 20101221142927 mv-moz2-linux-ix-slave16
Maemo5-GTK 20101221134123 mv-moz2-linux-ix-slave15
Linux 20101221140045 mv-moz2-linux-ix-slave13
Mac 20101221155333 moz2-darwin9-slave35
Windows 20101221143455 mw32-ix-slave20
build 3 Android 20101221205132 moz2-linux-slave40
Maemo5-GTK 20101221194929 mv-moz2-linux-ix-slave12
Linux 20101221200215 mv-moz2-linux-ix-slave18
Mac 20101221214410 moz2-darwin9-slave35
Windows 20101221202653 mw32-ix-slave07

Notes

Build 1

  • deb config bump
  • buildbot configs
  • reconfiged pm02
  • bumped mobile-browser version.
  • clobbered mv-moz2-linux-ix-slave13 /builds/slave/mobile_source
  • clobbered /scratchbox/users/cltbld/home/cltbld/build/*l10n-release on all pm02 linux slaves

Tag

moz2-linux-slave43

Died on bug 619234 -- manually tagged mozilla-central.

Manually tagged, then rekicked w/ dummy tag_factory.

Source

mv-moz2-linux-ix-slave13

No problems.

Build/Repack

mobile_win32-i686_desktop_build

no problems

mobile_linux-i686_desktop_build

no problems

mobile_macosx-i686_desktop_build

no problems

android-r7

no problems

maemo5-gtk

no problems

repack

no problems

However, single locale repacks were broken bug 619375 which was caused by bug 605411, which wasn't fixed until after beta 3 spun.

Sign Android

Signed en-US and multi on keymaster. Probably need to cut this down to only multi soon.

Update Android Snippets

Done. Created /opt/aus2/incoming/3/Fennec/multi/latest-beta-cck-test and /opt/aus2/incoming/3/Fennec/en-US/latest-beta-cck-test and softlinked all the beta2 and beta1 builds' beta-cck-test channels to those snippets.

bug 619444 -- i needed to use relative softlinks, not absolute.

Deb Repos

no problems. handed off to qa.

Update testing

Once I switched to relative softlinks (bug 619444) things worked.

Then we ran into bug 620584; respin.

Build 2

buildbot sendchange --username aki --master=localhost:9010 --branch=mobile-browser "Fennec 4.0b3 build2" doit

Tag

Died on 'id' due to hg.m.o >_<

To fix:

  • copied l10n-changesets_mobile-2.0.json to aki.json
  • edited l10n-changesets_mobile-2.0.json to remove all locales before 'id'
  • reconfiged pm02
  • kicked off tag step manually
  • died due to no clobber =P
  • clobbered mv-moz2-linux-ix-slave19 manually
  • kicked off tag step manually
  • worked
  • mv'ed aki.json to l10n-changesets_mobile-2.0.json
  • added dummy tag_factory to release_mobile_master.py
  • reconfiged pm02
  • sent late tagging finished email
  • sendchanged with
buildbot sendchange --username aki --master=localhost:9010 --branch=mobile-browser "Fennec 4.0b3 build2" doit

Source

mv-moz2-linux-ix-slave14

No problems.

Build/Repack

mobile_win32-i686_desktop_build

No problems.

mobile_linux-i686_desktop_build

No problems.

mobile_macosx-i686_desktop_build
android-r7

No problems.

maemo5-gtk

No problems.

repack

No problems.

Sign Android

Simple enough. No issues, other than having to manually switch back from dvorak.

Update Android Snippets

I was specifically asked not to create update snippets for this build.

No action.

Deb Repos

Force build on pmm:8011 m-c release: no problems.

Update testing

n/a

Build 3

  • deb config bump
  • buildbot configs
  • reconfiged pm02
  • Tagged buildbot-configs and buildbotcustom
  • clobbered mv-moz2-linux-ix-slave14 /builds/slave/mobile_source
  • clobbered all /scratchbox/users/cltbld/home/cltbld/build/*-l10n-release on all pm02 linux boxes
  • Kicked off with
buildbot sendchange --username aki --master=localhost:9010 --branch=mobile-browser "Fennec 4.0b3 build3" doit

Tag

moz2-linux-slave45

no problems

Source

moz2-linux-slave42

no problems

Build/Repack

mobile_win32-i686_desktop_build

no problems

mobile_linux-i686_desktop_build

no problems

mobile_macosx-i686_desktop_build

no problems

android-r7

no problems

...Except we had to bump versionCode, because the Android Marketplace wouldn't take a same-version app without bumping this.

This needs to be bumped in AndroidManifest.xml, which unfortunately is not text; it's data. Our attempts at bumping this manually failed, so we bumped it on the buildslave:

# cltbld@moz2-linux-slave40
cd /builds/slave/android-r7_build/build-release/mozilla-central/embedding/android
cp AndroidManifest.xml.in AndroidManifest.xml.in.bak
# edit AndroidManifest.xml to increment android:versionCode="1" to android:versionCode="2"
cd ../../objdir/embedding/android
export PATH=/tools/jdk6/bin:/opt/local/bin:/tools/python/bin:/tools/buildbot/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/cltbld/bin
make
cd ../../../..
python mozharness/scripts/multil10n.py --config-file multi_locale/4.0_release_android.json --only-pull-locale-source --only-package-multi
# from laptop, scp -r cltbld@moz2-linux-slave40:/builds/slave/android-r7_build/build-release/mozilla-central/objdir/dist/\*.apk .

Recursive checksum:

mkdir build3-repacked
cd build3-repacked
mkdir foo
# copy repacked multilocale gecko-unsigned-unaligned.apk into build3-repacked
cd foo
unzip ../gecko-unsigned-unaligned.apk
cd ..
find foo -type f -exec sum {} \; > sum.txt
cd ..
mkdir build3-orig
cd build3-orig
mkdir foo
# copy original multilocale gecko-unsigned-unaligned.apk into build3-orig
cd foo
unzip ../gecko-unsigned-unaligned.apk
cd ..
find foo -type f -exec sum {} \; > sum.txt
cd ../build3-repacked
diff -U9 ../build3-orig/sum.txt sum.txt | more

Only AndroidManifest.xml was changed.

Then re-sign the gecko-unsigned-unaligned.apk, and it's the new release-signed fennec.apk.

maemo5-gtk

no problems

repack

no problems

Sign Android

I'd like this automated better, but no problems.

Update Android Snippets

No snippets for this build due to changing app IDs. n/a

Deb Repos

Force build on pmm:8011.

Update testing

n/a for this build.

Push Live

Copy bits to releases/

In releases/4.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/4.0b3-candidates/build3/. .
rsync -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=maemo5-gtk ../../candidates/4.0b3-candidates/build3/. .
mkdir maemo5-gtk
cd maemo5-gtk
rsync --dry-run -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* ../../../candidates/4.0b3-candidates/build3/maemo5-gtk/multi .
rsync -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=maemo5-gtk ../../../candidates/4.0b3-candidates/build3/maemo5-gtk/multi .
cd ..
mkdir repos
ln -s repos maemo
cd ..
rm latest-beta; ln -s 4.0b3 latest-beta
rm latest-alpha; ln -s 4.0b3 latest-alpha
Create new .install files

Not needed this run.

Create bouncer entries

Created night before.

Updates to beta channel

No updates for beta3.