Releases/Firefox 15.0b7/BuildNotes: Difference between revisions
< Releases
(release going) |
(done & done) |
||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
* [[Release:Release_Automation_on_Mercurial:Starting_a_Release#Locking_slaves | Check to make sure you have all of the different types of slaves that you need]] {{DesktopTag}} {{MobileTag}} {{AllTag}} | * [[Release:Release_Automation_on_Mercurial:Starting_a_Release#Locking_slaves | Check to make sure you have all of the different types of slaves that you need]] {{DesktopTag}} {{MobileTag}} {{AllTag}} | ||
* [[Release:Release_Automation_on_Mercurial:Preparation#Starting_the_automation | Start the automation]] {{DesktopTag}} {{MobileTag}} {{AllTag}} | * [[Release:Release_Automation_on_Mercurial:Preparation#Starting_the_automation | Start the automation]] {{DesktopTag}} {{MobileTag}} {{AllTag}} | ||
* [https://intranet.mozilla.org/RelEngWiki/index.php/Signing#Android_Signing Sign Android builds] {{MobileTag}} {{ReleaseTag}} {{BetaTag}} | |||
* [[Release:Release_Automation_on_Mercurial:Build#Reset_reserved_slaves | Reset reserved_slaves and unlock slaves]] {{DesktopTag}} {{MobileTag}} {{AllTag}} | |||
* [[Release:Release_Automation_on_Mercurial:Updates#Publish_Fennec | Publish Fennec]] {{MobileTag}} {{ReleaseTag}} {{BetaTag}} | |||
</strike> | </strike> | ||
</small> | </small> | ||
<strong> | <strong> | ||
</strong> | </strong> | ||
= Notes = | = Notes = | ||
Line 66: | Line 66: | ||
change sent successfully | change sent successfully | ||
2012-08-23 14:52:48,127 : INFO : command: END (0.42s elapsed) | 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 |
Latest revision as of 21:12, 24 August 2012
Be sure to take notes on manual steps and any problems you encounter.
Checklist
Ship the l10n milestone DESKTOP MOBILE RELEASE BETASet reserved_slaves DESKTOP MOBILE RELEASE BETA ESR- Check to make sure you have all of the different types of slaves that you need DESKTOP MOBILE RELEASE BETA ESR
- Start the automation DESKTOP MOBILE RELEASE BETA ESR
- Sign Android builds MOBILE RELEASE BETA
- Reset reserved_slaves and unlock slaves DESKTOP MOBILE RELEASE BETA ESR
- Publish Fennec MOBILE RELEASE BETA
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