Confirmed users
1,377
edits
(48 intermediate revisions by 3 users not shown) | |||
Line 123: | Line 123: | ||
==== XULRunner Sign ==== | ==== XULRunner Sign ==== | ||
Brought forward from 3.6.9 notes. | |||
<pre> | |||
#!/bin/bash | |||
set -x | |||
set -e | |||
PRODUCT=xulrunner | |||
VERSION=1.9.2.10 | |||
BUILD=1 | |||
TAG=FIREFOX_3_6_10_RELEASE | |||
REPO="releases/mozilla-1.9.2" | |||
EMAIL=bhearsum@mozilla.com | |||
KEYDIR=d:/2009-keys | |||
cd ~/hg-tools | |||
hg pull | |||
hg up -r ${TAG} | |||
mkdir -p ~/signing-work/${PRODUCT}-${VERSION} | |||
cd ~/signing-work/${PRODUCT}-${VERSION} | |||
cp ~/hg-tools/release/signing/* . | |||
make setup PRODUCT=${PRODUCT} VERSION=${VERSION} \ | |||
BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1 | |||
rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \ | |||
--exclude=*.txt --exclude=*-symbols.zip \ | |||
xrbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates/build${BUILD}/ \ | |||
unsigned-build${BUILD} | |||
rsync -av --exclude=unsigned unsigned-build${BUILD}/ \ | |||
signed-build${BUILD}/ | |||
rsync -av unsigned-build${BUILD}/unsigned/ \ | |||
signed-build${BUILD}/ | |||
make checksum-files create-sigs stage verify-sigs \ | |||
PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} \ | |||
REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1 | |||
rmdir signed-build${BUILD}/contrib{,-localized} | |||
rsync -av -e "ssh -i /home/cltsign/.ssh/xrbld_dsa" \ | |||
signed-build${BUILD}/ \ | |||
xrbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates/build${BUILD}/ | |||
</pre> | |||
=== Partner Repacks === | === Partner Repacks === | ||
Line 134: | Line 177: | ||
buildbot sendchange --master production-master.build.mozilla.org:9011 --username sendchange-unittest --branch release-mozilla-1.9.2-macosx-opt-unittest --revision 16b7b02798df "http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/3.6.10-candidates/build1/mac/en-US/Firefox 3.6.10.dmg" "http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/3.6.10-candidates/build1/mac/en-US/Firefox 3.6.10.tests.zip" | buildbot sendchange --master production-master.build.mozilla.org:9011 --username sendchange-unittest --branch release-mozilla-1.9.2-macosx-opt-unittest --revision 16b7b02798df "http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/3.6.10-candidates/build1/mac/en-US/Firefox 3.6.10.dmg" "http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/3.6.10-candidates/build1/mac/en-US/Firefox 3.6.10.tests.zip" | ||
Had to kill the Linux ones the first time because they were delaying update generation. | Had to kill the Linux ones the first time because they were delaying update generation. | ||
==== Results==== | ==== Results==== | ||
* Linux: PASS | |||
* Win32: Conditional PASS | |||
** test_playback.html timed out in mochitests - known intermittent orange {{bug|557432}} | |||
* Mac: Conditional PASS | |||
** browser_library_middleclick.js failed - known orange {{bug|595363}} | |||
** 6 failures in https://bugzilla.mozilla.org/show_bug.cgi?id=534889 -- did not get these diagnosed but LegNeato said he wasn't worried about them based on the changes we took for this release | |||
=== Sign === | === Sign === | ||
Line 173: | Line 222: | ||
make postsign PRODUCT=${PRODUCT} VERSION=${VERSION} \ | make postsign PRODUCT=${PRODUCT} VERSION=${VERSION} \ | ||
BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} | BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} | ||
Got "Signature Verification Succeeded" mail. | |||
===L10N Verify=== | ===L10N Verify=== | ||
Line 180: | Line 231: | ||
===Updates=== | ===Updates=== | ||
==== 3.6* -> 3.6.10 ==== | |||
===== Generation ===== | |||
No problems with automation. | No problems with automation. | ||
Line 200: | Line 254: | ||
and push live | and push live | ||
~/bin/pushsnip 20100914-Firefox-3.6.10-extv-fixed-test | ~/bin/pushsnip 20100914-Firefox-3.6.10-extv-fixed-test | ||
=====Update Verify===== | =====Update Verify===== | ||
All green, nothing hidden in the logs. Ran before modifying the snippets but extv isn't used. | |||
==== 3.0.19 -> 3.6.9 MU ==== | ==== 3.0.19 -> 3.6.9 MU ==== | ||
First, landed [https://bugzilla.mozilla.org/attachment.cgi?id=475520&action=edit patcher configuration update] and [http://hg.mozilla.org/build/tools/rev/4f5bc2fbe7bb update verify config updates].<br/> | |||
===== Generation ===== | ===== Generation ===== | ||
Done on mv-moz2-linux-ix-slave17: | |||
<pre> | |||
mkdir -p /builds/slave/3.0.19-3.6.10-major-update/snippets | |||
cd /builds/slave/3.0.19-3.6.10-major-update/snippets | |||
cvs -d:ext:cltbld@cvs.mozilla.org:/cvsroot co -d patcher-configs mozilla/tools/patcher-configs | |||
cvs -d:ext:cltbld@cvs.mozilla.org:/cvsroot co -r UPDATE_PACKAGING_R9 -d patcher mozilla/tools/patcher | |||
cd patcher | |||
cvs -d:ext:cltbld@cvs.mozilla.org:/cvsroot co -r UPDATE_PACKAGING_R9 -d MozBuild mozilla/tools/release/MozBuild | |||
export CVSROOT=:ext:cltbld@cvs.mozilla.org:/cvsroot | |||
# build tools | |||
./patcher2.pl --build-tools --app=firefox --tools-rev=UPDATE_PACKAGING_R9 --config=../patcher-configs/moz19-branch-major-update-patcher2.cfg 2>&1 | tee ../firefox_build-tools.log | |||
# download mars | |||
./patcher2.pl --download --app=firefox --config=../patcher-configs/moz19-branch-major-update-patcher2.cfg 2>&1 | tee ../firefox_download.log | |||
# FIXME - patcher needs to see that the MARs that it thinks are partials | |||
# are there or else it will not attempt to generate patchinfo | |||
cd temp/firefox | |||
ln -s 3.6.10 3.0.19-3.6.10 | |||
cd ../.. | |||
# Create partial patches and snippets | |||
./patcher2.pl --create-patches --app=firefox --config=../patcher-configs/moz19-branch-major-update-patcher2.cfg 2>&1 | tee ../firefox-create-patches.log | |||
</pre> | |||
===== Quick Verification ===== | ===== Quick Verification ===== | ||
<pre> | |||
cd /builds/slave/3.0.19-3.6.10-major-update/snippets/patcher/temp/firefox/3.0.19-3.6.10/ | |||
# releasetest == beta | |||
find aus2.test -type d -iregex '.*/releasetest$' | perl -nle '$a = $_; $a =~ s/releasetest/beta/; $a =~ s/aus2\.test/aus2.beta/; system("diff -r -u $_ $a");' | |||
find aus2.beta -type d -iregex '.*/beta$' | perl -nle '$a = $_; $a =~ s/beta$/releasetest/; $a =~ s/aus2\.beta/aus2.test/; system("diff -r -u $_ $a");' | |||
# beta == release | |||
find aus2.beta -type d -iregex '.*/beta$' | perl -nle '$a = $_; $a =~ s/aus2\.beta/aus2/; $a =~ s/beta/release/; system("diff -r -u $_ $a");' | |||
find aus2 -type d -iregex '.*/release$' | perl -nle '$a = $_; $a =~ s/release$/beta/; $a =~ s/aus2/aus2.beta/; system("diff -r -u $_ $a");' | |||
</pre> | |||
===== Push to AUS ===== | ===== Push to AUS ===== | ||
<pre> | |||
cd /builds/slave/3.0.19-3.6.10-major-update/snippets/patcher/temp/firefox/3.0.19-3.6.10 | |||
rsync -av aus2.test/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20100915-Firefox-3.0.19-3.6.10-MU-test | |||
rsync -av aus2.beta/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20100915-Firefox-3.0.19-3.6.10-MU-beta | |||
rsync -av aus2/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20100915-Firefox-3.0.19-3.6.10-MU | |||
</pre> | |||
===== Enable test snippets ===== | ===== Enable test snippets ===== | ||
~/bin/backupsnip 20100915-Firefox-3.0.19-3.6.10-MU-test | |||
~/bin/pushsnip 20100915-Firefox-3.0.19-3.6.10-MU-test | |||
===== Verify ===== | ===== Verify ===== | ||
On mv-moz2-linux-ix-slave17, mw32-ix-slave16, bm-xserve17 | |||
<pre> | |||
mkdir -p /builds/slave/verify/firefox-3019-3610-major/ | |||
cd /builds/slave/verify/firefox-3019-3610-major/ | |||
hg clone http://hg.mozilla.org/build/tools | |||
cd tools/release/updates | |||
platform=linux # or mac or win32 | |||
./verify.sh -c moz19-firefox-$platform-major.cfg 2>&1 | tee $platform.log | |||
</pre> | |||
=====Results===== | =====Results===== | ||
Checked the logs carefully and found the same differences documented [[Releases/Firefox_3.0.19/BuildNotes#Results | for 3.0.19 -> 3.6's major update]]. | |||
===Update Bouncer=== | ===Update Bouncer=== | ||
Used "force build" to start bouncer_submitter builder. No issues. | |||
=== EU Ballot Build === | |||
Signed with: https://bugzilla.mozilla.org/show_bug.cgi?id=596597#c1.<br/> | |||
Staged with: | |||
<pre> | |||
# ffxbld@stage | |||
# get copy of signed tarball to /tmp/ | |||
mkdir /tmp/ffxbld | |||
cd /tmp/ffxbld | |||
tar xfv ../euballot-3610-signed.tar | |||
mv win32 win32-EUballot | |||
mv -v win32-EUballot /pub/mozilla.org/firefox/nightly/3.6.10-candidates/build1/ | |||
</pre> | |||
=== Virus Scan === | |||
#ffxbld@stage | |||
cd /pub/mozilla.org/firefox/nightly/3.6.10-candidates/build1 | |||
clamscan -r . | |||
----------- SCAN SUMMARY ----------- | |||
Known viruses: 830883 | |||
Engine version: 0.96.1 | |||
Scanned directories: 661 | |||
Scanned files: 1528 | |||
Infected files: 152 | |||
Data scanned: 11139.62 MB | |||
Data read: 9146.89 MB (ratio 1.22:1) | |||
Time: 3869.757 sec (64 m 29 s) | |||
(arg: 4) | |||
<p>All win32 EXEs were reported to have "Trojan.Generic.Bredolab-2 FOUND", which also happened in 4.0b6 and was determined to be a false positive. Also ran it through VirusTotal, which showed it to be [http://www.virustotal.com/file-scan/report.html?id=7b24ef53a902d041eb0a71015a971b6260a929bdfec5cd4d49f01b04b5899d56-1284569666 100% clean]. Based on those two things, working on the assumption that it's a false positive.</p> | |||
<p>'''update''': after the first scan was done the virus definitions on stage were updated. I rescanned the en-US installer and it reported clean.</p> | |||
=== Final Checks Before Push === | |||
Then do the normal checks | |||
# ffxbld@stage | |||
cd /pub/mozilla.org/firefox/nightly/3.6.10-candidates/build1/ | |||
find . ! -user ffxbld | grep -v 'contrib*' | |||
find . ! -group firefox | grep -v 'contrib*' | |||
find . -type f ! -perm 644 | grep -v 'unsigned*' | |||
find . -mindepth 1 -type d ! -perm 755 ! -name 'contrib*' | grep -v unsigned | |||
find . -maxdepth 1 -type d ! -perm 2775 -name 'contrib*' | |||
No output from any of these checks (no contrib builds yet, no partner builds were generated). | |||
=== Push to mirrors === | |||
After GO from release-drivers. | |||
#ffxbld@stage | |||
rsync -av --exclude=*.log --exclude=*.txt --exclude=*unsigned* --exclude=*.crashreporter-symbols.zip --exclude=*.tests.tar.bz2* --exclude=*partner-repacks* /pub/mozilla.org/firefox/nightly/3.6.10-candidates/build1/ /pub/mozilla.org/firefox/releases/3.6.10/ | |||
#cltbld@stage | |||
vim /pub/mozilla.org/zz/rsyncd-mozilla-current.exclude | |||
# replace 3.6.10 with 3.6.9 | |||
=== Final verification (sanity check releasetest snippets) === | |||
=== Push release/beta channel snippets === | |||
~/bin/backupsnip 20100914-Firefox-3.6.10-extv-fixed | |||
Pushed the release channel snippets to get a head start, under the assumption that most users that could receive them would be throttled: | |||
~/bin/pushsnip 20100914-Firefox-3.6.10-extv-fixed | |||
But Nick pointed out that 3.6.9 isn't throttled, so I turned them off with: | |||
# root@aus2-staging | |||
cd /opt/aus2/incoming | |||
chmod 0 3 | |||
cd 3/Firefox | |||
chmod 0 3.6.9 | |||
In order to check 3.5.x, changed this to only block 3.6.x | |||
# root@aus2-staging | |||
cd /opt/aus2/incoming/3/Firefox | |||
ls | grep '3\.6.*' | xargs chmod 0 | |||
cd ../.. | |||
chmod 775 3 | |||
And later to check releasetest on 3.6.x, and block only release | |||
# root@aus2-staging | |||
cd /opt/aus2/incoming/3/Firefox | |||
find 3.6* -maxdepth 4 -mindepth 4 -type d -name 'release' -print -exec chmod 0 {} \; | |||
ls | grep '3\.6.*' | xargs chmod 775 | |||
Get go from driver, '''re-enable 3.6.x on release''' | |||
# root@aus2-staging | |||
cd /opt/aus2/incoming/3/Firefox | |||
find 3.6* -maxdepth 4 -mindepth 4 -type d -name 'release' -print -exec chmod 775 {} \; | |||
Modify the beta snippets to use bouncer too (saves on QA, load on ftp.m.o) | |||
# cltbld@aus2-staging | |||
cd /opt/aus2/snippets/staging | |||
rsync -a 20100914-Firefox-3.6.10-extv-fixed/ 20100914-Firefox-3.6.10-extv-bouncer-beta/ | |||
cd 20100914-Firefox-3.6.10-extv-bouncer-beta/ | |||
find . -maxdepth 5 -mindepth 5 -type d -exec mv -v {}/release {}/beta \; | |||
~/bin/backupsnip 20100914-Firefox-3.6.10-extv-bouncer-beta | |||
~/bin/pushsnip 20100914-Firefox-3.6.10-extv-bouncer-beta | |||
=== Push throttling changes === | |||
[https://bug596686.bugzilla.mozilla.org/attachment.cgi?id=475571 Patch] landed in cvs, deployment is {{bug|596849}}. | |||
=== Release === | |||
Update symlinks | |||
#ffxbld@stage | |||
cd /home/ftp/pub/firefox/releases | |||
rm latest-3.6 && ln -s 3.6.10 latest-3.6 | |||
Sent the following mail to metrics@mozilla.com: | |||
Firefox,firefox,firefox,3.6.10,3.6 | |||
Firefox,firefox,firefox,3.6.11pre,3.6 | |||
=== Push EU Ballot build === | |||
Added bouncer product and location. Filed {{bug|596859}} to have the browser choice website updated. | |||
=== Push 3.0.19 -> 3.6.10 MU snippets (beta and release) === | |||
As cltbld@aus2-staging: | |||
~/bin/backupsnip 20100915-3.0.19-3.6.10-MU | |||
~/bin/pushsnip 20100915-3.0.19-3.6.10-MU | |||
After QA signed off on the release channel: | |||
~/bin/pushsnip 20100915-3.0.19-3.6.10-MU-beta | |||
=== Push XULRunner to mirrors === | |||
<pre> | |||
# xrbld@stage | |||
rsync -av --exclude=*.txt --exclude=*unsigned* --exclude=*-symbols.zip \ | |||
/pub/mozilla.org/xulrunner/nightly/1.9.2.10-candidates/build1/ \ | |||
/pub/mozilla.org/xulrunner/releases/1.9.2.10/ | |||
</pre> | |||
Edited cltbld@stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude and added | |||
- xulrunner/releases/1.9.2.9 | |||
=== Update XULRunner entries on wiki === | |||
Updated the links in these two wiki pages for the version change: | |||
* [https://developer.mozilla.org/En/XULRunner_1.9.2_Release_Notes Release Notes] | |||
* [https://developer.mozilla.org/En/Gecko_SDK Gecko_SDK] |