Releases/Firefox 6.0b1/BuildNotes

From MozillaWiki
Jump to: navigation, search

Notes About Releasing

Please update the Release:Primer for future releases (bug fixes, changes to automation) as needed

Bugs hit

Also check the "known issues" page.

  • (simple)json wasn't available on keymaster which broke autosign; I installed it.
  • windows repack 5/6 timed out running clobber build
  • xulrunner failed on win32 bug 661910, and macosx64 bug 667012
  • update verify failed because patcher configs didn't have partials in the partial block, so no partials were generated
  • release_sanity failed because buildbot wasn't in the PATH. it should check this first.

Build Engineers

catlee - bug 669306

Signed-off Revision(s)

Build 1: d3a2732c35f1

L10N changesets

Used https://l10n-stage-sj.mozilla.org/shipping/l10n-changesets?ms=fx6_beta_b1

Tags

Build # Tag Changeset
1 GECKO60_2011070520_RELBRANCH 0d82a53ffaa6
FIREFOX_6_0b1_BUILD1 FIREFOX_6_0b1_RELEASE 0d82a53ffaa6

Build data

Build # Type Build ID Build machine Time to build
1 Linux 20110705195857 mv-moz2-linux-ix-slave02 2 hrs, 17 mins, 49 secs
Linux64 moz2-linux64-slave02 2 hrs, 42 mins, 23 secs
Mac moz2-darwin10-slave43 4 hrs, 22 mins, 32 secs
Windows mw32-ix-slave13 2 hrs, 56 mins, 34 secs

Notes

Build 1

  • Marked "Any master", "mozilla-beta", "Any builder" for a clobber
  • Set reserved_slaves_bm08-build1 to 5
  • Hit "ship it" button on "Firefox 6 Beta Build 1" (https://l10n-stage-sj.mozilla.org/shipping/confirm-ship?ms=fx6_beta_b1)
  • Landed configs, merged configs to production
  • Tagged buildbot-configs, buildbotcustom, and tools with FIREFOX_6_0b1_RELEASE and FIREFOX_6_0b1_BUILD1
  • Update bm08-build1 checkouts
  • Ran release_sanity dry run with
cd /builds/buildbot/build1/master
PYTHONPATH=. ../bin/python ../tools/buildbot-helpers/release_sanity.py -u catlee -V 6.0b1 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py --dryrun localhost:9001
...
2011-07-05 19:30:50,345 : INFO : Tests Passed! Did not run reconfig/sendchange. Rerun without `-d`
  • Ran release_sanity for real
source ../bin/activate
PYTHONPATH=. python ../tools/buildbot-helpers/release_sanity.py -u catlee -V 6.0b1 --branch mozilla-beta --build-number 1 -c release-firefox-mozilla-beta.py --dryrun localhost:9001

Tag

No problems

Bouncer Submitter

No problems

Source

No problems

Start autosign

Once mozilla-beta was tagged, on keymaster, started signcodepwd.exe, opened a cygwin terminal and ran the following:

PRODUCT=firefox
VERSION=6.0b1
BUILD=1
TAG=FIREFOX_6_0b1_RELEASE
REPO='releases/mozilla-beta'
EMAIL=release@mozilla.com
KEYDIR=d:/2010-keys
RELCONFIG=mozilla/release-firefox-mozilla-beta.py

cd ${HOME}/hg-tools/
hg pull && hg up -r ${TAG}

mkdir -p ~/signing-work/${PRODUCT}-${VERSION}/lib/python
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .
rsync -av ~/hg-tools/lib/python/ ./lib/python/
make autosign PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG}

Failed with

Traceback (most recent call last):
  File "download_builds.py", line 11, in <module>
    from release.platforms import getPlatformLocales
  File "/home/cltsign/signing-work/firefox-6.0b1/lib/python/release/platforms.py", line 7, in <module>
    import json
ImportError: No module named json

As Administrator:

wget http://pypi.python.org/packages/source/s/simplejson/simplejson-2.1.6.tar.gz#md5=2f8351f6e6fe7ef25744805dfa56c0d5
tar zxf simplejson-2.1.6.tar.gz
cd simplejson-2.1.6
python setup.py install
# automatically installed setuptools

Then re-start autosigning:

make autosign PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} EMAIL=${EMAIL} KEYDIR=${KEYDIR} RELCONFIG=${RELCONFIG}

Build / Repack

  • Win32 repack 5/6 failed with a timeout running clobberer. rebuilt via web interface, and it completed successfully

Signing

No problems

Updates

No problems generating updates, but update verify failed since no partial updates were generated.

Restored mozBeta-branch-patcher2.cfg to the previous state, and updated the partial block to point to partial files instead of completes.

Rebuilt the updates builder.

updates failed because I forget to roll back the update verify configs.

Reverted mozBeta-branch-patcher2.cfg again, and rolled back update verify configs as well as modifying the 5.0b7 line so it won't get removed by the update verify bumper.

Rebuilt the updates builder again. Completed without problems.

# On my local machine, to kick off update verify
for p in linux linux64 macosx64 win32; do
  for i in 1 2 3 4 5 6 7 8 9 10; do
    curl "http://buildbot-master08.build.mozilla.org:8001/builders/release-mozilla-beta-${p}_update_verify_${i}%2F10/force" >/dev/null
  done
done

Update verify ran mostly ok. We're missing the 'vi' locale, due to it being dropped from shipped-locales.

Check permissions / AV scan

Both triggered automatically, and look ok.

Push files to internal mirrors

This is only going to internal mirrors (at first), so we add the following line to stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude:

- firefox/releases/6.0b1

After waiting 10 minutes, forced the "release-mozilla-beta-push_to_mirrors" with the following properties:

release_config: mozilla/release-firefox-mozilla-beta.py
script_repo_revision: FIREFOX_6_0b1_RELEASE

Push to beta

cd /opt/aus2/snippets/staging
~/bin/backupsnip Firefox-6.0b1-build1
~/bin/pushsnip Firefox-6.0b1-build1

DONE TO HERE

Push to external mirrors

If needed, remove 6.0b1 from stage:/pub/mozilla.org/zz/rsyncd-mozilla-releases.exclude