Releases/Fennec 4.0b4/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

lsblakk - bug 623244

Bugs encountered

Signed-off Revision(s)

Build # mozilla-central mobile-browser
build 1 c241c552de29 da68f67cc6ad

Tags

On mozilla-central:

Build # Tag Moz Changeset Mobile Changeset
build 1 GECKO20b11pre_20110126_RELBRANCH e3c72c59c09a 12da7231f397
FENNEC_4_0b4_RELEASE, FENNEC_4_0b4_BUILD1 7905eefc489d 50cc75d1bd22

Build data

Build # Type Build ID Build machine
build 1 Android 20110126160730 mv-moz2-linux-ix-slave21
Maemo5-GTK 20110126151713 mv-moz2-linux-ix-slave20
Linux 20110126164256 mv-moz2-linux-ix-slave09
Mac 20110126172426 moz2-darwin9-slave45
Windows 20110126161021 mw32-ix-slave20

Notes

Build 1

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


Tag

mv-moz2-linux-ix-slave20

No problems.

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

Source

mv-moz2-linux-ix-slave05

No problems.

Build/Repack

mobile_win32-i686_desktop_build

mw32-ix-slave20

No problems.

mobile_linux-i686_desktop_build

mv-moz2-linux-ix-slave09

No problems.

mobile_macosx-i686_desktop_build

moz2-darwin9-slave45

No problems.

android-r7

v-moz2-linux-ix-slave21

No problems.

maemo5-gtk

mv-moz2-linux-ix-slave20

No problems.

repack

28 locales, no problems.

Sign Android

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

 # 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 build1/en-US
 mkdir build1/multi
 
 # get en-US apk
 cd build1/en-US/
 wget http://stage.mozilla.org/pub/mozilla.org/mobile/candidates/4.0b4-candidates/build1/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.0b4-candidates/build1/unsigned/android-r7/gecko-unsigned-unaligned.apk
 
 # put the signing script in the ~/signing-work/fennec-4.0b4/ 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 build1/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 build1/en-US/

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

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

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

Deb Repos

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

Push Live

Copy bits to releases/
# in releases/home/ftp/pub/mobile/releases
mkdir 4.0b4
cd 4.0b4

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

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

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

Create new .install files

Not needed this run

Create bouncer entries
# do not create android link going forward, it is not needed as bits are stored on android market
Firefox-Mobile-4.0b4	android	/mobile/releases/4.0b2/android-r7/multi/fennec-4.0b4.multi.eabi-arm.apk
Firefox-Mobile-4.0b4	maemo	/mobile/releases/maemo/:lang/firefox-beta.install