Releases/Fennec 2.0a1/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build Engineers

aki - bug 588224

Bugs encountered

  • bug 589914 tag step should not fail on APPROVAL REQUIRED
  • bug 589985 Maemo release build uploads to wrong location for non-multilocale builds
  • bug 537426 Fennec mobile source + repack builds need auto clobbering
  • bug 589986 Deb signing needs to be more flexible

Signed-off Revision(s)

Build # mozilla-central mobile-browser
build 1 7b8aa3e966a4 88c8ffbb40dd
build 2 f0e151e87568 b964062e3c53
build 3 f0e151e87568 b964062e3c53

Tags

On mozilla-central:

Build # Tag Moz Changeset Mobile Changeset
build 1 GECKO20b5pre_20100820_RELBRANCH c0f21927c871
GECKO20b5pre_20100823_RELBRANCH a020bf23363f
FENNEC_2_0a1_BUILD1, FENNEC_2_0a1_RELEASE 2b4d98b4680a a020bf23363f
build 2 FENNEC_2_0a1_BUILD2, FENNEC_2_0a1_RELEASE f0e151e87568 b964062e3c53
build 3 FENNEC_2_0a1_BUILD3, FENNEC_2_0a1_RELEASE f0e151e87568 b964062e3c53

Build data

Build # Type Build ID Build machine
build 1 Android
Maemo5-GTK
Linux
Mac
Windows
build 2 Android 20100823145827 mv-moz2-linux-ix-slave16
Maemo5-GTK 20100823152440 moz2-linux-slave37
Linux 20100823151612 moz2-linux-slave35
Mac 20100823155214 moz2-darwin9-slave46
Windows 20100823161209 win32-slave46
build 3 Android 20100825115329 mv-moz2-linux-ix-slave13
Maemo5-GTK 20100825130445 moz2-linux-slave44
Linux 20100825130419 moz2-linux-slave46
Mac 20100825132924 moz2-darwin9-slave45
Windows 20100825134021 win32-slave46

Notes

Build 1

  • I was asked to create a branch on mozilla-central off of revision 2dbb1278a15c, so the mobile team could land changes off a known-good revision:
hg up -r 2dbb1278a15c
hg branch GECKO20b5pre_20100820_RELBRANCH
# commit, push
  • checked in mozconfigs
  • checked in pre-changeset configs
  • Contacted Axel about l10n-changesets_mobile-2.0.json. He said this will be a non-localized release due to lack of notice (I imagine this would involve string freeze).
  • Tested a zeroed-out l10n-changesets_mobile-2.0.json and found issues (no maemo multilocale build); fixed/tested this.
  • checked in build1 configs: this also includes the disableMultiLocale changes, the fixed softlinks, and zeroed out l10n-changesets_mobile-2.0.json.
  • The tree was already closed since Catlee was landing GCC 4.5.1.

Started automation with

buildbot sendchange --username aki --master=localhost:9010 --branch=mobile-browser "Fennec 2.0a1 build1" doit

Tag

moz2-linux-slave44

This died in tagging because APPROVAL REQUIRED was commented out in the tinderbox status, requiring an a= in the comment.

I manually bumped/tagged m-c and reopened the tree.

I added a dummy tag factory a la restarting the automation from a specific point, reconfiged, and restarted automation with

buildbot sendchange --username aki --master=localhost:9010 --branch=mobile-browser "Fennec 2.0a1 build1" doit

Source

moz2-linux-slave40

No problems.

Build/Repack

No repacks for this build.

I noticed Maemo5-GTK didn't kick off (exception) -- missed patch. fixed; reconfiged; forced build since there are no repacks.

Got ALL STOP from Stuart during which time he said he never gave go, which is true (others in #mobile were asking for the build); from here I will wait for official GO on r-d, with changesets.

Push Live

Copy bits to releases/
Create new .install files
Create bouncer entries

Build 2

  • Clobbered moz2-linux-slave38, moz2-linux-slave40, mv-moz2-linux-ix-slave14 by moving /scratchbox/users/cltbld/home/cltbld/build/mobile-trunk-maemo5-gtk-release, /builds/slave/mobile_source, /builds/slave/mobile_tag to /builds/slave/old
  • Checked in build 2 configs.
  • Reconfiged pm02
  • Started the automation with
buildbot sendchange --username aki --master=localhost:9010 --branch=mobile-browser "Fennec 2.0a1 build2" doit

Tag

moz2-linux-slave37

Died *again*.

This time this was due to tinderbox.m.o timing out when I tried to close the tree, and I had already sendchanged.

This time I closed the tree, and then sshed into moz2-linux-slave37 and

cd /builds/slave/mobile_tag/mozilla-central
hg push -e "ssh -l ffxbld -i ~cltbld/.ssh/ffxbld_dsa" -f ssh://hg.mozilla.org/mozilla-central

Filed bug 589914.

Source

mv-moz2-linux-ix-slave18

No problems.

Build/Repack

No repacks for this build.

This went smoothly, except the Maemo5-Gtk build uploaded its files into candidates/2.0a1-candidates/build2/ without adding maemo5-gtk/en-US/. Filed bug 589985 to track this (non-urgent, probably alpha-only).

Partner Builds

n/a.

Signing

Deb Repo Creation

Hit a bunch of small issues here since I hadn't done a non-localized staging run of this.

Added new configs to the mozharness repo (moving this into tools/harness in bug 574473; once that lands this step will change quite a bit. Sorry about that.)

The main issues I was hitting:

1) there wasn't a deb_name.txt in multi/ to load. I actually need to allow for easily specifying the locales; I think i can specify a locales list in the config json but I'm not sure if I've tested that.

2) I can limit the platform list from the deb buildbot configs; this was fremantle only

3) but the fremantle configs were pointed at build1/maemo4/ (leftover from 1.1) when it should have been pointed at build2/maemo5-gtk/. Fixed.

Filed bug 589986 to make the functionality of debsigning in buildbot more flexible.

I actually did this semi-manually by ssh'ing into the slave and running this inside of mozharness:

scripts/signdebs.py --configFile deb_repos/2.0_release.json --workDir deb-mc --logLevel debug --platform fremantle --locale en-US

Afterwards, in staging, I tested. Specifying "locales": ["en-US"], and changing the deb_name_url to s/multi/en-US/ fixes this.

Push Live

Copy bits to releases/
Create new .install files
Create bouncer entries

Build 3

  • Clobbered mv-moz2-linux-ix-slave18, moz2-linux-slave37 by moving /scratchbox/users/cltbld/home/cltbld/build/mobile-trunk-maemo5-gtk-release, /builds/slave/mobile_source, /builds/slave/mobile_tag to /builds/slave/old
  • Checked in build 3 configs. These have no official branding; we should turn those on the next beta.
  • Checked in deb signing configs. Tagged this PRODUCTION.
  • Updated/reconfiged pm02,pmm (debsign)
  • closed m-c
  • Started automation with
buildbot sendchange --username aki --master=localhost:9010 --branch=mobile-browser "Fennec 2.0a1 build3" doit
  • tagged buildbot-configs and buildbotcustom with FENNEC_2_0a1_BUILD3 and FENNEC_2_0a1_RELEASE (this is the first time I've done this for a fennec release).
    • Got this error:
.hgtags@8942fbb7d8e1, line 93: tag 'FIREFOX_3_6_9_BUILD1' refers to unknown node
.hgtags@8942fbb7d8e1, line 94: tag 'FIREFOX_3_6_9_RELEASE' refers to unknown node

Tag

mv-moz2-linux-ix-slave15

No problems. [!]

Reopened m-c.

Source

mv-moz2-linux-ix-slave19

No problems.

Build/Repack

No repacks.

Same Maemo5-gtk non-multilocale upload bug; created maemo5-gtk/en-US/ and moved deb_name.txt and fennec* into there.

Partner Builds

n/a.

Signing

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

Deb Repo Creation

Sigh, this failed again. bug 589986

on smm, in a mozharness updated to the PRODUCTION tag, I:

scripts/signdebs.py --configFile deb_repos/2.0_release.json --locale en-US --logLevel info --platform fremantle

which worked.

Push Live

Copy bits to releases/
cd /home/ftp/pub/mobile/releases
mkdir 2.0a1
cd 2.0a1
rsync -av --exclude=unsigned ../../candidates/2.0a1-candidates/build3/. .
rsync -av ../../candidates/2.0a1-candidates/repos .
cd ..
# This step happens now because there is nothing using latest-alpha currently.
# Otherwise we'd need to rm latest-alpha and re-link when we're ready for
# existing alpha users to get the new build.
ln -s 2.0a1 latest-alpha

Verified that this synced up at http://moff.mozilla.com/2.0a1/ and http://moff.mozilla.com/latest-alpha/ .

Create new .install files

We usually don't have to do this, but as the first alpha in a long time, I created an en-US fremantle alpha install file:

cd /home/ftp/pub/mobile/releases/maemo/en-US
cp firefox-fremantle-beta.install firefox-fremantle-alpha.install
ln -s firefox-fremantle-alpha.install firefox-alpha.install
vi firefox-fremantle-alpha.install
# change beta to alpha, Beta to Alpha

However, I just remembered that we probably will have to muck with the .install files again in the future to make Fremantle the default rather than Chinook.

Create bouncer entries

Created Firefox-Mobile-2.0a1 maemo /mobile/releases/maemo/:lang/firefox-alpha.install

Also android /mobile/releases/2.0a1/android-r7/fennec.apk