Firefox 3.0b5:BuildNotes: Difference between revisions

→‎Publish Updates to Beta Channel: Fix update disable link
(→‎Publish Updates to Beta Channel: Fix update disable link)
 
(31 intermediate revisions by 2 users not shown)
Line 39: Line 39:
|-
|-
| FIREFOX_3_0b5_RC1
| FIREFOX_3_0b5_RC1
| GECKO19b5_20080326_RELBRANCH @ 2008-03-26 04:45 PDT
| GECKO19b5_20080326_RELBRANCH @ 2008-03-20 04:00 PDT  
|-
|-
| FIREFOX_3_0b5_RC2
| FIREFOX_3_0b5_RC2
Line 82: Line 82:


Bootstrap tag: RELEASE_AUTOMATION_M8_1
Bootstrap tag: RELEASE_AUTOMATION_M8_1
* Make sure the new patcher config changes are used. patcherToolsRev should be UPDATE_PACKAGING_R3. snippets should have prettyVersion (3 Beta 5) as their appv. Patcher-created directory structure should use unpretty version (3.0b5).


Setup before starting:
Setup before starting:
Line 110: Line 112:
**** rm -rf /home/ftp/pub/firefox/nightly/2007*
**** rm -rf /home/ftp/pub/firefox/nightly/2007*
**** FIXME should not be needed - [https://bugzilla.mozilla.org/show_bug.cgi?id=415970 bug 415970]
**** FIXME should not be needed - [https://bugzilla.mozilla.org/show_bug.cgi?id=415970 bug 415970]
* af was tagged, but checked out a tagged locale so CVS would cache it anyway
** cvs co -r FIREFOX_3_0b5_RELEASE l10n/de


* kick off buildbot (run as cltbld):
* kick off buildbot (run as cltbld):
Line 144: Line 144:
  buildbot sendchange --username=joduinn --master=localhost:9989 -m "Firefox 3.0 Beta 5 RC2" release
  buildbot sendchange --username=joduinn --master=localhost:9989 -m "Firefox 3.0 Beta 5 RC2" release
====Prestage====
====Prestage====
* nothing to do
* automated - nothing to do
 
====Tag====
====Tag====
* nothing to do
* nothing to do
Line 162: Line 163:


====Generate Updates====
====Generate Updates====
* Fast update generation is enabled. First time failed out because of {{bug|425462}} but fixed. Fast update mode remains enabled and now trying again.
====Publish Updates to Test Channel====
====Publish Updates to Test Channel====
* Make sure the new patcher config changes are used. patcherToolsRev should be UPDATE_PACKAGING_R3. snippets should have prettyVersion (3 Beta 5) as their appv. Patcher-created directory structure should use unpretty version (3.0b5). Fast update generation is enabled.
* FIXME: PatcherConfig made beta like betatest not releasetest. Posted [https://bugzilla.mozilla.org/attachment.cgi?id=313006 patch] in [https://bugzilla.mozilla.org/show_bug.cgi?id=424242 bug 424242], recreated/repushed snippets (20080401-Firefox-3.0b5{,-test})
 
* ensure that new test snippets are the same as old
** no changes expected
diff -r 20080327-Firefox-3.0b5-test 20080401-Firefox-3.0b5-test
 
* ensure that the new production snippets only change in beta
diff -ru 20080327-Firefox-3.0b5 20080401-Firefox-3.0b5 | less
 
* verify beta snippets versus betatest snippets
** only URL (download vs. stage) and appv ("3 Beta 5" vs. "3 Beta 5rc1")
** FIXME automate this in [https://bugzilla.mozilla.org/show_bug.cgi?id=409449 bug 409449]
cd /opt/aus2/snippets/staging/20080401-Firefox-3.0b5/
find -type d -iregex '.*beta.*' | perl -nle '$a = $_; $a =~ s/beta/betatest/; system("diff -r -u $_ ../20080401-Firefox-3.0b5-test/$a");' 2>&1 | tee /tmp/beta.log
 
* verify beta snippets versus releasetest snippets
** no changes expected
** FIXME automate this in [https://bugzilla.mozilla.org/show_bug.cgi?id=409449 bug 409449]
cd /opt/aus2/snippets/staging/20080401-Firefox-3.0b5/
find -type d -iregex '.*beta.*' | perl -nle '$a = $_; $a =~ s/beta/releasetest/; system("diff -r -u $_ ../20080401-Firefox-3.0b5-test/$a");'


====update Verify====
====update Verify====
* mac verify failed on ar, ga-IE and he locales, because they are not shipped. ok to ignore these errors.
* linux verify failed on ga-IE because it was not shipped. ok to ignore this error.
* win32 verify failed on
** ga-IE because it was not shipped. ok to ignore this error
** {{bug|404340}} A long standing bug about how checksums show up different in updatedinstall-vs-cleaninstall. Not a blocker, we've shipped with this for a while now.


====Stage====
====Stage====
* automated - nothing to do.


====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.0b5/
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.0b5/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====
* done manually.


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


====Push to mirrors====
====Push to mirrors====
* push the stage-merged directory to the releases area:
# on stage
rsync -av /data/cltbld/firefox-3.0b5/stage-merged/ /home/ftp/pub/firefox/releases/3.0b5/
* TODO: note that in /data/cltbld, the "firefox-3.0b5" directory should probably be "firefox-3.0b5rc1". This would make it easier to confirm changes between RCs. This is done for some releases not all; should we always do this?


====Publish Updates to Beta Channel====
====Publish 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]'''
'''In case you need to cancel/abort updates, the quickest way to do this is [https://intranet.mozilla.org/Build:Updates here]'''
 
* on Mac build machines, run quick updateverify test for releastest channel
cd /builds/verify/firefox-3.0b5/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 (we also checked this earlier)
cd /opt/aus2/snippets/staging/20080401-Firefox-3.0b5
find -type d -iregex '.*beta.*' | perl -nle '$a = $_; $a =~ s/beta/releasetest/; system("diff -r -u $_ ../20080401-Firefox-3.0b5-test/$a");'  
 
No difs found - which is correct.


* While waiting for formal "go", backup existing beta channel '''not done yet'''
* While waiting for formal "go", backup existing beta channel
   # login to aus2-staging
   # login to aus2-staging
   $ sudo su - cltbld
   $ sudo su - cltbld
   # make sure using latest version of scripts
   # make sure using latest version of scripts
   $ cvs get -d bin mozilla/tools/release/bin/  
   $ cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsrootget -d bin mozilla/tools/release/bin/  
     cvs checkout: Updating bin
     cvs checkout: Updating bin
   $ cd /opt/aus2/snippets/staging
   $ cd /opt/aus2/snippets/staging
   # note the required parameter must match what will be used with pushsnip below.  
   # note the required parameter must match what will be used with pushsnip below.  
   $ ~/bin/backupsnip 20080308-Firefox-3.0b4
   $ ~/bin/backupsnip 20080401-Firefox-3.0b5


* Once QA and Website gives formal "go" to put updates on beta channel '''not done yet'''
* Once QA and Website gives formal "go" to put updates on beta channel
   # login to aus2-staging
   # login to aus2-staging
   $ sudo su - cltbld
   $ sudo su - cltbld
   # make sure using latest version of scripts
   # make sure using latest version of scripts
   $ cvs get -d bin mozilla/tools/release/bin/  
   $ cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot get -d bin mozilla/tools/release/bin/  
     cvs checkout: Updating bin
     cvs checkout: Updating bin
   $ cd /opt/aus2/snippets/staging
   $ cd /opt/aus2/snippets/staging
   $ ~/bin/pushsnip 20080308-Firefox-3.0b4
   $ ~/bin/pushsnip 20080401-Firefox-3.0b5
 
== Wall clock timings ==
Confirmed users
4,293

edits