Firefox 3.0b4:BuildNotes: Difference between revisions

(add update notes)
 
(18 intermediate revisions by 3 users not shown)
Line 156: Line 156:


* fallout from [https://bugzilla.mozilla.org/show_bug.cgi?id=410006 bug 410006] (prettyVersion feature); AUS dir "3 Beta 3" is created, not "3.0b3".
* fallout from [https://bugzilla.mozilla.org/show_bug.cgi?id=410006 bug 410006] (prettyVersion feature); AUS dir "3 Beta 3" is created, not "3.0b3".
** workaround patch in [https://bugzilla.mozilla.org/show_bug.cgi?id=418926 bug 418926], re-gen and re-push AUS config
** workaround [https://bugzilla.mozilla.org/attachment.cgi?id=301534&action=edit patch] in [https://bugzilla.mozilla.org/show_bug.cgi?id=418926 bug 418926], re-gen and re-push AUS config
** FIXME permanent fix in [https://bugzilla.mozilla.org/show_bug.cgi?id=420947 bug 420947]
** FIXME permanent fix in [https://bugzilla.mozilla.org/show_bug.cgi?id=420947 bug 420947]


Line 174: Line 174:
* ensure that new test snippets are the same as old
* ensure that new test snippets are the same as old
** no changes expected
** no changes expected
  diff -r 20080304-Firefox-3.0b4-test 20080304-Firefox-3.0b4-test
  diff -r 20080304-Firefox-3.0b4-test.old 20080304-Firefox-3.0b4-test


* verify beta snippets versus betatest snippets
* verify beta snippets versus betatest snippets
Line 302: Line 302:
  # on production-1.8-master, sync from stage
  # on production-1.8-master, sync from stage
  rsync -av cltbld@stage.mozilla.org:/home/ftp/pub/firefox/nightly/3.0b4-candidates/ /home/ftp/pub/firefox/nightly/3.0b4-candidates/
  rsync -av cltbld@stage.mozilla.org:/home/ftp/pub/firefox/nightly/3.0b4-candidates/ /home/ftp/pub/firefox/nightly/3.0b4-candidates/
* turns out absolute links no longer work, at least unless you use the new root (/pub/mozilla.org) - {{bug|421783}}. Fix it up with
cd /home/ftp/pub/firefox/nightly/3.0b4-candidates/rc2/
find . -type l | xargs rm -v
ln -sv ../rc1/*linux* .
ln -sv ../rc1/*mac* .


====Sign====
====Sign====
Line 308: Line 314:
====L10nVerify====
====L10nVerify====


====Updates to Test Channel====
 


====Updates to Test Channel====
====Updates to Test Channel====
Line 343: Line 349:
====update Verify====
====update Verify====


* win32 FAILed due to binary diffs in .chk files; expected failure
* win32 FAILed due to:
** binary diffs in .chk files; expected failure
** TODO link bug
** TODO link bug
** missing el and es-AR locales in 3.0b3
* linux FAILed due to missing el and es-AR locales in 3.0b3
* mac FAILed due to missing el and es-AR locales in 3.0b3


====Stage====
====Stage====
Line 354: Line 364:
====Sign Installers====
====Sign Installers====


* '''NOTE: this was not done: "pull stage:/data/cltbld/firefox-3.0b2/batch1/stage-signed/" '''
* 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-3.0b4/
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-3.0b4/stage-merged/
~/bin/checksum-files .
* Fix permissions & ownership (on the two SUM files, and the detached sigs)
chown -R cltbld:firefox .
chmod 644 *SUMS


====Update Bouncer====
====Update Bouncer====
* already done for rc1


====Final Verification====
====Final Verification====
* manually verified files under /data/cltbld/firefox-3.0b4/stage-merged/
** looked ok.
* VERIFYFIX verified that filename problems from 3.b2 have been fixed. {{bug|409394}}
** verified ok.


====Push to mirrors====
====Push to mirrors====
* push the stage-merged directory to the releases area:
# on stage
rsync -av /data/cltbld/firefox-3.0b4/stage-merged/ /home/ftp/pub/firefox/releases/3.0b4/
* TODO: note that in /data/cltbld, the "firefox-3.0b4" directory should probably be "firefox-3.0b4rc2". This would make it easier to confirm changes between RCs. This is done for some releases not all; should we always do this?
====Updates to Beta Channel====
'''In case you need to cancel/abort updates, the quickest way to do this is [https://intranet.mozilla.org/Build:Farm:Tinderbox_Maintenance#Starting.2FStopping_Tinderbox_on_win32]'''
* on Mac build machines, run quick updateverify test for releastest channel
cd /builds/verify/firefox-3.0b4/updates
cat moz19-firefox-*.cfg > releasetest.cfg
sed -i.bak 's/betatest/releasetest/' releasetest.cfg
./verify.sh -t releasetest.cfg 2>&1 | tee releasetest.log
# upload result to build.m.o/logs
Should be all HTTP/200 OK results e.g.:
grep 'HTTP' releasetest.log  | grep -v Found | grep -v 200
* On aus2-staging, ensure that releasetest channel contents match beta channel contents
cd /opt/aus2/snippets/staging/20080308-Firefox-3.0b4
find -type d -iregex '.*beta.*' | perl -nle '$a = $_; $a =~ s/beta/releasetest/; system("diff -r -u $_ ../20080308-Firefox-3.0b4-test/$a");'
No difs found - which is correct.
* Once QA and Website gives formal "go"
# put snippets on beta
# login to aus2-staging
$ sudo su - cltbld
$ cd /opt/aus2/snippets/staging
$ ~/bin/pushsnip 20080308-Firefox-3.0b4
* on Mac build machines, run quick updateverify test for beta channel
cd /builds/verify/firefox-3.0b4/updates
cat moz19-firefox-*.cfg > beta.cfg
sed -i.bak 's/betatest/beta/' beta.cfg
./verify.sh -t beta.cfg 2>&1 | tee beta.log
# upload result to build.m.o/logs
Should be all HTTP/200 OK results e.g.:
grep 'HTTP' releasetest.log  | grep -v Found | grep -v 200


== Wall clock timings ==
== Wall clock timings ==
== Stopping live updates (just in case!) ==
If QA finds a problem with updates *after* we start pushing updates "live", the one-and-only-one way we know to stop updates from further spreading is by killing all updates!
See instructions at: https://intranet.mozilla.org/Build:Updates .
Confirmed users
2,679

edits