Releases/Thunderbird 14.0b1/BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 25: Line 25:
|-
|-
| rowspan="2" | 1
| rowspan="2" | 1
| GECKO130_2012052216_RELBRANCH THUNDERBIRD_14_0b1_BUILD1 THUNDERBIRD_14_0b1_RELEASE  
| GECKO130_2012XXXXXX_RELBRANCH THUNDERBIRD_14_0b1_BUILD1 THUNDERBIRD_14_0b1_RELEASE  
| [http://hg.mozilla.org/releases/comm-beta/rev/709068332aaf 709068332aaf]
| [http://hg.mozilla.org/releases/comm-beta/rev/X X]
|-  
|-  
| GECKO130_2012052216_RELBRANCH THUNDERBIRD_14_0b1_BUILD1 THUNDERBIRD_14_0b1_RELEASE  
| GECKO130_2012XXXXXX_RELBRANCH THUNDERBIRD_14_0b1_BUILD1 THUNDERBIRD_14_0b1_RELEASE  
| [http://hg.mozilla.org/releases/mozilla-beta/rev/e835d6524759 e835d6524759]
| [http://hg.mozilla.org/releases/mozilla-beta/rev/X X]
|}
|}


Line 43: Line 43:
| rowspan="4" | 1
| rowspan="4" | 1
| Linux
| Linux
| rowspan="4" | 20120522170710
| rowspan="4" |  
| mv-moz2-linux-ix-slave04
|  
| 54 mins, 0 secs
|  
|-
|-
| Linux64
| Linux64
| linux64-ix-slave05
|  
| 37 mins, 10 secs
|  
|-
|-
| Mac
| Mac
| moz2-darwin10-slave40
|  
| 3 hrs, 26 mins, 43 secs
|  
|-
|-
| Windows  
| Windows  
| mw32-ix-slave07
|  
| 1 hrs, 58 mins, 24 secs
|  
|}
|}


Line 82: Line 82:
* update and reconfigure the master
* update and reconfigure the master
<pre>
<pre>
# removed all local changes
# this removed all local changes
cd /builds/buildbot/build1
cd /builds/buildbot/build1
make update && make checkconfig && python buildbot-wrangler.py reconfig `pwd`/master
make update && make checkconfig && python buildbot-wrangler.py reconfig `pwd`/master
Line 90: Line 90:
cd /builds/buildbot/build1
cd /builds/buildbot/build1
source bin/activate
source bin/activate
buildbot sendchange --username=rail --master localhost:9001 --branch=releases/comm-beta \
buildbot sendchange --username=kmoir --master localhost:9001 --branch=releases/comm-beta \
   --comments "THUNDERBIRD 14.0b1 BUILD 1" -p products:thunderbird \
   --comments "THUNDERBIRD 14.0b1 BUILD 1" -p products:thunderbird \
   -p script_repo_revision:THUNDERBIRD_14_0b1_BUILD1 release_build
   -p script_repo_revision:THUNDERBIRD_14_0b1_BUILD1 release_build
Line 144: Line 144:


* Handed off to nthomas to patch bm34, since there were a number of issues.
* Handed off to nthomas to patch bm34, since there were a number of issues.
* Reduced the local diff to:
<pre>[cltbld@buildbot-master34 build1]$ for r in buildbot-configs buildbotcustom tools/; do hg -R $r diff; echo; done
diff -r c3fba09cd5d5 mozilla/builder_master.cfg
--- a/mozilla/builder_master.cfg Wed Jun 06 17:01:39 2012 -0400
+++ b/mozilla/builder_master.cfg Wed Jun 06 15:03:37 2012 -0700
@@ -71,6 +71,10 @@
import passwords
reload(passwords)
+ACTIVE_BRANCHES = []
+ACTIVE_THUNDERBIRD_BRANCHES = []
+ACTIVE_PROJECTS = []
+
for branch in ACTIVE_BRANCHES:
    branchObjects = generateBranchObjects(BRANCHES[branch], branch,
            getattr(passwords, 'secrets', None))
diff -r c3fba09cd5d5 mozilla/production_config.py
--- a/mozilla/production_config.py Wed Jun 06 17:01:39 2012 -0400
+++ b/mozilla/production_config.py Wed Jun 06 15:03:37 2012 -0700
@@ -5,7 +5,8 @@
                  ['linux-ix-slave%02i' % x for x in [1,2,6] + range(12,43)]
LINUX64_VMS    = ['bld-centos5-64-vmw-%03i' % x for x in range(1, 7)]
LINUX64_IXS    = ['linux64-ix-slave%02i' % x for x in range(3,22)]
-WIN32_IXS      = ['mw32-ix-slave%02i' % x for x in range(2,16) + [20, 26]]
+#WIN32_IXS      = ['mw32-ix-slave%02i' % x for x in range(2,16) + [20, 26]]
+WIN32_IXS      = ['mw32-ix-slave02', 'mw32-ix-slave05', 'mw32-ix-slave10']
WIN64_IXS      = ['w64-ix-slave%02i' % x for x in range(6,22) + range(22,25) + range(64,85)]
WIN64_METRO    = ['w64-ix-slave%02i' % x for x in [22,40,42]]
MOCK_DL120G7  = ['bld-centos6-hp-%03d' % x for x in range(6,24)] # 5 staging, 17 prod, 17 try
diff -r c3fba09cd5d5 mozilla/release-thunderbird-comm-beta.py
--- a/mozilla/release-thunderbird-comm-beta.py Wed Jun 06 17:01:39 2012 -0400
+++ b/mozilla/release-thunderbird-comm-beta.py Wed Jun 06 15:03:37 2012 -0700
@@ -131,3 +131,5 @@
# Misc configuration
releaseConfig['enable_repo_setup'] = False
releaseConfig['enableAutomaticPushToMirrors'] = True
+
+releaseConfig['skip_tag'] = 1
</pre> and reconfiged.


=== E-mail Metrics ===
=== E-mail Metrics ===
Line 151: Line 190:


=== Tag ===
=== Tag ===
No problems
See above for problems, ended up being run multiple times.


=== Bouncer Submitter ===
=== Bouncer Submitter ===
OK


=== Source ===
=== Source ===
OK


=== Build ===
=== Build ===
==== Thunderbird ====
==== Thunderbird ====
OK
===== Thunderbird repacks =====
===== Thunderbird repacks =====
OK
===== Thunderbird Signing =====
<pre>
VERSION=14.0b1
BUILD=1
TAG=THUNDERBIRD_14_0b1_RELEASE
REPO=releases/comm-beta
PRODUCT=thunderbird
APP_NAME=mail
EMAIL=release@mozilla.com
KEYDIR=d:/2011-keys
RELCONFIG=fake
STAGE_HOST=stage.mozilla.org
STAGE_USERNAME=tbirdbld
SSH_KEY=$HOME/.ssh/tbirdbld_dsa
cd ${HOME}/hg-tools/ # if it exists, otherwise create a fresh clone
hg pull && hg up -r ${TAG}
mkdir -p ~/signing-work/${PRODUCT}-${VERSION}/lib/python
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .
rsync -av ~/hg-tools/lib/python/ ./lib/python/
make tb-all PRODUCT=${PRODUCT} VERSION=${VERSION} \
    BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} \
    KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG} \
    APP_NAME=$APP_NAME TAG=$TAG \
    STAGE_USERNAME=$STAGE_USERNAME \
    STAGE_HOST=$STAGE_HOST SSH_KEY=$SSH_KEY
make postsign PRODUCT=${PRODUCT} VERSION=${VERSION} \
    BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} \
    KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG} \
    APP_NAME=$APP_NAME TAG=$TAG \
    STAGE_USERNAME=$STAGE_USERNAME \
    STAGE_HOST=$STAGE_HOST SSH_KEY=$SSH_KEY
</pre>


=== Updates ===
=== Updates ===
{{bug|757829}}
==== Update verify ====
==== Update verify ====
OK


=== Reset reserved slaves ===
=== Reset reserved slaves ===
[cltbld@buildbot-master34 ~]$ echo "0" > /builds/buildbot/build1/master/reserved_slaves


=== Check permissions / AV scan ===
=== Check permissions / AV scan ===
AV: OK. Permission check: failed (see bugs hit list)


=== Push to internal mirrors ===
=== Push to internal mirrors ===
Line 217: Line 211:
=== Going to Beta ===
=== Going to Beta ===
==== Run backupsnip ====
==== Run backupsnip ====
# tbirdbld@aus3-staging
~/bin/backupsnip Thunderbird-14.0b1-build1


==== Push to beta ====
==== Push to beta ====
# tbirdbld@aus3-staging
~/bin/pushsnip Thunderbird-14.0b1-build1

Revision as of 22:06, 6 June 2012

Notes About Releasing

Please update the Notes Template and the Release:Primer for future releases (bug fixes, changes to automation) as needed

Bugs hit

Build Engineers

kmoir - Tracking bug: bug 758758

Signed-off Revision(s)

Build 1:

L10N changesets

Instructions on how to get them

Tags

Manually tag the automation code, then record the generated tags below. (details)

Build # Branch, Tags Changeset
1 GECKO130_2012XXXXXX_RELBRANCH THUNDERBIRD_14_0b1_BUILD1 THUNDERBIRD_14_0b1_RELEASE X
GECKO130_2012XXXXXX_RELBRANCH THUNDERBIRD_14_0b1_BUILD1 THUNDERBIRD_14_0b1_RELEASE X

Build data

Thunderbird

Build # Type Build ID Build machine Time to build
1 Linux
Linux64
Mac
Windows

Notes

Build 1

Preparing to start Automation

detailed instructions

  • Set clobbers for the appropriate masters. Doing this 24-48 hours in advance should speedup the build.
  • Reserve slaves
[cltbld@buildbot-master34 master]$ echo "10" > /builds/buildbot/build1/master/reserved_slaves
  • For build1 only, create a symlink for your $version (eg 11.0b4, 10.0.2esr, 10.0.2, 3.6.27) (until bug 725839 is resolved)
# tbirdbld@stage
cd /pub/mozilla.org/thunderbird/nightly/
mkdir ../candidates/14.0b1-candidates
ln -s ../candidates/14.0b1-candidates 14.0b1-candidates
  • Update l10n changesets for desktop, mobile
  • Land automation configs (are you or buildduty going to reconfig? great, merge. otherwise double-land only your configs)
  • Tag buildbot-configs, buildbotcustom, & tools with build & release tags. (details)
    • hg tag THUNDERBIRD_14_0b1_{RELEASE,BUILD1}
  • update and reconfigure the master
# this removed all local changes
cd /builds/buildbot/build1
make update && make checkconfig && python buildbot-wrangler.py reconfig `pwd`/master
  • start automation
cd /builds/buildbot/build1
source bin/activate
buildbot sendchange --username=kmoir --master localhost:9001 --branch=releases/comm-beta \
  --comments "THUNDERBIRD 14.0b1 BUILD 1" -p products:thunderbird \
  -p script_repo_revision:THUNDERBIRD_14_0b1_BUILD1 release_build

Manual patch + reconfig

  • After several attempts at this (sans reconfig), we went with the
make update && make checkconfig && python buildbot-wrangler.py reconfig `pwd`/master

that inadvertently blew away local changes.

  • Aki logged into bm34, applied the .diff files
-rw-rw-r-- 1 cltbld cltbld 2291 May 12 20:29 buildbot-configs/disable-depnightly.diff
-rw-rw-r-- 1 cltbld cltbld  465 May 29 08:22 buildbot-configs/only-thunderbird-builds.diff
-rw-rw-r-- 1 cltbld cltbld 1941 Jun  5 09:09 buildbot-configs/tb13-final.diff
-rw-rw-r-- 1 cltbld cltbld  460 Jun  5 09:09 buildbotcustom/tb13-final.diff

in chronological order, via

cd buildbot-configs
patch -p1 < disable-depnightly.diff
# edited to deal with bitrot
patch -p1 < only-thunderbird-builds.diff
patch -p1 < tb13-final.diff # didn't re-apply the already-applied portion
hg diff > ../aki-configs.diff
cd ../buildbotcustom
patch -p1 < tb13-final.diff
cd ..
make checkconfig
make reconfig
  • Aki edited the /builds/buildbot/build1/Makefile to no longer |make update| by renaming the target to |update-will-wipe-local-changes|.
  • We then found an errant :1 at the end of the l10n-changesets (zh-TW), uncaught because we didn't run release-sanity (not in the previous beta's relnotes)
  • Removed, double-landed, re-tagged.
  • Aki tried to reconfig, then had to |make stop| and |make start|
  • Aki manually tagged/branched zh-TW
# cltbld@linux-ix-slave14
cd /builds/slave/rel-comm-beta-thunderbird-tag/zh-TW/
hg pull
hg out
hg update -C -r 74cf6875e7c5
hg branch
hg branch GECKO140_2012060613_RELBRANCH
hg branch
hg tag -r 74cf6875e7c5 -f THUNDERBIRD_14.0b1_BUILD1 THUNDERBIRD_14.0b1_RELEASE
hg out
hg push -e 'ssh -l tbirdbld -i ~cltbld/.ssh/tbirdbld_dsa' --new-branch ssh://hg.mozilla.org/releases/l10n/mozilla-beta/zh-TW
  • Handed off to nthomas to patch bm34, since there were a number of issues.
  • Reduced the local diff to:
[cltbld@buildbot-master34 build1]$ for r in buildbot-configs buildbotcustom tools/; do hg -R $r diff; echo; done
diff -r c3fba09cd5d5 mozilla/builder_master.cfg
--- a/mozilla/builder_master.cfg	Wed Jun 06 17:01:39 2012 -0400
+++ b/mozilla/builder_master.cfg	Wed Jun 06 15:03:37 2012 -0700
@@ -71,6 +71,10 @@
 import passwords
 reload(passwords)
 
+ACTIVE_BRANCHES = []
+ACTIVE_THUNDERBIRD_BRANCHES = []
+ACTIVE_PROJECTS = []
+
 for branch in ACTIVE_BRANCHES:
     branchObjects = generateBranchObjects(BRANCHES[branch], branch,
             getattr(passwords, 'secrets', None))
diff -r c3fba09cd5d5 mozilla/production_config.py
--- a/mozilla/production_config.py	Wed Jun 06 17:01:39 2012 -0400
+++ b/mozilla/production_config.py	Wed Jun 06 15:03:37 2012 -0700
@@ -5,7 +5,8 @@
                  ['linux-ix-slave%02i' % x for x in [1,2,6] + range(12,43)]
 LINUX64_VMS    = ['bld-centos5-64-vmw-%03i' % x for x in range(1, 7)]
 LINUX64_IXS    = ['linux64-ix-slave%02i' % x for x in range(3,22)]
-WIN32_IXS      = ['mw32-ix-slave%02i' % x for x in range(2,16) + [20, 26]]
+#WIN32_IXS      = ['mw32-ix-slave%02i' % x for x in range(2,16) + [20, 26]]
+WIN32_IXS      = ['mw32-ix-slave02', 'mw32-ix-slave05', 'mw32-ix-slave10']
 WIN64_IXS      = ['w64-ix-slave%02i' % x for x in range(6,22) + range(22,25) + range(64,85)]
 WIN64_METRO    = ['w64-ix-slave%02i' % x for x in [22,40,42]]
 MOCK_DL120G7   = ['bld-centos6-hp-%03d' % x for x in range(6,24)] # 5 staging, 17 prod, 17 try
diff -r c3fba09cd5d5 mozilla/release-thunderbird-comm-beta.py
--- a/mozilla/release-thunderbird-comm-beta.py	Wed Jun 06 17:01:39 2012 -0400
+++ b/mozilla/release-thunderbird-comm-beta.py	Wed Jun 06 15:03:37 2012 -0700
@@ -131,3 +131,5 @@
 # Misc configuration
 releaseConfig['enable_repo_setup'] = False
 releaseConfig['enableAutomaticPushToMirrors'] = True
+
+releaseConfig['skip_tag'] = 1

and reconfiged.

E-mail Metrics

Use the address "metrics-alerts < AT > mozilla < PERIOD > org". Note for first-time-releasers: your email will get held for moderator approval - that is expected. If it happens more than once, get help on #metrics.

Thunderbird,thunderbird,thunderbird,14.0b1,14.0

Tag

See above for problems, ended up being run multiple times.

Bouncer Submitter

Source

Build

Thunderbird

Thunderbird repacks

Updates

Update verify

Reset reserved slaves

Check permissions / AV scan

Push to internal mirrors

Final verification

Going to Beta

Run backupsnip

Push to beta