Releases/Firefox 3.0.5/BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: ==Build Engineers== joduinn <br /> [https://bugzilla.mozilla.org/show_bug.cgi?id=467456 Tracking release bug] ==Bonsai queries== Bonsai query is: [http://bonsai.mozilla.org/cvsquery.cgi...)
 
No edit summary
 
(22 intermediate revisions by 2 users not shown)
Line 8: Line 8:
[http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2008-11-28+23%3A00+PST&maxdate=2008-11-28+23%3A00+PST&cvsroot=%2Fcvsroot last cvs checkin]
[http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2008-11-28+23%3A00+PST&maxdate=2008-11-28+23%3A00+PST&cvsroot=%2Fcvsroot last cvs checkin]


[http://bonsai-l10n.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2008-12-01+00%3A00%3A00+PST&maxdate=2008-12-01+12%3A35%3A00+PST&cvsroot=%2Fl10n
[http://bonsai-l10n.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2008-12-01+00%3A00%3A00+PST&maxdate=2008-12-01+12%3A35%3A00+PST&cvsroot=%2Fl10n last l10n checkin]
last l10n checkin]


Updated [http://developer.mozilla.org/en/docs/CVS_Tags#Released_Branches CVS Tags devmo page].
Updated [http://developer.mozilla.org/en/docs/CVS_Tags#Released_Branches CVS Tags devmo page].
Line 25: Line 24:
| rowspan="1" | cvsroot/mozilla
| rowspan="1" | cvsroot/mozilla
| HEAD
| HEAD
| FIREFOX_3_0_4_BUILD1
| FIREFOX_3_0_5_BUILD1
| 2008-10-28 22:06 PDT
| 2008-11-28 23:01 PST
|-
|-
| rowspan="1" | l10n/l10n
| rowspan="1" | l10n/l10n
| HEAD
| HEAD
| FIREFOX_3_0_4_BUILD1
| FIREFOX_3_0_5_BUILD1
| 2008-10-28 22:06 PDT
| 2008-12-01 12:35 PST
|}
|}


Line 70: Line 69:
* Updated master.cfg, bootstrap.cfg. Retagged bootstrap.cfg.
* Updated master.cfg, bootstrap.cfg. Retagged bootstrap.cfg.
* On all the slaves:
* On all the slaves:
** ran 'DISPLAY=:0 xhost +' to make sure linux AliveTest works.
** remove /builds/verify/firefox-3.0.0.14-3-major-update, /builds/verify/firefox-3.0.0.16-*-{fake,major}-update
** remove /builds/verify/firefox-3.0.2, /builds/verify/firefox-3.0.3
** verified we're using same version of tinderbox as before (RELEASE_AUTOMATION_M11), so nothing to do.
** verified we're using same version of tinderbox as before (RELEASE_AUTOMATION_M11), so nothing to do.
** On the linux slave, removed:
** On the linux slave,
*** /builds/updates/firefox-3.0.3
** ran 'DISPLAY=:0 xhost +' to make sure linux AliveTest works
*** /builds/source/firefox-3.0.3
** removed:
*** /data/cltbld/firefox-3.0.3
*** /builds/verify/firefox-3.0.{3,4}
*** /builds/updates/firefox-3.0.4
*** /builds/source/firefox-3.0.4
*** /data/cltbld/firefox-3.0.4
** On the mac slave, removed nothing, as there was loads of space.
** On the mac slave, removed nothing, as there was loads of space.
* Space on slaves before starting:
* Space on slaves before starting:
** fx-linux-1.9-slave2: 27G on /builds
** fx-linux-1.9-slave2: 19.5G on /builds
** fx-mac-1.9-slave2: 22G on /
** fx-mac-1.9-slave2: 14.5G on /
** fx-win32-1.9-slave2: 16.5G on d:, 2.5G on e: (disk heavy work is done on d, eg update_verify. build/repack is done on e, but mostly just overwrites existing data)
** fx-win32-1.9-slave2: 16.9G on d:, 4.15G on e: (disk heavy work is done on d, eg update_verify. build/repack is done on e, but mostly just overwrites existing data)


* Gulped, and kicked off automation:
* Gulped, and kicked off automation:
  #login to production-1.9-master as buildbot
  #login to production-1.9-master as buildbot
  #
  #
  buildbot sendchange --username=joduinn --master=localhost:9989 -m"Firefox 3.0.4build1 release" go
  buildbot sendchange --username=joduinn --master=localhost:9989 -m"Firefox 3.0.5build1 release" go


====Tag====
====Tag====
Line 94: Line 95:


==== Build & Repack ====
==== Build & Repack ====
* linux, mac: No problems
* linux, mac, win32: No problems
* win32: slave ran out of space during repack:push.
** Even though I'd verified that we had enough free space beforehand - and had more free space then we had when starting FF303. Still dont understand why.
** restarted at just repack:execute, ran to completion just fine.


====Sign====
====Sign====
* [https://intranet.mozilla.org/Build:Signing Signing doc]
* [https://intranet.mozilla.org/Build:Signing Signing doc]
* no problems.
* no problems.
* tweaked master.cfg, and did new sendchange to resume automation from this point.
* slave had lost connection at 12:33PST and 12:47PST today. FIXME: dont know why.
  $ buildbot sendchange --username=joduinn --master=localhost:9989 -m"Firefox 3.0.4build1 release after signing" go
* To resume builds, I tweaked master.cfg, and did a new sendchange to resume automation from this point.
  $ buildbot sendchange --username=joduinn --master=localhost:9989 -m"Firefox 3.0.5build1 release after signing" go


====L10nVerify====
====L10nVerify====
Line 116: Line 116:
====Update Verify====
====Update Verify====
* linux - no problems.
* linux - no problems.
* mac - expected failure on gu-IN for 3.0b1...3.0b5. Otherwise, no problems.
* mac - no problems.
* win32 - first run timed out because the updater tries to elevate its access rights on windows - the OS throws up a modal RunAs dialog when we try to run the updater which blocks any progress. Probably fallout from {{bug|437349}} in Fx3.0.2. This patch fixes it up:
* win32 - {{bug|452128}} was fixed in 3.0.4, so that 3.0.4 -> 3.0.5 updates expected to work... and they did! There was the usual complaint that freebl3.chk and softokn3.chk differ ({{bug|404340}}), which is a pass in reality. However, worth noting that there were the following extra messages:  
  Index: check_updates.sh
 
  ===================================================================
  ...
RCS file: /cvsroot/mozilla/testing/release/common/check_updates.sh,v
  Binary files source/bin/freebl3.chk and target/bin/freebl3.chk differ
retrieving revision 1.11
Binary files source/bin/softokn3.chk and target/bin/softokn3.chk differ
  diff -u -r1.11 check_updates.sh
  FAIL: binary files found in diff
  --- check_updates.sh    21 Mar 2008 21:06:21 -0000      1.11
  FAIL: check_updates returned failure for WINNT_x86-msvc downloads/Firefox Setup 3.0.4.exe vs. downloads/firefox-3.0.5.be.win32.installer.exe: 1
+++ check_updates.sh    3 Nov 2008 20:42:16 -0000
Using  https://aus2.mozilla.org/update/1/Firefox/3.0.4/2008102920/WINNT_x86-msvc/be/betatest/update.xml
@@ -41,7 +41,7 @@
...
  if [ -d source/$platform_dirname ]; then
 
    cd source/$platform_dirname;
Dont understand - should the above really be comparing FF3.0.4 vs FF3.0.5?
    cp $updater ../../update
-   ../../update/updater ../../update 0
+    ../../update/updater ../../update 0 .
    cd ../..
  else
    echo "FAIL: no dir in source/$platform_dirname"
This should be fixed by {{bug|452128}} in 3.0.4, so that 3.0.4 -> 3.0.5 updates work without the patch
* a second win32 run failed with the usual complaint that freebl3.chk and softokn3.chk differ ({{bug|404340}}), which is a pass in reality


====Stage====
====Stage====
Line 141: Line 133:


==== Push to beta channel ====
==== Push to beta channel ====
* Done in tandem with [https://wiki.mozilla.org/Releases/Firefox_2.0.0.19/BuildNotes#Push_updates_to_beta_channel 2.0.0.19], notes are over there


Done in tandem with 2.0.0.18, see the [[Releases/Firefox_2.0.0.18:BuildNotes#Push_updates_to_beta_channel|2.0.0.18 BuildNotes]] for details.
==== Sign Installers ====


==== Sign Installers ====
Done manually using these installer-signing-instructions [https://intranet.mozilla.org/Build:Unified_Release_Process#Sign_builds here]. Hit an error getting a timestamp for hi-IN, hu, and id locales, so resigned those and reopened {{bug|453464}}.
Done manually using these installer-signing-instructions [https://intranet.mozilla.org/Build:Unified_Release_Process#Sign_builds here]
* complete stage-merged:
* complete stage-merged:
  # on stage
  # on stage
  cd /data/cltbld/firefox-3.0.4/
  cd /data/cltbld/firefox-3.0.5/
  rsync -av batch1/mar/ stage-merged/
  rsync -av batch1/mar/ stage-merged/
  rsync -av batch1/stage-signed/ stage-merged/
  rsync -av batch1/stage-signed/ stage-merged/
* Create MD5 and SHA1 checksum files
* Create MD5 and SHA1 checksum files
  # on stage
  # on stage
  cd /data/cltbld/firefox-3.0.4/stage-merged/
  cd /data/cltbld/firefox-3.0.5/stage-merged/
  ~/bin/checksum-files .
  ~/bin/checksum-files .
* Fix permissions & ownership (on the two SUM files, and the detached sigs)
* Fix permissions & ownership (on the two SUM files, and the detached sigs)
Line 159: Line 151:
  chmod 644 *SUMS
  chmod 644 *SUMS


** FIXME: I noted that the permissions on the *SUMS files were correct before I ran the chmod above. Is this still needed?
* ''FIXME?: I noted that the permissions on the *SUMS files were correct before I ran the chmod above. Is this still needed?'' Yes, they're 664 before that and we don't want other members of the firefox group to modify them


====Update Bouncer====
====Update Bouncer====
* Done.
* Done.
* ''Note for next release: Do not remove the Check Now bit on the Firefox-3.0.4 Products until well after the change to the rsync module (to prevent the likes of {{bug|464566}})''
* ''Note for next release: Do not remove the Check Now bit on the Firefox-3.0.5 Products until well after the change to the rsync module (to prevent the likes of {{bug|464566}})''


==== Push to mirrors ====
==== Push to mirrors ====
* push the stage-merged directory to the releases area:
* push the stage-merged directory to the releases area:
  # on stage
  # on stage
  rsync -av /data/cltbld/firefox-3.0.4/stage-merged/ /home/ftp/pub/firefox/releases/3.0.4/
  rsync -av /data/cltbld/firefox-3.0.5/stage-merged/ /home/ftp/pub/firefox/releases/3.0.5/
* edit the exclude file /pub/mozilla.org/zz/rsyncd-mozilla-current.exclude to add the new release (3.0.4) and remove the previous release (3.0.3).
* edit the exclude file /pub/mozilla.org/zz/rsyncd-mozilla-current.exclude to add the new release (3.0.5) and remove the previous release (3.0.4).


====Final Verification====
====Final Verification====
* Verify that releasetest points to valid bouncer links:
* Verify that releasetest points to valid bouncer links:
  # this can be run from anywhere
  # this can be run from anywhere
Line 182: Line 173:
* Look for any HTTP error codes besides 200 ("OK") and 302 ("Found"):
* Look for any HTTP error codes besides 200 ("OK") and 302 ("Found"):
  grep HTTP quickVerify.log | grep -v 200 | grep -v 302
  grep HTTP quickVerify.log | grep -v 200 | grep -v 302
* First testrun hit:
** ?? occurrences of 404s


* Before pushing final updates,verify that "release" and "releasetest" channel match:
* Before pushing final updates,verify that "release" and "releasetest" channel match:
  # on aus2-staging
  # on aus2-staging
  $ cd 20081103-Firefox-3.0.4
  $ cd 20081202-Firefox-3.0.5
  $ find -type d -iregex '.*release.*' | perl -nle '$a = $_; $a =~ s/release/releasetest/; system("diff -r -u $_ ../20081103-Firefox-3.0.4-test/$a");'
  $ find -type d -iregex '.*release.*' | perl -nle '$a = $_; $a =~ s/release/releasetest/; system("diff -r -u $_ ../20081202-Firefox-3.0.5-test/$a");'
  $
  $


==== Publish Updates to Release Channel ====
==== Publish Updates to Release Channel ====
While waiting for the formal "go," ran:
While waiting for the formal "go," ran:
  time ~/bin/backupsnip 20081103-Firefox-3.0.4
  time ~/bin/backupsnip 20081202-Firefox-3.0.5
  real 33m58.819s
  real   39m22.521s
  user 0m26.811s
  user   0m31.262s
  sys 0m37.705s
  sys     0m51.757s
 
====Release====


* '''In case you need to cancel/abort updates, the quickest way to do this is [https://intranet.mozilla.org/Build:Updates here]'''
* '''In case you need to cancel/abort updates, the quickest way to do this is [https://intranet.mozilla.org/Build:Updates here]'''


$ time ~/bin/pushsnip 20081202-Firefox-3.0.5
real    0m39.965s
user    0m0.105s
sys    0m3.230s


$ time ~/bin/pushsnip 20081103-Firefox-3.0.4
====Release====
 


https://bugzilla.mozilla.org/show_bug.cgi?id=466641 was filed on November 25 - latest-3.0 symlink was not updated. I went ahead and fixed this:
* fix latest symlink  
  # cltbld@stage
  # cltbld@stage
  cd /home/ftp/pub/firefox/releases
  cd /home/ftp/pub/firefox/releases
  rm latest-3.0 && ln -s 3.0.4 latest-3.0
  rm latest-3.0 && ln -s 3.0.5 latest-3.0

Latest revision as of 23:46, 16 December 2008

Build Engineers

joduinn
Tracking release bug

Bonsai queries

Bonsai query is: last cvs checkin

last l10n checkin

Updated CVS Tags devmo page.

Tags

Build 1:

Module Branch Tag Pull date
cvsroot/mozilla HEAD FIREFOX_3_0_5_BUILD1 2008-11-28 23:01 PST
l10n/l10n HEAD FIREFOX_3_0_5_BUILD1 2008-12-01 12:35 PST

Build data

Type Build ID SHA1 Push date Build machine
[Windows installer/zip] fx-win32-1.9-slave2
[Mac compressed] fx-mac-1.9-slave2
[Linux compressed] fx-linux-1.9-slave2

Notes

Build 1

Bootstrap Tag: RELEASE_AUTOMATION_M11

Setup before starting:

  • Updated master.cfg, bootstrap.cfg. Retagged bootstrap.cfg.
  • On all the slaves:
    • remove /builds/verify/firefox-3.0.0.14-3-major-update, /builds/verify/firefox-3.0.0.16-*-{fake,major}-update
    • verified we're using same version of tinderbox as before (RELEASE_AUTOMATION_M11), so nothing to do.
    • On the linux slave,
    • ran 'DISPLAY=:0 xhost +' to make sure linux AliveTest works
    • removed:
      • /builds/verify/firefox-3.0.{3,4}
      • /builds/updates/firefox-3.0.4
      • /builds/source/firefox-3.0.4
      • /data/cltbld/firefox-3.0.4
    • On the mac slave, removed nothing, as there was loads of space.
  • Space on slaves before starting:
    • fx-linux-1.9-slave2: 19.5G on /builds
    • fx-mac-1.9-slave2: 14.5G on /
    • fx-win32-1.9-slave2: 16.9G on d:, 4.15G on e: (disk heavy work is done on d, eg update_verify. build/repack is done on e, but mostly just overwrites existing data)
  • Gulped, and kicked off automation:
#login to production-1.9-master as buildbot
#
buildbot sendchange --username=joduinn --master=localhost:9989 -m"Firefox 3.0.5build1 release" go

Tag

  • No problems

Source

  • No problems

Build & Repack

  • linux, mac, win32: No problems

Sign

  • Signing doc
  • no problems.
  • slave had lost connection at 12:33PST and 12:47PST today. FIXME: dont know why.
  • To resume builds, I tweaked master.cfg, and did a new sendchange to resume automation from this point.
$ buildbot sendchange --username=joduinn --master=localhost:9989 -m"Firefox 3.0.5build1 release after signing" go

L10nVerify

  • Automated - no problems.

Generate Updates

  • Automated - no problems.

Publish Updates to Test Channels (betatest & releasetest)

  • Automated - no problems.

Update Verify

  • linux - no problems.
  • mac - no problems.
  • win32 - bug 452128 was fixed in 3.0.4, so that 3.0.4 -> 3.0.5 updates expected to work... and they did! There was the usual complaint that freebl3.chk and softokn3.chk differ (bug 404340), which is a pass in reality. However, worth noting that there were the following extra messages:
...
Binary files source/bin/freebl3.chk and target/bin/freebl3.chk differ
Binary files source/bin/softokn3.chk and target/bin/softokn3.chk differ
FAIL: binary files found in diff
FAIL: check_updates returned failure for WINNT_x86-msvc downloads/Firefox Setup 3.0.4.exe vs. downloads/firefox-3.0.5.be.win32.installer.exe: 1
Using  https://aus2.mozilla.org/update/1/Firefox/3.0.4/2008102920/WINNT_x86-msvc/be/betatest/update.xml
...

Dont understand - should the above really be comparing FF3.0.4 vs FF3.0.5?

Stage

  • Automated - no problems.

Push to beta channel

  • Done in tandem with 2.0.0.19, notes are over there

Sign Installers

Done manually using these installer-signing-instructions here. Hit an error getting a timestamp for hi-IN, hu, and id locales, so resigned those and reopened bug 453464.

  • complete stage-merged:
# on stage
cd /data/cltbld/firefox-3.0.5/
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.0.5/stage-merged/
~/bin/checksum-files .
  • Fix permissions & ownership (on the two SUM files, and the detached sigs)
chown -R cltbld:firefox .
chmod 644 *SUMS
  • FIXME?: I noted that the permissions on the *SUMS files were correct before I ran the chmod above. Is this still needed? Yes, they're 664 before that and we don't want other members of the firefox group to modify them

Update Bouncer

  • Done.
  • Note for next release: Do not remove the Check Now bit on the Firefox-3.0.5 Products until well after the change to the rsync module (to prevent the likes of bug 464566)

Push to mirrors

  • push the stage-merged directory to the releases area:
# on stage
rsync -av /data/cltbld/firefox-3.0.5/stage-merged/ /home/ftp/pub/firefox/releases/3.0.5/
  • edit the exclude file /pub/mozilla.org/zz/rsyncd-mozilla-current.exclude to add the new release (3.0.5) and remove the previous release (3.0.4).

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 moz19-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
  • Before pushing final updates,verify that "release" and "releasetest" channel match:
# on aus2-staging
$ cd 20081202-Firefox-3.0.5
$ find -type d -iregex '.*release.*' | perl -nle '$a = $_; $a =~ s/release/releasetest/; system("diff -r -u $_ ../20081202-Firefox-3.0.5-test/$a");'
$

Publish Updates to Release Channel

While waiting for the formal "go," ran:

time ~/bin/backupsnip 20081202-Firefox-3.0.5
real    39m22.521s
user    0m31.262s
sys     0m51.757s
  • In case you need to cancel/abort updates, the quickest way to do this is here
$ time ~/bin/pushsnip 20081202-Firefox-3.0.5
real    0m39.965s
user    0m0.105s
sys     0m3.230s

Release

  • fix latest symlink
# cltbld@stage
cd /home/ftp/pub/firefox/releases
rm latest-3.0 && ln -s 3.0.5 latest-3.0