Confirmed users
4,293
edits
m (→Quick verify) |
|||
(12 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
= Bugs = | = Bugs = | ||
{{bug|464351}} - tracking bug<br /> | {{bug|464351}} - tracking bug<br /> | ||
{{bug|461914}} - null partner updates | |||
= Generate Major Update Snippets = | = Generate Major Update Snippets = | ||
Line 48: | Line 48: | ||
# test the opposite direction to catch anything that only exists for releasetest | # test the opposite direction to catch anything that only exists for releasetest | ||
find aus2.test -type d -iregex '.*releasetest.*' | perl -nle '$a = $_; $a =~ s/releasetest/betatest/; system("diff -r -u $_ $a");' | find aus2.test -type d -iregex '.*releasetest.*' | perl -nle '$a = $_; $a =~ s/releasetest/betatest/; system("diff -r -u $_ $a");' | ||
# betatest == beta | # betatest == beta | ||
find aus2.test -type d -iregex '.*betatest.*' | perl -nle '$a = $_; $a =~ s/betatest/beta/; $a =~ s/aus2\.test/aus2.beta/; system("diff -r -u $_ $a");' | find aus2.test -type d -iregex '.*betatest.*' | perl -nle '$a = $_; $a =~ s/betatest/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$/betatest/; $a =~ s/aus2\.beta/aus2.test/; system("diff -r -u $_ $a");' # betatest == release | find aus2.beta -type d -iregex '.*/beta$' | perl -nle '$a = $_; $a =~ s/beta$/betatest/; $a =~ s/aus2\.beta/aus2.test/; system("diff -r -u $_ $a");' | ||
# betatest == release | |||
find aus2.test -type d -iregex '.*betatest.*' | perl -nle '$a = $_; $a =~ s/betatest/release/; $a =~ s/aus2\.test/aus2/; system("diff -r -u $_ $a");' | find aus2.test -type d -iregex '.*betatest.*' | perl -nle '$a = $_; $a =~ s/betatest/release/; $a =~ s/aus2\.test/aus2/; system("diff -r -u $_ $a");' | ||
find aus2 -type d -iregex '.*/release$' | perl -nle '$a = $_; $a =~ s/release$/betatest/; $a =~ s/aus2/aus2.test/; system("diff -r -u $_ $a");' | find aus2 -type d -iregex '.*/release$' | perl -nle '$a = $_; $a =~ s/release$/betatest/; $a =~ s/aus2/aus2.test/; system("diff -r -u $_ $a");' | ||
Line 85: | Line 88: | ||
./verify.sh -c moz18-firefox-$platform-major.cfg 2>&1 | tee $platform.log | ./verify.sh -c moz18-firefox-$platform-major.cfg 2>&1 | tee $platform.log | ||
= Generate Null Partner Snippets = | |||
== Enable beta snippets | == Create snippets == | ||
Starting from [https://bugzilla.mozilla.org/attachment.cgi?id=349718 attachment 349718], we create empty snippets to block partner builds from updating. | |||
# ssh cltbld@prometheus-vm.build.mozilla.org | |||
cd /builds/2.0.0.18-major-update/snippets/patcher/ | |||
# get a copy of https://bugzilla.mozilla.org/attachment.cgi?id=349718 ... | |||
# and save as partner-update-channels | |||
# checkout out null_partners.sh and update it | |||
cd temp/firefox/2.0.0.18-3.0.4 | |||
bash ../../../one-offs/null_partners.sh ../../../partner-update-channels | |||
NB: just going to do the release-* snippets this time, since there are no users on releastest, beta, betatest. Now check there are no vanilla snippets in there [no extended regexp in find :-(] | |||
find aus2.null -regex '.*/release/.*' | |||
find aus2.null -regex '.*/releasetest/.*' | |||
find aus2.null -regex '.*/beta/.*' | |||
find aus2.null -regex '.*/betatest/.*' | |||
== Push to AUS server == | |||
rsync -e 'ssh -i /home/cltbld/.ssh/aus' -av aus2.null/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20081124-Firefox-2.0.0.18-3.0.4-MU-partner-null | |||
== Push live == | |||
13780 files in all | |||
# cltbld@aus2-staging | |||
~/bin/backupsnip 20081124-Firefox-2.0.0.18-3.0.4-MU-partner-null | |||
~/bin/pushsnip 20081124-Firefox-2.0.0.18-3.0.4-MU-partner-null | |||
== Verify nulls == | |||
Create a list of URLs to test | |||
cd /builds/2.0.0.18-major-update/snippets/one-offs | |||
cp create_aus_urls.sh create_aus_urls-win32.sh | |||
nano aus_urls-win32.sh | |||
and change the version, BuildID, leave only win32 in the platform list. Also set it to read in from partner-update-channels, and write to platform specific file. Repeat for linux, mac. | |||
We create a null.xml for comparison | |||
wget -O null.xml https://aus2.mozilla.org/update/1/Firefox/2.0.0.18/2008102918/WINNT_x86-msvc/af/release-cck-acer-google/update.xml | |||
Generate platform-specific locale lists | |||
ls temp/firefox/2.0.0.18-3.0.4/aus2/Firefox/2.0.0.18/WINNT_x86-msvc/2008102918/ > locales-win32.txt | |||
one-offs/create_aus_urls-win32.sh | |||
ls temp/firefox/2.0.0.18-3.0.4/aus2/Firefox/2.0.0.18/Darwin_Universal-gcc3/2008102919/ > locales-mac.txt | |||
ls temp/firefox/2.0.0.18-3.0.4/aus2/Firefox/2.0.0.18/Linux_x86-gcc3/2008102919/ > locales-linux.txt | |||
Run tests for win32 | |||
one-offs/test_null_updates.sh urls-win32.txt 2>&1 | tee test-nulls-win32.txt | |||
grep -v '^PASS' test-nulls-win32.txt | |||
FAIL https://aus2.mozilla.org/update/1/Firefox/2.0.0.18/2008102918/WINNT_x86-msvc/de/release-cck-tonline/update.xml | |||
Which is expected, because we already enabled MU for T-Online and it's only the de locale. Same again for each other platform. | |||
Uploaded files used/created to {{bug|461914}}. | |||
= Enable beta snippets = | |||
Safe to do this without doing null snippets because there are no end-users of partner builds on beta channel (kev and metrics website confirmed). | Safe to do this without doing null snippets because there are no end-users of partner builds on beta channel (kev and metrics website confirmed). | ||
~/bin/backupsnip 20081117-Firefox-2.0.0.18-3.0.4-MU-beta | cd /opt/aus2/snippets/staging | ||
~/bin/pushsnip 20081117-Firefox-2.0.0.18-3.0.4-MU-beta | time ~/bin/backupsnip 20081117-Firefox-2.0.0.18-3.0.4-MU-beta | ||
real 27m28.805s | |||
user 0m28.542s | |||
sys 0m30.046s | |||
time ~/bin/pushsnip 20081117-Firefox-2.0.0.18-3.0.4-MU-beta | |||
real 0m7.887s | |||
user 0m0.006s | |||
sys 0m0.401s | |||
= Enable release snippets = | |||
* '''In case you need to cancel/abort updates, the quickest way to do this is [https://intranet.mozilla.org/Build:Updates here]''' | |||
* Ahead of time | |||
# cltbld@aus2-staging | |||
time ~/bin/backupsnip 20081117-Firefox-2.0.0.18-3.0.4-MU | |||
real 32m35.668s | |||
user 0m31.077s | |||
sys 0m56.322s | |||
* Actual release | |||
# cltbld@aus2-staging | |||
time ~/bin/pushsnip 20081117-Firefox-2.0.0.18-3.0.4-MU | |||
real 0m5.623s | |||
user 0m0.008s | |||
sys 0m0.418s | |||
= Remove nulls = | |||
Once Fx 2.0.0.19 ships, we should remove the nulls for partners that have not had a major update yet. Will do this in {{bug|461914}}. |