Releases/Thunderbird 15.0b5/BuildNotes

From MozillaWiki
Jump to: navigation, search

Be sure to take notes on manual steps and any problems you encounter.

Checklist

Notes

tracking bug: bug 782758
release engineer: Hwine
buildbot master: buildbot-master30

Build 1

   [cltbld@buildbot-master30 ~]$ cd /builds/buildbot/build1/master/
   [cltbld@buildbot-master30 master]$ cat reserved_slaves 
   0
   [cltbld@buildbot-master30 master]$ echo 8 > reserved_slaves
   [cltbld@buildbot-master30 master]$ cat reserved_slaves
   8
   [cltbld@buildbot-master30 master]$ 
  • wrangle slaves:
    • 6 w64 builders taken from bm12: w64-ix-slave{72,73,74,76,79,81}
    • starting with only 2 linux 64 slaves - will wrangle more after start
    • wrangled 4 more from bm32 & bm34: bld-centos5-64-vmw-00{3,4,5,6}
  • update & reconfig via fabric:
   $ ./manage_masters.py -f production-masters.json -H bm30-build1 update reconfig
   ...
   [buildbot-master30.srv.releng.scl3.mozilla.com] out: writing new master_config.json file to master/master_config.json
   [OK] updated buildbot-master30.srv.releng.scl3.mozilla.com:/builds/buildbot/build1
   ...
   [buildbot-master30.srv.releng.scl3.mozilla.com] run: python buildbot-wrangler.py reconfig /builds/buildbot/build1/master
   [OK] finished reconfig of buildbot-master30.srv.releng.scl3.mozilla.com:/builds/buildbot/build1
  • release sanity passes:
   (build1)[cltbld@buildbot-master30 master]$ PYTHONPATH=. python \
       ../tools/buildbot-helpers/release_sanity.py -u hwine -V 15.0b5 \
       --build-number 1 --release-config release-thunderbird-comm-beta.py \
       --product thunderbird --dryrun localhost:9001
   ...
   Buildbot version: 0.8.2-hg-a2045101fe7a-production-0.8
   Twisted version: 10.1.0
   2012-08-21 18:48:02,819 : INFO : command: END (0.18s elapsed)
   2012-08-21 18:48:02,819 : INFO : Tests Passed! Did not run reconfig/sendchange. Rerun without `-d`
  • start of automation:
   (build1)[cltbld@buildbot-master30 master]$ PYTHONPATH=. python \
       ../tools/buildbot-helpers/release_sanity.py -u hwine -V 15.0b5 \
       --build-number 1 --branch comm-beta --release-config \
       release-thunderbird-comm-beta.py --product thunderbird localhost:9001
   ...
   2012-08-21 18:55:30,363 : INFO : command: START
   2012-08-21 18:55:30,364 : INFO : command: buildbot sendchange --username hwine --master localhost:9001 --branch releases/comm-beta -p products:thunderbird -p script_repo_revision:THUNDERBIRD_15_0b5_RELEASE release_build
   2012-08-21 18:55:30,364 : INFO : command: cwd: /builds/buildbot/build1/master
   2012-08-21 18:55:30,364 : INFO : command: output:
   change sent successfully
   2012-08-21 18:55:30,690 : INFO : command: END (0.33s elapsed)

Fix failed updates run

Updates failed with:

Traceback (most recent call last):
  File "tools/scripts/updates/create-snippets.py", line 39, in <module>
    pc = PatcherConfig(open(options.config).read())
  File "/builds/slave/tb-rel-c-beta-updates/tools/lib/python/release/updates/patcher.py", line 35, in __init__
    self.readXml(cfg)
  File "/builds/slave/tb-rel-c-beta-updates/tools/lib/python/release/updates/patcher.py", line 189, in readXml
    raise PatcherConfigError("No release found for version '%s'" % self['current-update']['from'])
release.updates.patcher.PatcherConfigError: No release found for version '15.0b4'

After some investigation, we realized this because the patcher-configs in the tools repo were out of date. This patch was used to update the patcher-configs. That was landed to the repository and retagged with THUNDERBIRD_15_0b5_{RELEASE,BUILD1} and "rebuild" used to get things going again.

normal notes (con't)

  • push snips:
   Last login: Fri Aug 17 12:33:11 2012 from vpn1.dmz.releng.scl3.mozilla.com
   [hwine@dp-ausstage01 ~]$ sudo su - tbirdbld
   [tbirdbld@dp-ausstage01 ~]$ set -o vi
   [tbirdbld@dp-ausstage01 ~]$ cd /opt/aus2/snippets/staging
   [tbirdbld@dp-ausstage01 staging]$ ~/bin/pushsnip Thunderbird-15.0b5-build1
   ...
   sent 7218051 bytes  received 261316 bytes  17619.24 bytes/sec
   total size is 5932898  speedup is 0.79
   
   Touching /opt/aus2/incoming/3/Thunderbird
   [tbirdbld@dp-ausstage01 staging]$ 
  • reset reserved slaves
   $ ssh buildbot-master30
   Last login: Tue Aug 21 18:08:23 2012 from vpn1.dmz.releng.scl3.mozilla.com
   [cltbld@buildbot-master30 ~]$ cd /builds/buildbot/build1/master/
   [cltbld@buildbot-master30 master]$ cat reserved_slaves 
   8
   [cltbld@buildbot-master30 master]$ echo 0 > reserved_slaves 
   [cltbld@buildbot-master30 master]$ cat reserved_slaves 
   0
  • unlocked all slaves

Update verify notes

  • For 14.0 and earlier, we had this diff in the full checks:
diff -r source/thunderbird/defaults/pref/channel-prefs.js target/thunderbird/defaults/pref/channel-prefs.js
1a2,5
> /* This Source Code Form is subject to the terms of the Mozilla Public
>  * License, v. 2.0. If a copy of the MPL was not distributed with this
>  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
> 
WARN: non-binary files found in diff

This is related to bug 750294 and happens because channel-prefs.js doesn't get updated through MARs. We'll see this difference for <= 14.0 -> latest in perpetuity.

For 5.0, we had a slightly different diff:

diff -r source/thunderbird/defaults/pref/channel-prefs.js target/thunderbird/defaults/pref/channel-prefs.js
1,2c1,6
< //@line 2 "/buildbot/linux_build_50/build/mail/app/profile/channel-prefs.js"
< pref("app.update.channel", "release");
---
> //@line 2 "/builds/slave/tb-rel-c-beta-lnx-bld/build/mail/app/profile/channel-prefs.js"
> /* This Source Code Form is subject to the terms of the Mozilla Public
>  * License, v. 2.0. If a copy of the MPL was not distributed with this
>  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
> 
> pref("app.update.channel", "beta");

The channel difference is because we generated updates for 5.0 final users on the "beta" channel, so we need to generate updates to keep them coming forward. Nothing to worry about here.

Full checks on Mac for versions 13 and earlier found this additional diff:

Contents of source/Thunderbird.app/Contents/Library/Spotlight/Thunderbird.mdimporter dir only in source or target
162494265        0 drwxr-xr-x    5 cltbld           staff                 170 Aug 22 06:01 source/Thunderbird.app/Contents/Library/Spotlight/Thunderbird.mdimporter/Contents
162494695        8 -rw-r--r--    1 cltbld           staff                1828 Aug 22 06:01 source/Thunderbird.app/Contents/Library/Spotlight/Thunderbird.mdimporter/Contents/Info.plist
162494266        0 drwxr-xr-x    3 cltbld           staff                 102 Aug 22 06:01 source/Thunderbird.app/Contents/Library/Spotlight/Thunderbird.mdimporter/Contents/MacOS
162494694       56 -rwxr-xr-x    1 cltbld           staff               26604 Aug 22 06:01 source/Thunderbird.app/Contents/Library/Spotlight/Thunderbird.mdimporter/Contents/MacOS/thunderbird
162494267        0 drwxr-xr-x    4 cltbld           staff                 136 Aug 22 06:01 source/Thunderbird.app/Contents/Library/Spotlight/Thunderbird.mdimporter/Contents/Resources
162494268        0 drwxr-xr-x    4 cltbld           staff                 136 Aug 22 06:01 source/Thunderbird.app/Contents/Library/Spotlight/Thunderbird.mdimporter/Contents/Resources/English.lproj
162494693        8 -rw-r--r--    1 cltbld           staff                 456 Aug 22 06:01 source/Thunderbird.app/Contents/Library/Spotlight/Thunderbird.mdimporter/Contents/Resources/English.lproj/InfoPlist.strings
162494692        8 -rw-r--r--    1 cltbld           staff                1276 Aug 22 06:01 source/Thunderbird.app/Contents/Library/Spotlight/Thunderbird.mdimporter/Contents/Resources/English.lproj/schema.strings
162494691        8 -rw-r--r--    1 cltbld           staff                1285 Aug 22 06:01 source/Thunderbird.app/Contents/Library/Spotlight/Thunderbird.mdimporter/Contents/Resources/schema.xml
Contents of target/Thunderbird.app/Contents/Library/Spotlight/thunderbird.mdimporter dir only in source or target
162494431        0 drwxr-xr-x    5 cltbld           staff                 170 Aug 21 20:46 target/Thunderbird.app/Contents/Library/Spotlight/thunderbird.mdimporter/Contents
162494474        8 -rw-r--r--    1 cltbld           staff                1828 Aug 21 20:23 target/Thunderbird.app/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Info.plist
162494432        0 drwxr-xr-x    3 cltbld           staff                 102 Aug 21 20:46 target/Thunderbird.app/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/MacOS
162494475       56 -rwxr-xr-x    1 cltbld           staff               26604 Aug 21 20:23 target/Thunderbird.app/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/MacOS/thunderbird
162494433        0 drwxr-xr-x    4 cltbld           staff                 136 Aug 21 20:46 target/Thunderbird.app/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources
162494434        0 drwxr-xr-x    4 cltbld           staff                 136 Aug 21 20:46 target/Thunderbird.app/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources/English.lproj
162494477        8 -rw-r--r--    1 cltbld           staff                 456 Aug 21 20:23 target/Thunderbird.app/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources/English.lproj/InfoPlist.strings
162494478        8 -rw-r--r--    1 cltbld           staff                1276 Aug 21 20:23 target/Thunderbird.app/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources/English.lproj/schema.strings
162494476        8 -rw-r--r--    1 cltbld           staff                1285 Aug 21 20:05 target/Thunderbird.app/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources/schema.xml

This can be traced back to bug 698702 and bug 734734, which switched from Thunderbird.mdimporter -> thunderbird.mdimporter. The reason we see the difference in this test is because the filesystem on Mac is case-insensitive, so updates won't rename the directory.