Releases/Firefox 32.0/BuildNotes: Difference between revisions
No edit summary |
No edit summary |
||
| Line 71: | Line 71: | ||
cd .. | cd .. | ||
export PYTHONPATH="tools/lib/python:tools/lib/python/vendor" | export PYTHONPATH="tools/lib/python:tools/lib/python/vendor" | ||
python tools/scripts/updates/create-snippets.py --config tools/release/patcher-configs/mozBeta-branch-patcher2.cfg \ | python tools/scripts/updates/create-snippets.py --config tools/release/patcher-configs/mozBeta-branch-patcher2.cfg \ | ||
--checksums-dir checksums --snippet-dir aus2 --test-snippet-dir aus2.test -v 2>&1 | tee snippets.log | --checksums-dir checksums --snippet-dir aus2 --test-snippet-dir aus2.test -v 2>&1 | tee snippets.log | ||
| Line 94: | Line 92: | ||
Announce to r-d. | Announce to r-d. | ||
=== Update verify === | === Update verify === | ||
| Line 113: | Line 110: | ||
wget -O- https://bugzilla.mozilla.org/attachment.cgi?id=8479011 | patch -p1 | wget -O- https://bugzilla.mozilla.org/attachment.cgi?id=8479011 | patch -p1 | ||
cd release/updates | cd release/updates | ||
</pre> | </pre> | ||
On b-linux64-hp-029 see screen 0 for linux32 & screen 1 for linux64; screen on bld-lion-r5-067; vnc on b-2008-ix-0065 | |||
Adjust to right config for each platform (linux64 vs linux vs mac64 vs win32) | Adjust to right config for each platform (linux64 vs linux vs mac64 vs win32) | ||
./verify.sh -c mozBeta-firefox-linux64.cfg 2>&1 | tee log | ./verify.sh -c mozBeta-firefox-linux64.cfg 2>&1 | tee log | ||
<i>STILL TO VERIFY | |||
Results, this diff is expected as we want the updated beta build to keep these settings: | Results, this diff is expected as we want the updated beta build to keep these settings: | ||
<pre> | <pre> | ||
Revision as of 13:46, 26 August 2014
nthomas - bug 1052412
Build 1 / RC 1
Issues Hit
- hg clone issues - mac xulrunner, windows en-US firefox, windows repack 1/10
Updates for beta channel
On bug 1052412 there are three patches to generate the partial from 32.0b9 as part of the automation, which simplifies this work quite a bit.
Generate patcher and update verify config
This was done as soon as we had en-US builds for all platforms. On my laptop ...
cd <parent_of_tools_checkout, updated to tip>
export PERL5LIB="tools/lib/perl:$HOME/perl5/lib/perl5" # need Config::General v2.44
wget http://hg.mozilla.org/releases/mozilla-release/raw-file/FIREFOX_32_0_RELEASE/browser/locales/shipped-locales
perl tools/release/patcher-config-bump.pl -p firefox -r Firefox -v 32.0 -a 32.0 -o 32.0b9 -b 1 \
-c tools/release/patcher-configs/mozBeta-branch-patcher2.cfg -t stage.mozilla.org -f ftp.mozilla.org \
-d download.mozilla.org -l shipped-locales --partial-version 32.0b9 --platform linux --platform linux64 \
--platform macosx64 --platform win32
# then some manual modifications:
# * url in complete uses product firefox-32.0-build1-complete
# * url in <partials><31.0b9> uses firefox-32.0-build1-partial-31.0b9
# * to -> 32.0-build1
# * <32.0> block ——> <32.0-build1>,
# ** add mar-channel-ids "mar-channel-ids firefox-mozilla-beta,firefox-mozilla-release" (technically only needed for 33.0b1)
# ** pretty version -> 32.0 RC 1
# generate update verify configs
python tools/scripts/updates/create-update-verify-configs.py -c tools/release/patcher-configs/mozBeta-branch-patcher2.cfg --platform linux64 --output tools/release/updates/mozBeta-firefox-linux64.cfg --release-config-file mozilla/release-firefox-mozilla-release.py -b https://hg.mozilla.org/build/buildbot-configs --channel releasetest -t FIREFOX_32_0_RELEASE
python tools/scripts/updates/create-update-verify-configs.py -c tools/release/patcher-configs/mozBeta-branch-patcher2.cfg --platform linux --output tools/release/updates/mozBeta-firefox-linux.cfg --release-config-file mozilla/release-firefox-mozilla-release.py -b https://hg.mozilla.org/build/buildbot-configs --channel releasetest -t FIREFOX_32_0_RELEASE
python tools/scripts/updates/create-update-verify-configs.py -c tools/release/patcher-configs/mozBeta-branch-patcher2.cfg --platform macosx64 --output tools/release/updates/mozBeta-firefox-mac64.cfg --release-config-file mozilla/release-firefox-mozilla-release.py -b https://hg.mozilla.org/build/buildbot-configs --channel releasetest -t FIREFOX_32_0_RELEASE
python tools/scripts/updates/create-update-verify-configs.py -c tools/release/patcher-configs/mozBeta-branch-patcher2.cfg --platform win32 --output tools/release/updates/mozBeta-firefox-win32.cfg --release-config-file mozilla/release-firefox-mozilla-release.py -b https://hg.mozilla.org/build/buildbot-configs --channel releasetest -t FIREFOX_32_0_RELEASE
# fix the to="/path" definitions
for f in tools/release/updates/mozBeta-firefox-{linux64,linux,mac64,win32}.cfg; do
sed -i '' -e 's,32.0-build1,32.0,g' $f
done
hg -R tools diff > patch
# attach this to bug 1052412 --> attachment 8479011
Setup up bouncer
Was done immediately after configs were generated above, no need to wait.
# add Products: Firefox-32.0-Partial-32.0b9, Firefox-32.0-build1-Complete # add Locations: Product OS Path Firefox-32.0-build1-Partial-32.0b9 win /firefox/candidates/32.0-candidates/build1/update/win32/:lang/firefox-32.0b9-32.0.partial.mar Firefox-32.0-build1-Partial-32.0b9 linux /firefox/candidates/32.0-candidates/build1/update/linux-i686/:lang/firefox-32.0b9-32.0.partial.mar Firefox-32.0-build1-Partial-32.0b9 linux64 /firefox/candidates/32.0-candidates/build1/update/linux-x86_64/:lang/firefox-32.0b9-32.0.partial.mar Firefox-32.0-build1-Partial-32.0b9 osx /firefox/candidates/32.0-candidates/build1/update/mac/:lang/firefox-32.0b9-32.0.partial.mar Firefox-32.0-build1-Complete win /firefox/candidates/32.0-candidates/build1/update/win32/:lang/firefox-32.0.complete.mar Firefox-32.0-build1-Complete linux /firefox/candidates/32.0-candidates/build1/update/linux-i686/:lang/firefox-32.0.complete.mar Firefox-32.0-build1-Complete linux64 /firefox/candidates/32.0-candidates/build1/update/linux-x86_64/:lang/firefox-32.0.complete.mar Firefox-32.0-build1-Complete osx /firefox/candidates/32.0-candidates/build1/update/mac/:lang/firefox-32.0.complete.mar
Generate snippets
Can be done once all platforms have completed l10n.
# generate snippets, on b-linux64-hp-0029 in screen mkdir ~/bug1015968/ cd ~/bug1015968/ hg clone http://hg.mozilla.org/build/tools cd tools wget -O- https://bugzilla.mozilla.org/attachment.cgi?id=8479011 | patch -p1 cd .. export PYTHONPATH="tools/lib/python:tools/lib/python/vendor" python tools/scripts/updates/create-snippets.py --config tools/release/patcher-configs/mozBeta-branch-patcher2.cfg \ --checksums-dir checksums --snippet-dir aus2 --test-snippet-dir aus2.test -v 2>&1 | tee snippets.log # ditch the betatest snippets, we're going to use releasetest only before pushing to beta rm -rf aus2.test/Firefox/*/WIN*/*/*/betatest rm -rf aus2.test/Firefox/*/Lin*/*/*/betatest rm -rf aus2.test/Firefox/*/Dar*/*/*/betatest # Sync to aus3-staging rsync -av -e 'ssh -i /home/cltbld/.ssh/ffxbld_dsa' aus2.test/ \ ffxbld@aus3-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-32.0-build1-forbeta-test/ rsync -av -e 'ssh -i /home/cltbld/.ssh/ffxbld_dsa' aus2/ \ ffxbld@aus3-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-32.0-build1-forbeta/
Push test snippets
# ffxbld@aus3-staging pushsnip Firefox-32.0-build1-forbeta-test
Announce to r-d.
Update verify
Can be done once snippet generation above is complete.
Running b-linux64-hp-0029, b-2008-ix-0065, and bld-lion-r5-067
# linux32 setup; others don't need anything sh -c 'rm -f /builds/mock_mozilla/mozilla-centos6-x86_64/buildroot.lock; mock_mozilla -r mozilla-centos6-x86_64 --orphanskill' mock_mozilla -r mozilla-centos6-x86_64 --init mock_mozilla -r mozilla-centos6-x86_64 --install autoconf213 python zip mozilla-python27-mercurial git ccache glibc-static.i686 libstdc++-static.i686 perl-Test-Simple perl-Config-General gtk2-devel.i686 libnotify-devel.i686 yasm alsa-lib-devel.i686 libcurl-devel.i686 wireless-tools-devel.i686 libX11-devel.i686 libXt-devel.i686 mesa-libGL-devel.i686 gnome-vfs2-devel.i686 GConf2-devel.i686 wget mpfr xorg-x11-font* imake gcc45_0moz3 gcc454_0moz1 gcc472_0moz1 gcc473_0moz1 yasm ccache valgrind pulseaudio-libs-devel.i686 gstreamer-devel.i686 gstreamer-plugins-base-devel.i686 glibc-devel.i686 libgcc.i686 libstdc++-devel.i686 ORBit2-devel.i686 atk-devel.i686 cairo-devel.i686 check-devel.i686 dbus-devel.i686 dbus-glib-devel.i686 fontconfig-devel.i686 glib2-devel.i686 hal-devel.i686 libICE-devel.i686 libIDL-devel.i686 libSM-devel.i686 libXau-devel.i686 libXcomposite-devel.i686 libXcursor-devel.i686 libXdamage-devel.i686 libXdmcp-devel.i686 libXext-devel.i686 libXfixes-devel.i686 libXft-devel.i686 libXi-devel.i686 libXinerama-devel.i686 libXrandr-devel.i686 libXrender-devel.i686 libXxf86vm-devel.i686 libdrm-devel.i686 libidn-devel.i686 libpng-devel.i686 libxcb-devel.i686 libxml2-devel.i686 pango-devel.i686 perl-devel.i686 pixman-devel.i686 zlib-devel.i686 freetype-2.3.11-6.el6_1.8.i686 freetype-devel-2.3.11-6.el6_1.8.i686 freetype-2.3.11-6.el6_1.8.x86_64 mock_mozilla -r mozilla-centos6-x86_64 --cwd /builds/slave --unpriv --shell 'PATH="/tools/buildbot/bin:/usr/local/bin:/usr/lib/ccache:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/tools/git/bin:/tools/python27/bin:/tools/python27-mercurial/bin:/home/cltbld/bin" bash' # end linux32 setup mkdir bug1052412 ; cd $_ hg clone http://hg.mozilla.org/build/tools cd tools wget -O- https://bugzilla.mozilla.org/attachment.cgi?id=8479011 | patch -p1 cd release/updates
On b-linux64-hp-029 see screen 0 for linux32 & screen 1 for linux64; screen on bld-lion-r5-067; vnc on b-2008-ix-0065 Adjust to right config for each platform (linux64 vs linux vs mac64 vs win32)
./verify.sh -c mozBeta-firefox-linux64.cfg 2>&1 | tee log
STILL TO VERIFY Results, this diff is expected as we want the updated beta build to keep these settings:
succeeded
calling QuitProgressUI
diff -r source/firefox/defaults/pref/channel-prefs.js target/firefox/defaults/pref/channel-prefs.js
1c1
< //@line 2 "/builds/slave/rel-m-beta-l64_bld-00000000000/build/browser/app/profile/channel-prefs.js"
---
> //@line 2 "/builds/slave/rel-m-rel-l64_bld-000000000000/build/browser/app/profile/channel-prefs.js"
6c6
< pref("app.update.channel", "beta");
---
> pref("app.update.channel", "release");
diff -r source/firefox/update-settings.ini target/firefox/update-settings.ini
5c5
< ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-beta,firefox-mozilla-release
---
> ACCEPTED_MAR_CHANNEL_IDS=firefox-mozilla-release
Push live
After QA and RelMan go, NOT DONE YET
# ffxbld@aus3-staging pushsnip Firefox-32.0-build1-forbeta