Releases/Firefox 17.0esr/BuildNotes

From MozillaWiki
Jump to: navigation, search

Build 1

Checklist

Notes

Release was started using release-runner (bhearsum/rail), but the l10n-changesets were still handled manually by pointing the url to the release changesets commited to hg.

Build 1

No issues

Build 2

Initiated due to bug 812989.

Generate en-US MAR files

See bug 813757 - Firefox and Thunderbird 17.0esr builds don't have en-US MAR file for the details

  • linux: linux-ix-slave31
cd  /builds/slave/rel-m-esr17-lnx-bld/build
IP=`/sbin/ifconfig eth0 | grep "inet " | awk '{print $2}' | awk -F: '{print $2}'`
ssh -oBatchMode=no cltbld@buildbot-master12.build.mozilla.org \
  "curl --fail -k -Fslave_ip=$IP -Fduration=14400 --user user:pass \
  https://signing1.build.scl1.mozilla.com:9120/token" \
  > token
export MOZ_OBJDIR=obj-firefox
export  MOZ_PKG_PRETTYNAMES=1
export  MOZ_PKG_VERSION=17.0esr
export  MOZ_SIGN_CMD="/tools/python-2.6.5/bin/python /builds/slave/rel-m-esr17-lnx-bld/tools/release/signing/signtool.py --cachedir /builds/slave/rel-m-esr17-lnx-bld/signing_cache -t /builds/slave/rel-m-esr17-lnx-bld/build/token -n /builds/slave/rel-m-esr17-lnx-bld/build/nonce -c /builds/slave/rel-m-esr17-lnx-bld/tools/release/signing/host.cert -H signing1.build.scl1.mozilla.com:9120 -H signing1.build.scl1.mozilla.com:9120"
export  MOZ_UPDATE_CHANNEL=esr
make -C obj-firefox/tools/update-packaging
$MOZ_SIGN_CMD -f mar -f gpg obj-firefox/dist/update/linux-i686/en-US/firefox-17.0esr.complete.mar
  • linux64-ix-slave14
cd  /builds/slave/rel-m-esr17-lnx64-bld/build
IP=`/sbin/ifconfig eth0 | grep "inet " | awk '{print $2}' | awk -F: '{print $2}'`
ssh -oBatchMode=no cltbld@buildbot-master12.build.mozilla.org \
  "curl --fail -k -Fslave_ip=$IP -Fduration=14400 --user user:pass \
  https://signing1.build.scl1.mozilla.com:9120/token" \
  > token
export MOZ_OBJDIR=obj-firefox
export  MOZ_PKG_PRETTYNAMES=1
export  MOZ_PKG_VERSION=17.0esr
export  MOZ_SIGN_CMD="/tools/python-2.6.5/bin/python /builds/slave/rel-m-esr17-lnx64-bld/tools/release/signing/signtool.py --cachedir /builds/slave/rel-m-esr17-lnx64-bld/signing_cache -t /builds/slave/rel-m-esr17-lnx64-bld/build/token -n /builds/slave/rel-m-esr17-lnx64-bld/build/nonce -c /builds/slave/rel-m-esr17-lnx64-bld/tools/release/signing/host.cert -H signing1.build.scl1.mozilla.com:9120 -H signing1.build.scl1.mozilla.com:9120"
export  MOZ_UPDATE_CHANNEL=esr
make -C obj-firefox/tools/update-packaging
$MOZ_SIGN_CMD -f mar -f gpg obj-firefox/dist/update/linux-x86_64/en-US/firefox-17.0esr.complete.mar
  • bld-lion-r5-062
cd /builds/slave/rel-m-esr17-osx64-bld/build
IP=`/sbin/ifconfig en0 | grep "inet " | awk '{print $2}'`
ssh -oBatchMode=no cltbld@buildbot-master12.build.mozilla.org   "curl --fail -k -Fslave_ip=$IP -Fduration=14400 --user rail:pass \
  https://mac-signing3.build.scl1.mozilla.com:9120/token"   > token
export  MOZ_OBJDIR=obj-firefox
export  MOZ_PKG_PRETTYNAMES=1
export  MOZ_PKG_VERSION=17.0esr
export  MOZ_SIGN_CMD="python /builds/slave/rel-m-esr17-osx64-bld/tools/release/signing/signtool.py --cachedir /builds/slave/rel-m-esr17-osx64-bld/signing_cache -t /builds/slave/rel-m-esr17-osx64-bld/build/token -n /builds/slave/rel-m-esr17-osx64-bld/build/nonce -c /builds/slave/rel-m-esr17-osx64-bld/tools/release/signing/host.cert -H mac-signing1.srv.releng.scl3.mozilla.com:9120 -H mac-signing3.build.scl1.mozilla.com:9120"
export  MOZ_UPDATE_CHANNEL=esr
make -C obj-firefox/i386/tools/update-packaging
$MOZ_SIGN_CMD -f mar -f gpg obj-firefox/i386/dist/update/mac/en-US/firefox-17.0esr.complete.mar
  • w64-ix-slave108
cd /e/builds/moz2_slave/rel-m-esr17-w32-bld/build
ssh -oBatchMode=no cltbld@buildbot-master12.build.mozilla.org \
  "curl --fail -k -Fslave_ip=10.12.40.140 -Fduration=14400 --user user:pass \
  https://signing1.build.scl1.mozilla.com:9120/token" \
  > token
export  MOZ_OBJDIR=obj-firefox
export  MOZ_PKG_PRETTYNAMES=1
export  MOZ_PKG_VERSION=17.0esr
export  MOZ_SIGN_CMD="python e:/builds/moz2_slave/rel-m-esr17-w32-bld/tools/release/signing/signtool.py --cachedir e:/builds/moz2_slave/rel-m-esr17-w32-bld/signing_cache -t e:/builds/moz2_slave/rel-m-esr17-w32-bld/build/token -n e:/builds/moz2_slave/rel-m-esr17-w32-bld/build/nonce -c e:/builds/moz2_slave/rel-m-esr17-w32-bld/tools/release/signing/host.cert -H signing1.build.scl1.mozilla.com:9120"
export  MOZ_UPDATE_CHANNEL=esr
make -C obj-firefox/tools/update-packaging
$MOZ_SIGN_CMD -f mar -f gpg obj-firefox/dist/update/win32/en-US/firefox-17.0esr.complete.mar

Generate checksums

  • Copied all files to linux64-ix-slave14 to generate update checksums and sign them
for p in linux-i686 linux-x86_64 mac win32; do
  mkdir -p $p/en-US/
  wget -O $p/en-US/firefox-17.0esr.checksums.old \
    http://ftp.mozilla.org/pub/mozilla.org/firefox/candidates/17.0esr-candidates/build2/$p/en-US/firefox-17.0esr.checksums
  python /home/rail/work/mozilla/repos/mozilla-central/build/checksums.py \
    -d sha512 -d md5 -d sha1 \
    -o $p/en-US/firefox-17.0esr.checksums.new \
    update/$p/en-US/firefox-17.0esr.complete.mar*
    rm -f $p/en-US/firefox-17.0esr.checksums
    cat $p/en-US/firefox-17.0esr.checksums.{old,new} > \
     $p/en-US/firefox-17.0esr.checksums
    rm -f $p/en-US/firefox-17.0esr.checksums.{old,new}
done

IP=`/sbin/ifconfig eth0 | grep "inet " | awk '{print $2}' | awk -F: '{print $2}'`
ssh -oBatchMode=no cltbld@buildbot-master12.build.mozilla.org \
  "curl --fail -k -Fslave_ip=$IP -Fduration=14400 --user user:pass \
  https://signing1.build.scl1.mozilla.com:9120/token" \
  > token
/tools/python-2.6.5/bin/python /builds/slave/rel-m-esr17-lnx64-bld/tools/release/signing/signtool.py -t ~/token -n ~/nonce -c /builds/slave/rel-m-esr17-lnx64-bld/tools/release/signing/host.cert -H signing1.build.scl1.mozilla.com:9120 -H signing1.build.scl1.mozilla.com:9120 -f gpg `find . -type f -name '*17.0esr.checksums'`
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
  • on stage.m.o
  1. have to put the files in a readable place

extract_and_run_command.py -j2 clamdscan -m --no-summary -- /tmp/esr cd /pub/mozilla.org/firefox/candidates/17.0esr-candidates/build2 rsync -avn /tmp/esr/firefox/ ./

  1. compare checksums files, make sure that they only add new lines

rsync -av /tmp/esr/firefox/ ./

* Run generate checksums builder to update CHECKSUMS files
* compare CHECKSUMS files with ones in releases directory
* Run check permisssions
* rsync to /releases/ (-n first) (added --exclude=contrib*)
 rsync -avn --exclude=*tests* --exclude=*crashreporter* --exclude=*.log --exclude=*.txt \
   --exclude=*unsigned* --exclude=*update-backup* --exclude=*partner-repacks* \
   --exclude=*.checksums --exclude=*.checksums.asc --exclude=logs --exclude=jsshell* \
   --exclude=*.zip --exclude=*.zip.asc --exclude=contrib* \
   /pub/mozilla.org/firefox/nightly/17.0esr-candidates/build2/ /pub/mozilla.org/firefox/releases/17.0esr/

Bugs hit

  • bug 813072 - Push to mirrors doesn't happen with disabled updates
  • bug 812989 - ACCEPTED_MAR_CHANNEL_IDS and MAR_CHANNEL_ID not updated for Firefox in mozilla-esr17