Firefox 2.0.0.13:BuildNotes: Difference between revisions

 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Build Engineers==
==Build Engineers==


bhearsum, joduinn
bhearsum
[https://bugzilla.mozilla.org/show_bug.cgi?id=422122 Version/config bump bug 422122]
[https://bugzilla.mozilla.org/show_bug.cgi?id=422122 Version/config bump bug 422122]


Line 86: Line 86:
  buildbot sendchange --username=bhearsum --master=localhost:9989 -m"Firefox 2.0.0.13 RC1" release
  buildbot sendchange --username=bhearsum --master=localhost:9989 -m"Firefox 2.0.0.13 RC1" release
====Tag====
====Tag====
No problems.
====Source====
====Source====
No problems.


====Build====
====Build====
Line 92: Line 95:


====Sign====
====Sign====
No problems.


====L10nVerify====
====L10nVerify====
No problems.


====Updates to Test Channels (betatest & releasetest)====
====Updates to Test Channels (betatest & releasetest)====
* Updates died when trying to pull a build from stage-old.
** Filed {{bug|422421}} on getting http from stage-old fixed.
** s/stage-old/stage/ in the bootstrap.cfg and restarted updates.
** There was some other fall-out from this, had to blow away /builds/updates/firefox-2.0.0.13 and restart Updates.
* Rhelmer accidently interrupted updates, ran the following by hand:
ssh cltbld@production-prometheus-vm
cd /builds/updates/firefox-2.0.0.13/patcher
./patcher2.pl --create-patches --app=firefox --config=../config/moz18-branch-patcher2.cfg


====update Verify====
====update Verify====
* Linux/Win32 passed
* Mac failed because 'ka' is in verify config when it shouldn't be. This was only caught since many old builds were removed from stage.m.o
* Fixing verify config manually so we won't hit this again.


====Stage====
====Stage====
* verify-locales.pl failed because of a local patch (that replace 'firefox' strings with 'thunderbird'. {{bug|409232}}
* ran verify-locales.pl manually after cvs up -CPd, no problems.
====Updates to Beta Channels====
While waiting for QA to give "ok", on aus2-staging do:
  # put snippets on beta
  $ sudo su - cltbld
  # make sure using latest version of scripts in mozilla/tools/release/bin/
  $ cd bin
  $ cvs update .
  ...
  $ cd /opt/aus2/snippets/staging
  # note the required parameter must match what will be used with pushsnip below.
  $ time ~/bin/backupsnip 20080312-Firefox-2.0.0.13-beta
After QA gives "ok" to push to beta channel, on aus2-staging do:
  # put snippets on beta
  $ sudo su - cltbld
  # make sure using latest version of scripts in mozilla/tools/release/bin/
  $ cd bin
  $ cvs update .
  ...
  $ cd /opt/aus2/snippets/staging
  $ time ~/bin/pushsnip 20080312-Firefox-2.0.0.13-beta
====Sign Installers====
* Done manually using these installer-signing-instructions [https://intranet.mozilla.org/Build:Unified_Release_Process#Sign_builds here]
* push signed bits back to same location on stage
* complete stage-merged:
# on stage
cd /data/cltbld/firefox-2.0.0.13/
rsync -av batch1/mar/ stage-merged/
rsync -av batch1/stage-signed/ stage-merged/
* Create MD5 and SHA1 checksum files
# on stage
cd /data/cltbld/firefox-2.0.0.13/stage-merged/
~/bin/checksum-files .
* Fix permissions & ownership (on the two SUM files, and the detached sigs)
chown -R cltbld:firefox .
chmod 644 *SUMS
====Release====
* push the stage-merged directory to the releases area:
# on stage (as cltbld)
rsync -av /data/cltbld/firefox-2.0.0.13/stage-merged/ /home/ftp/pub/firefox/releases/2.0.0.13/
* Move forward the "latest" and "latest-2.0" symlinks:
  cd /home/ftp/pub/firefox/releases/
  rm latest
  ln -s 2.0.0.13 latest
  rm latest-2.0
  ln -s 2.0.0.13 latest-2.0
* Update stage:/etc/rsyncd-mozilla-current.exclude
====Update Bouncer====
* Add entries to download.mozilla.org
====Final Verification====
Verify that releasetest points to valid bouncer links:
# this can be run from anywhere
cvs co mozilla/testing/release
cd mozilla/testing/release/updates
cat moz18-firefox-*.cfg | grep -v major | sed 's/betatest/releasetest/' | grep -v 2.0a | grep -v 2.0b > update.cfg
./verify.sh -t update.cfg 2>&1 | tee quickVerify.log
Look for any HTTP error codes besides 200 ("OK") and 302 ("Found"):
grep HTTP quickVerify.log | grep -v 200 | grep -v 302
Found a few 404s to rediris.net. Tested two of them and are OK now - probably had to do with only partial mirror propagation.
Before pushing final updates,verify that "release" and "releasetest" channel match:
# on aus2-staging
cd /opt/aus2/snippets/staging/20080312-Firefox-2.0.0.13
find -type d -iregex '.*release.*' | perl -nle '$a = $_; $a =~ s/release/releasetest/; system("diff -r -u $_ ../20080312-Firefox-2.0.0.13-test/$a");'
====Updates to release channel====
* After QA finished testing the releasetest channel, enabled release channel:
  # on aus2-staging
  # put snippets on release/live channel
  $ cd /opt/aus2/snippets/staging
  $ sudo su - cltbld
  $ ~/bin/pushsnip 20080312-Firefox-2.0.0.13
Had to chmod +x ~/bin/pushsnip
====Free Software Builds====
* Bump the BuildTag definition in the three tinder-config.pl, [http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=MOZILLA_1_8_BRANCH_release_free_software&branchtype=regexp&dir=mozilla%2Ftools%2Ftinderbox-configs%2F&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=day&mindate=2008-02-07+08%3A00&maxdate=2008-02-07+08%3A45&cvsroot=%2Fcvsroot like this]
* Done on production machines:
** production-pacifica-vm (win32)
** bm-xserve05 (macosx)
** production-prometheus-vm (linux)
* Start builds:
cd /builds/tinderbox/Fx-Mozilla1.8-FS
./build-seamonkey.pl --once --depend --config-cvsup-dir `pwd`/tinderbox-configs/ 2>&1 | tee FIREFOX_2_0_0_13_FS.log
* Stage


=== Wall clock timings ===
# as cltbld@stage
mkdir -p ~/firefox-2.0.0.13-fs/batch1/prestage
cd ~/firefox-2.0.0.13-fs/batch1
# rsync from push dirs
rsync -av /home/ftp/pub/firefox/nightly/2008-03-25-04-mozilla1.8-fs/ ./prestage/
rsync -av /home/ftp/pub/firefox/nightly/2008-03-25-05-mozilla1.8-fs/ ./prestage/
rsync -av prestage/ prestage-trimmed/
rm -v prestage-trimmed/*.zip
rsync -av prestage-trimmed/ stage/
cd stage
~/bin/groom-files --long="2.0.0.13.fs" .
chown -R cltbld:firefox * .
find . -type f -exec chmod -v 644 {} \;
find . -type d -exec chmod -v 755 {} \;
cd ../
rsync -av stage/ /home/ftp/pub/firefox/releases/2.0.0.13/contrib/free-software/
Confirmed users
2,679

edits