Releases/Fennec 4.0b5/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

lsblakk - bug 633375

Bugs encountered

Signed-off Revision(s)

Build # mozilla-central mobile-browser
build 1 ab0dc35174fb 4fd59135031a
build 2 9693e30b9c9c d04d9e1d3cea

Tags

Build # Tag Moz Changeset Mobile Changeset
build 1 GECKO20b12pre_20110216_RELBRANCH ca4499e291e4 d04d9e1d3cea
FENNEC_4_0b4_RELEASE, FENNEC_4_0b4_BUILD1 a4499e291e4 d04d9e1d3cea
build 2 GECKO20b12pre_20110216_RELBRANCH 8a91ff54417a d04d9e1d3cea
FENNEC_4_0b4_RELEASE, FENNEC_4_0b4_BUILD2 9693e30b9c9c d04d9e1d3cea
build 3 GECKO20b12pre_20110216_RELBRANCH eb8deade928b 200420bfde35
FENNEC_4_0b4_RELEASE, FENNEC_4_0b4_BUILD2 8a91ff54417a c1e058767216

Build data

Build # Type Build ID Build machine
build 3 Android 20110217140304 see build3 builds & repacks section
Maemo5-GTK 20110217130947
Linux 20110217134148
Mac
Windows

Notes

Build 1

  • deb config bump
  • buildbot configs
  • clobbered pm02 with clobberer
  • rm -rf /builds/slave/mobile_source from slave that did it last time
  • updated buildbotcustom on pm02
  • updated configs-default & did reconfig
  • closed mobile tree (m-c was already closed)
  • kicked off automation
buildbot sendchange --username lsblakk --master=localhost:9010 --branch=mobile-browser "Fennec 4.0b5 build1" go


Tag

mv-moz2-linux-ix-slave05

No problems.

Tagged buildbotcustom, buildbot-configs, tools, mozharness with FENNEC_4_0b5_{RELEASE,BUILD1} tags.

Stopped to pick up a patch on m-c for Android

Build 2

  • deb config bump
  • buildbot configs
  • clobbered pm02 with clobberer
  • updated buildbotcustom on pm02
  • updated configs-default & did reconfig
  • closed mobile tree (m-c was already closed)
  • kicked off automation
buildbot sendchange --username lsblakk --master=localhost:9010 --branch=mobile-browser "Fennec 4.0b5 build2" go

Tag

Tag quit [push ko failed] and it turned out that in the configs, automatic bump hadn't been tagged because the revision wasn't updated in the build2 configs.

Did the following:

  • killed all builds & clobbered
  • created a dummy tag builder
  • checked in and reconfig'd
  • fixed the tag manually (on the slave that did mobile_tag since mobile-browser was already checked out there)
  • sendchange again:
buildbot sendchange --username lsblakk --master=localhost:9010 --branch=mobile-browser "Fennec 4.0b5 build2" go

Tag step did dummy properly and automation started fine.

Source

mv-moz2-linux-ix-slave15

no problem

Build/Repack

mobile_win32-i686_desktop_build mobile_linux-i686_desktop_build mobile_macosx-i686_desktop_build android-r7 maemo5-gtk
mw32-ix-slave20 mv-moz2-linux-ix-slave13 moz2-darwin9-slave45 mv-moz2-linux-ix-slave05 mv-moz2-linux-ix-slave19
First attempt to build timeout out cloning m-c, forced a rebuild No problems No problems? No problems No problems
repack

No problems.


Respin called they backed out bug 631058 from mozilla-central which was causing some crashes (both on mobile and desktop) and took bug 634788 on mobile-browser (which was a typo bug causing us to allocate very large memory buffers on some websites in certain cases). I reverted part of bug 609705 to put android back on the beta channel

Build 3

  • deb config bump
  • buildbot configs
  • clobbered pm02 with clobberer
  • updated buildbotcustom on pm02
  • updated configs-default & did reconfig
  • closed mobile tree & m-c
  • kicked off automation
buildbot sendchange --username lsblakk --master=localhost:9010 --branch=mobile-browser "Fennec 4.0b5 build3" go

Tag

Tag quit on clone ar because ar exsited (though I did clobber!) so I set clobber again, and did the sendchange a second time. The second time it took.

Source

mv-moz2-linux-ix-slave20

No problems

Build & Repack

mobile_win32-i686_desktop_build mobile_linux-i686_desktop_build mobile_macosx-i686_desktop_build android-r7 maemo5-gtk
mw32-ix-slave20 mv-moz2-linux-ix-slave09 moz2-darwin9-slave45 mv-moz2-linux-ix-slave05 mv-moz2-linux-ix-slave18
No problems No problems No problems No problems No problems
repack

no problems

Sign Android

ffxbld@stage
mkdir /home/ftp/pub/mobile/candidates/4.0b5-candidates/build3/android-r7
 # on keymaster in ~/signing-work
 mkdir fennec-4.0b5
 cd fennec-4.0b5/

 # we signed both en-US and multi since no one was sure in #mobile which to do
 # need sep dirs since they are both named gecko-unsigned-unaligned.apk
 mkdir -p build3/en-US
 mkdir build3/multi
 
 # get en-US apk
 cd build3/en-US/
 wget http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/4.0b5-candidates/build3/unsigned/android-r7/en-US/gecko-unsigned-unaligned.apk
 
 # get multi apk 
 cd ../multi/
 wget http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/4.0b5-candidates/build3/unsigned/android-r7/gecko-unsigned-unaligned.apk
 
 # put the signing script in the ~/signing-work/fennec-4.0b5/ dir
 cp ~/hg-tools/release/signing/* .
 
 # copy the en-US apk up to pwd for signing -- there is a bug on this (608432
), it's because sign_android.sh relies on mozpass.py and that has to be in the same dir as .apk to work
 cp build3/en-US/gecko-unsigned-unaligned.apk .
 ./sign_android.sh 

 * if any problems with signing, remove gecko-unaligned.apk and start again

 # signing successful?  copy back to the en-US
 mv gecko-unaligned.apk build3/en-US/

 # rename the fennec.apk, then move
 mv fennec.apk fennec-4.0b5.en-US.eabi-arm.apk
 mv fennec-4.0b5.en-US.eabi-arm.apk build3/en-US/
 
 # clean up any left overs  
 rm *.apk

 # repeat for multi
 cp build3/multi/gecko-unsigned-unaligned.apk .
 ./sign_android.sh 
 mv gecko-unaligned.apk build3/multi/
 mv fennec.apk fennec-4.0b5.multi.eabi-arm.apk
 mv fennec-4.0b5.multi.eabi-arm.apk build3/multi/
 rm *.apk

 # upload to stage
 cd build1/ 
 scp -i ~/.ssh/ffxbld_dsa -r * ffxbld@stage.mozilla.org:/home/ftp/pub/mobile/candidates/4.0b5-candidates/build3/android-r7

Deb Repos

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

Push Live

Copy bits to releases/
# ffxbld@stage /home/ftp/pub/mobile/releases
mkdir 4.0b5
cd 4.0b5

# 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.0b5-candidates/build3/. .
rsync -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=maemo5-gtk ../../candidates/4.0b5-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.0b5-candidates/build3/maemo5-gtk/multi .
rsync -av --exclude=unsigned --exclude=*.txt --exclude=*crashreporter* --exclude=*tests* --exclude=*unaligned* --exclude=*old* --exclude=maemo5-gtk ../../../candidates/4.0b5-candidates/build3/maemo5-gtk/multi .
cd ..

# and repos
mkdir repos
rsync -av --exclude=*.install ../../candidates/4.0b5-candidates/repos/ repos/

# symlink repos
ln -s repos maemo
cd ..
rm latest-beta; ln -s 4.0b5 latest-beta
rm latest-alpha; ln -s 4.0b5 latest-alpha

Create new .install files

Not needed this run

Create bouncer entries
# did not create android link as bits are stored on android market
Firefox-Mobile-4.0b5	maemo	/mobile/releases/maemo/:lang/firefox-beta.install