Releases/Firefox 29.0/BuildNotes

From MozillaWiki
Jump to navigation Jump to search

bug 978746 - catlee

Build 1

Issues hit:

  • Automation went smoothly for desktop

Updates for beta channel

# using bld-centos6-hp-016 with screen
mkdir ~/bug978746
cd ~/bug978746
hg clone http://hg.mozilla.org/build/tools
# get a signing token for release certs, 6 hour expiry
export PYTHONPATH=tools/lib/python; export PATH=$PATH:`pwd`
wget -O repack.py https://bugzilla.mozilla.org/attachment.cgi?id=8389037
# Edit repack.py to comment out call to writeSettingsFile in the partial update generation section
# make sure enough disk space is free
python ~/bug978746/tools/buildfarm/maintenance/purge_builds.py -s 55 -n 'rel-*:45d' -n 'tb-rel-*:45d' /builds/slave
# in separate screen windows, generate other platforms
cd ~/bug978746
export PYTHONPATH=tools/lib/python; export PATH=$PATH:`pwd`
time python -u repack.py -f 29.0b9-build1 -t 29.0-build1 -T 29.0b9-build1 -P linux-i686 --no-completes 2>&1 | tee linux.log
# repeat for these:
time python -u repack.py -f 29.0b9-build1 -t 29.0-build1 -T 29.0b9-build1 -P linux-x86_64 --no-env --no-completes 2>&1 | tee linux64.log
time python -u repack.py -f 29.0b9-build1 -t 29.0-build1 -T 29.0b9-build1 -P win32 --no-env --no-completes 2>&1 | tee win32.log
time python -u repack.py -f 29.0b9-build1 -t 29.0-build1 -T 29.0b9-build1 -P mac --no-env --no-completes 2>&1 | tee mac.log
# Generate patcher configs and update verify configs
cd <parent_of_tools_checkout>
export PERL5LIB="tools/lib/perl:$HOME/perl5"  # need Config::General v2.44
wget http://hg.mozilla.org/releases/mozilla-release/raw-file/FIREFOX_29_0_RELEASE/browser/locales/shipped-locales
perl tools/release/patcher-config-bump.pl -p firefox -r Firefox -v 29.0 -a 29.0 -o 29.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 29.0b9 --platform linux --platform linux64 \
  --platform macosx64 --platform win32
# then some manual modifications <29.0> block ——> <29.0-build1>, to -> 29.0-build1, add mar-channel-ids, pretty version

# 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_29_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_29_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_29_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_29_0_RELEASE

# hand edit to make the following changes:
#  - fix "to" variable to point at valid candidates directory
# generate snippets (on bld-centos6-hp-016):
cd /home/cltbld/bug961831/tools
hg pull
hg up -r FIREFOX_29_0_RELEASE_RUNTIME
wget -O- https://bugzilla.mozilla.org/attachment.cgi?id=8410524 | 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