Releases/Firefox 15.0b7/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 785224
release engineer: Hwine
buildbot master: builbot-master13

Build 1

  • shipped l10n
  • did clobber for grins
  • reserved slaves:
   [cltbld@buildbot-master13 ~]$ cd /builds/buildbot/build1/master/
   [cltbld@buildbot-master13 master]$ cat reserved_slaves 
   0
   [cltbld@buildbot-master13 master]$ echo 8 > !:$
   echo 8 > reserved_slaves
   [cltbld@buildbot-master13 master]$ cat !:$
   cat reserved_slaves
   8
   [cltbld@buildbot-master13 master]$
  • had enough slaves of the right types
  • reconfig & update via fabric:
   $ ./manage_masters.py -f production-masters.json -H bm13-build1 update reconfig
   [buildbot-master13.build.scl1.mozilla.com] run: source bin/activate && make update
   ...
   [buildbot-master13.build.scl1.mozilla.com] out: (python buildbot-configs/update-master-json.py tools/buildfarm/maintenance/production-m$sters.json master/master_config.json)
   [buildbot-master13.build.scl1.mozilla.com] out: writing new master_config.json file to master/master_config.json
   
   [OK] updated buildbot-master13.build.scl1.mozilla.com:/builds/buildbot/build1
   starting reconfig of buildbot-master13.build.scl1.mozilla.com:/builds/buildbot/build1
   ...
   [buildbot-master13.build.scl1.mozilla.com] out:         exceptions.AttributeError: 'NoneType' object has no attribute 'db'
   
   [OK] finished reconfig of buildbot-master13.build.scl1.mozilla.com:/builds/buildbot/build1
   0 [Hal@Hals-MacBook-Air maintenance (fabric)]
  • release sanity
   [cltbld@buildbot-master13 ~]$ cd /builds/buildbot/build1/master/
   [cltbld@buildbot-master13 master]$ source ../bin/activate
   (build1)[cltbld@buildbot-master13 master]$ PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u hwine -V 15.0b7 --branch mozilla-beta --build-number 1 --release-config release-fennec-mozilla-beta.py --products fennec --dryrun localhost:9001
   2012-08-23 14:51:12,210 : INFO : Branch mozilla-beta is enabled on master for fennec
   ...
   2012-08-23 14:51:25,569 : INFO : command: END (0.23s elapsed)
   
   2012-08-23 14:51:25,570 : INFO : Tests Passed! Did not run reconfig/sendchange. Rerun without `-d`
  • start release
   (build1)[cltbld@buildbot-master13 master]$ PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u hwine -V 15.0b7 --branch mozilla-beta --build-number 1 --release-config release-fennec-mozilla-beta.py --products fennec localhost:9001
   2012-08-23 14:51:43,589 : INFO : Branch mozilla-beta is enabled on master for fennec
   ...
   2012-08-23 14:52:47,709 : INFO : command: buildbot sendchange --username hwine --master localhost:9001 --branch releases/mozilla-beta -p products:fennec -p script_repo_revision:FENNEC_15_0b7_RELEASE release_build
   2012-08-23 14:52:47,709 : INFO : command: cwd: /builds/buildbot/build1/master
   2012-08-23 14:52:47,710 : INFO : command: output:
   change sent successfully
   2012-08-23 14:52:48,127 : INFO : command: END (0.42s elapsed)
  • signed android builds
   [cltsign@signing1 ~]$ cd  ~/signing-work/mozharness
   [cltsign@signing1 mozharness]$ hg pull -u
   pulling from http://hg.mozilla.org/build/mozharness/
   searching for changes
   adding changesets
   adding manifests
   adding file changes
   added 2 changesets with 2 changes to 2 files
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   [cltsign@signing1 mozharness]$ hg up -C
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   [cltsign@signing1 mozharness]$ hg id
   671a964fb796 tip
   [cltsign@signing1 mozharness]$ cd ..
   [cltsign@signing1 signing-work]$ python2.6 mozharness/scripts/sign_android.py --config-file signing/android_mozilla-beta.py --platform android
   ...
   16:52:09     INFO - ##### SignAndroid summary:
   16:52:09     INFO - #####
   16:52:09     INFO - Downloaded 29 of 29 unsigned apks successfully.
   16:52:09     INFO - Signed 29 of 29 apks successfully.
   16:52:09     INFO - Copying logs to upload dir...
   16:52:09     INFO - mkdir: /home/cltsign/signing-work/beta/upload/logs
  • reset reserved slaves
   [cltbld@buildbot-master13 ~]$ cd /builds/buildbot/build1/master/
   [cltbld@buildbot-master13 master]$ cat reserved_slaves 
   8
   [cltbld@buildbot-master13 master]$ echo 0 > reserved_slaves 
   [cltbld@buildbot-master13 master]$ cat reserved_slaves 
   0
   [cltbld@buildbot-master13 master]$
  • push to google play
   $ curl -O http://ftp.mozilla.org/pub/mozilla.org/mobile/candidates/15.0b7-candidates/build1/android/multi/fennec-15.0b7.multi.android-arm.apk
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
   100 18.3M  100 18.3M    0     0  1790k      0  0:00:10  0:00:10 --:--:-- 2008k
   0 [Hal@Hals-MacBook-Air Desktop]
   $ md5 -r fennec-15.0b7.multi.android-arm.apk 
   fe71653c93b850d9ce433f75663081af fennec-15.0b7.multi.android-arm.apk
  • activated versionCode: 2012082315
  • push the files
   [cltbld@buildbot-master13 ~]$ ssh -l ffxbld -i .ssh/ffxbld_dsa stage.mozilla.org
   Last login: Thu Aug 23 16:30:52 2012 from zlb1.dmz.scl3.mozilla.com
   -bash-4.1$ ls
   14.0.1-candidates-partials  push_fennec_esr.sh  push_fennec.sh.bak  SHA512SUMS
   archive_debug_builds.log    push_fennec.sh      push_fennec.sh.old
   -bash-4.1$ mv -i push_fennec.sh push_fennec.sh.old
   mv: overwrite `push_fennec.sh.old'? y
   -bash-4.1$ curl -O http://hg.mozilla.org/build/braindump/raw-file/tip/releases-related/push_fennec.sh
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
   110   776  110   776    0     0   9653      0 --:--:-- --:--:-- --:--:-- 10077
   -bash-4.1$ head push_fennec.sh
   #!/bin/bash
   # VERSION & BUILDNUM are the "version" and "buildNumber" from the
   # release's cofiguration file
   export VERSION=15.0b7
   export BUILDNUM=1
   ...
   sending incremental file list
   ./
   fennec-15.0b7.zh-TW.android-arm.apk
   
   sent 18528278 bytes  received 34 bytes  3368784.00 bytes/sec
   total size is 18525883  speedup is 1.00
   -bash-4.1$ echo $?
   0