Releases/Firefox 3.7a5/BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 138: Line 138:
exit 0
exit 0
# Run this manually
# Run this manually
make upload \
make upload upload-log verify-signatures2 \
   PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} \
   PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} \
   EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1
   EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1


</pre>
</pre>
verify-signatures2 failed:
<pre>
Traceback (most recent call last):
  File "./verify-signature.py", line 139, in <module>
    result, msg = check_repack(uf, sf, options.fake, options.product)
  File "./verify-signature.py", line 61, in check_repack
    info = fileInfo(signed, product)
  File "/cygdrive/d/signing-work/firefox-3.7a5/signing.py", line 69, in fileInfo
    raise ValueError("Could not parse: %s" % filepath)
ValueError: Could not parse: signed-build1/update/win32/en-US/mozilladeveloperpreview-3.7a5.complete.mar
</pre>
Verified signatures manually:
./verify-signature.py --product=mozilladeveloperpreview unsigned-build1/ signed-build1/
Results:
signed-build1/update/win32/en-US/mozilladeveloperpreview-3.7a5.complete.mar True OK
signed-build1/win32/en-US/MozillaDeveloperPreview Setup 3.7 Alpha 5.exe True OK


====Updates====
====Updates====

Revision as of 16:05, 10 June 2010

Build Engineers

  • rail

Tracking bug

Signed-off Revision(s)

b84d0be52070

Tags

mv-moz2-linux-ix-slave05

On mozilla-central:

Build # Tag Changeset
1 GECKO193a5_20100610_RELBRANCH b2f7bc2aa0bc
FIREFOX_3_7a5_BUILD1, FIREFOX_3_7a5_RELEASE c79cf76c1905

Build data

Type Build ID Build machine
[Windows installer/zip] 20100610063440 mw32-ix-slave02
[Mac dmg] 20100610053455 moz2-darwin10-slave23
[Mac64 dmg] 20100610053411 moz2-linux64-slave02
[Linux compressed] 20100610052642 mv-moz2-linux-ix-slave07
[Linux64 compressed] 20100610053237 moz2-darwin10-slave23

Notes

  • Done on pm

Build 1

  • Ben clobbered old releases by clobberer
  • Landed config update (with symlink change in repo, not on master)
  • Deleted .pyc files in moz2-master directory
  • Closed mozilla-central
  • sendchange:
buildbot sendchange --username=rail --master=localhost:9010 --branch=mozilla-central -m "Firefox 3.7a5 build1" Go

Tag

mv-moz2-linux-ix-slave05

  • no problems
  • re-opened mozilla-central

Source

mv-moz2-linux-ix-slave10

Had to manually rename to 'mozilladeveloperpreview-3.7a5.{source.tar.bz2,.bundle}' because source packages don't obey in-repo branding. Would be fixed with bug 510770:

# ffxbld@stage
cd /home/ftp/pub/firefox/nightly/3.7a5-candidates/build1/source
rename firefox mozilladeveloperpreview *

Build

  • Linux: build is green
    • All unittests are green. linux_test mochitest-other and inux_test xpcshell failed while downloading symbols (refused connection). Had to rebuild them manually.
  • Linux64: build is green, but some sendchanges failed, because we don't pack tests: http://pastebin.mozilla.org/733412. See also bug 560191.
    • No unittests, disabled in config.py
  • Win32: build is green
    • All unittests are green
  • Mac64: build is green
    • Orange unittests: macosx64_test mochitests-1/5, macosx64_test reftest, macosx64_test xpcshell, macosx64_test jsreftest, macosx64_test mochitest-other.
  • Mac: build is green
    • All unittests are green.

Sign

Ben tagged the {tools,buildbotcustom,buildbot-configs} repos:

hg tag FIREFOX_3_7a5_BUILD1
hg tag FIREFOX_3_7a5_RELEASE

instructions Signing didn't work out-of-box - bug 545017 - Did this instead of 'Run it'. Added verify-sigs to verify GPG signatures.

#!/bin/bash
set -x
set -e

PRODUCT=firefox
VERSION=3.7a5
BUILD=1
TAG=FIREFOX_3_7a5_RELEASE
REPO="mozilla-central"
EMAIL=rail@mozilla.com
KEYDIR=d:/2009-keys

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

mkdir ~/signing-work/${PRODUCT}-${VERSION}
cd ~/signing-work/${PRODUCT}-${VERSION}
cp ~/hg-tools/release/signing/* .

make setup download stubs \
 PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} \
 EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1

PRODUCT=mozilladeveloperpreview
# sign-files fails to copy non-existent xpi, no locales expected so that's fine
make sign-files \
  PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} \
  EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1 || :

make checksum-files create-sigs stage verify verify-sigs \
  PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} \
  EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1

PRODUCT=firefox
make fake-upload \
  PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} \
  EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1

exit 0
# Run this manually
make upload upload-log verify-signatures2 \
  PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} REPO=${REPO} \
  EMAIL=${EMAIL} KEYDIR=${KEYDIR} USE_NEW=1

verify-signatures2 failed:

Traceback (most recent call last):
  File "./verify-signature.py", line 139, in <module>
    result, msg = check_repack(uf, sf, options.fake, options.product)
  File "./verify-signature.py", line 61, in check_repack
    info = fileInfo(signed, product)
  File "/cygdrive/d/signing-work/firefox-3.7a5/signing.py", line 69, in fileInfo
    raise ValueError("Could not parse: %s" % filepath)
ValueError: Could not parse: signed-build1/update/win32/en-US/mozilladeveloperpreview-3.7a5.complete.mar

Verified signatures manually:

./verify-signature.py --product=mozilladeveloperpreview unsigned-build1/ signed-build1/

Results:

signed-build1/update/win32/en-US/mozilladeveloperpreview-3.7a5.complete.mar True OK
signed-build1/win32/en-US/MozillaDeveloperPreview Setup 3.7 Alpha 5.exe True OK

Updates

Update Verify

Update Bouncer

Final checks before push

Push to mirrors

Final verify

Push snippets to beta channel

Release