Releases/Firefox 3.6.2/BuildNotes: Difference between revisions

 
(20 intermediate revisions by 4 users not shown)
Line 42: Line 42:
| style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | '''Build machine'''
| style="background: none repeat scroll 0% 0% rgb(239, 239, 239);" | '''Build machine'''
|-
|-
| 1  
| rowspan="3" | 1  
| Linux  
| Linux  
| <br>  
| <br>  
| moz2-linux-slave20
| moz2-linux-slave20
|-
|-
| 1
| Mac  
| Mac  
| <br>  
| <br>  
| bm-xserve11
| bm-xserve11
|-
|-
| 1
| Windows  
| Windows  
| <br>  
| <br>  
| win32-slave42
| win32-slave42
|-
|-
| 2  
| rowspan="3" | 2  
| Linux  
| Linux  
| <br>  
| <br>  
| moz2-linux-slave21
| moz2-linux-slave21
|-
|-
| 2
| Mac  
| Mac  
| <br>  
| <br>  
| moz2-darwin9-slave13
| moz2-darwin9-slave13
|-
|-
| 2
| Windows  
| Windows  
| <br>  
| <br>  
| win32-slave34
| win32-slave34
|-
|-
| 3  
| rowspan="3" | 3  
| Linux  
| Linux  
| <br>
| 20100316060223
| moz2-linux-slave21
| moz2-linux-slave21
|-
|-
| 3
| Mac  
| Mac  
| <br>
| 20100316055951
| moz2-darwin9-slave10
| moz2-darwin9-slave10
|-
|-
| 3
| Windows  
| Windows  
| <br>
| 20100316074819
| win32-slave18
| win32-slave18
|}
|}
Line 166: Line 160:
* partner repack step failed to upload the generated builds. Given all the other network failures at the time, this isn't surprising. Re-ran the upload step by hand without issue.
* partner repack step failed to upload the generated builds. Given all the other network failures at the time, this isn't surprising. Re-ran the upload step by hand without issue.


* Remove build1/en-US.xpi {{bug|485860}}


==== Unit tests ====
==== Unit tests ====
Line 215: Line 210:


===== Partner Signing =====
===== Partner Signing =====
* to sign the repack partners (I believe this would have not been necessary if I had had the partner repacks in the unsigned folder on ftp with the other win32 unsigned files).
NOTE: For the next release we will probably have {{bug|554321}} fixed and signing repacks will be different than what we did here.
----
Lots of problems here:
* The partner builds generated by the automation are not useful because they cannot be signed with the same internal bits as the rest of the builds.
* Coop redid the partner builds against already signed builds. These builds refused to get signed because repacked NSIS installers do that.


* this is the first time that we are signing repacks without having received a tar ball
Kev provided us with a tarball of internally signed, but not externally signed partner builds. Those were signed with the instructions [https://intranet.mozilla.org/Build:CombinedSigning#Partner_Repack_Signing here].


PRODUCT=firefox
===== Resign MD5SUMS and SHA1SUMS =====
VERSION=3.6.2
* I had removed en-US.xpi after having signed. {{bug|554455}}
BUILD=3
* This is what I did to get this fixed:
TAG=FIREFOX_3_6_2_RELEASE
  # keymaster
REPO='releases/mozilla-1.9.2'
  mkdir -p ~/signing-work/firefox-3.6.2-remove_en-US.xpi/unsigned
EMAIL=armenzg@mozilla.com
  cd ~/signing-work/firefox-3.6.2-remove_en-US.xpi/unsigned
KEYDIR=d:/2009-keys
  scp -i ~/.ssh/ffxbld_dsa ffxbld@stage.mozilla.org:/home/ftp/pub/firefox/nightly/3.6.2-candidates/build3/{MD5SUMS,SHA1SUMS} .
cd ~/hg-tools
# modified MD5SUMS and SHA1SUMS
hg pull &amp;&amp; hg up -r ${TAG}
gpg -v -u releases -sba MD5SUMS
  #start signcode
gpg -v -u releases -sba SHA1SUMS
  mkdir -p ~/signing-work/${PRODUCT}-${VERSION}-repacks/partners
  cd ~/signing-work/${PRODUCT}-${VERSION}-repacks/partners
cp ~/hg-tools/release/signing/* .
make PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} TAG=${TAG} REPO=${REPO} EMAIL=${EMAIL} USE_NEW=1 setup
mkdir unsigned-build${BUILD}
  scp cltbld@stage.mozilla.org:/pub/mozilla.org/${PRODUCT}/nightly/${VERSION}-candidates/${BUILD}/unsigned/partner-repacks/* .
rsync -av --exclude-from download-exclude.list -e "ssh -i ${HOME}/.ssh/ffxbld_dsa" ffxbld@stage.mozilla.org:/home/ftp/pub/${PRODUCT}/nightly/${VERSION}-candidates/build${BUILD}/unsigned/partner-repacks unsigned-build${BUILD}


* Here is where I have left the signing. I based this off [https://intranet.mozilla.org/Build:CombinedSigning#Partner_Repack_Signing Build:CombinedSigning#Partner_Repack_Signing] which can't be used directly in here.
scp -i ~/.ssh/ffxbld_dsa * ffxbld@stage.mozilla.org:/home/ftp/pub/firefox/nightly/3.6.2-candidates/build3/{MD5SUMS,SHA1SUMS}


<strike>
* After Nick's approval
  # download partner bundle, usually from people.m.c
  # ffxbld@stage
  cd unsigned
  cd /pub/mozilla.org/firefox/nightly/3.6.2-candidates/build3/
tar xvf ../partners-355-unsigned.tar
  cp MD5SUMS* SHA1SUMS* ../../../releases/3.6.2/
make PRODUCT=${PRODUCT} VERSION=${VERSION} BUILD=${BUILD} TAG=${TAG} REPO=${REPO} EMAIL=${EMAIL} USE_NEW=1 setup
# This next step will fail to find the win32 log and/or xpis.
# This is expected.
cd win32 &amp;&amp; ../../signing/sign-release ${KEYDIR} &amp;&amp; cd ../
../signing/sign-files .
  cd ..
mv unsigned signed
cd signed
tar -vcf ../partners-355-signed.tar .
cd ../
</strike>


==== L10nVerify  ====
==== L10nVerify  ====
Line 320: Line 301:
  $ cd /pub/mozilla.org/firefox/nightly/3.6.2-candidates/build3
  $ cd /pub/mozilla.org/firefox/nightly/3.6.2-candidates/build3
  $ clamdscan -m
  $ clamdscan -m
 
/mnt/netapp/stage/archive.mozilla.org/pub/firefox/nightly/3.6.2-candidates/build3: OK
* Waiting
----------- SCAN SUMMARY -----------
Infected files: 0
Time: 2917.127 sec (48 m 37 s)


==== Push to mirrors  ====
==== Push to mirrors  ====
Line 327: Line 311:
* We want to push partner repacks to candidates dirs but we want to make sure we don't send it to the mirrors. This will be the first time we do this and that is why I am adding a note beforehand in this section
* We want to push partner repacks to candidates dirs but we want to make sure we don't send it to the mirrors. This will be the first time we do this and that is why I am adding a note beforehand in this section


# cltbld@aus2-staging
After GO from driver:
cd /opt/aus2/snippets/staging/
~/bin/backupsnip 20100316-Firefox-3.6.2
NOT DONE YET
<i>
  # ffxbld@stage
  # ffxbld@stage
  rsync -av --exclude=*.log --exclude=*.txt --exclude=*unsigned* \
  rsync -av --exclude=*.log --exclude=*.txt --exclude=*unsigned* \
Line 340: Line 319:
   /pub/mozilla.org/firefox/releases/3.6.2/
   /pub/mozilla.org/firefox/releases/3.6.2/


</i>
Updated <tt>cltbld@stage:/pub/mozilla.org/zz/rsyncd-mozilla-current.exclude</tt> to include 3.6.2 instead of 3.6.


==== Final Verification  ====
==== Final Verification  ====
Got 9 failures like this
Using  https://aus2.mozilla.org/update/1/Firefox/3.6b5/20091204132459/Linux_x86-gcc3/nn-NO/releasetest/update.xml?force=1
Testing http://download.mozilla.org/?product=firefox-3.6.2-complete&os=linux&lang=nn-NO
HTTP/1.1 302 Found
Date: Tue, 23 Mar 2010 00:22:22 GMT
Server: Apache
Set-Cookie: dmo=10.2.84.4.1269303742243225; path=/; expires=Wed, 23-Mar-11 00:22:22 GMT
X-Powered-By: PHP/5.1.6
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, private
Pragma: no-cache
Location: http://3347-mozilla.voxcdn.com/pub/mozilla.org/firefox/releases/3.6.2/update/linux-i686/nn-NO/firefox-3.6.2.complete.mar
Content-Type: text/html; charset=UTF-8
FAIL: download_mars returned non-zero exit code: 7
Exit status of 7 comes from curl and means 'Failed to connect to host'. nthomas and reed have attempted to debug this in the past and reed has not been able to reproduce it on his end. We are assuming that it's something between the build network and voxcdn only.


==== Push updates to release channel  ====
==== Push updates to release channel  ====
# cltbld@aus2-staging
cd /opt/aus2/snippets/staging/
~/bin/backupsnip 20100316-Firefox-3.6.2
~/bin/pushsnip 20100316-Firefox-3.6.2


==== Release ====
==== Release ====
 
# ffxbld@stage
==== XULRunner build ====
rm latest-3.6
 
ln -s 3.6.2 latest-3.6
 
 
 
 
 
 
 
 
 
 


==== EU Ballot Build ====
This is a win32 partner build for the EU browser ballot. ''Ideally they would be pushed at the same time as the other builds, so this work should happen earlier for 3.6.3.'' The process documented here may be a bit different for 3.6.3, eg partner repacks coming out of the automation and getting signed automatically.


After the builds are created (this time by Kev), and passed QA, they were signed and moved into the candidates dir
# ffxbld@stage
# get copy of signed tarball to /tmp/
mkdir /tmp/ffxbld
cd /tmp/ffxbld
tar xfv /tmp/euballot-362-signed.tar
mv win32 win32-EUballot
mv -v win32-EUballot /pub/mozilla.org/firefox/nightly/3.6.2-candidates/build3/
cd /pub/mozilla.org/firefox/nightly/3.6.2-candidates/build3/win32-EUballot
find . ! -user ffxbld
find . ! -group firefox
find . -type f ! -perm 644
find . -mindepth 1 -type d ! -perm 755 ! -name 'contrib*'
find . -maxdepth 1 -type d ! -perm 2775  -name 'contrib*'
rsync -av --exclude=*.log --exclude=*.txt --exclude=*unsigned* \
--exclude=*.crashreporter-symbols.zip --exclude=*.tests.tar.bz2* \
--exclude=*partner-repacks* \
/pub/mozilla.org/firefox/nightly/3.6.2-candidates/build3/ \
/pub/mozilla.org/firefox/releases/3.6.2/


In bouncer, add a Firefox-3.6.2-EUballot product and point it at <tt>/firefox/releases/3.6.2/win32-EUballot/en-US/Firefox%20Setup%203.6.2.exe</tt>. Strange as it may seem, using en-US is correct even though this build doesn't exist - bouncer requires it that way and will do s/en-US/sv-SE/ when checking for the file.


After mirror uptake more than 10k, filed {{bug|554261}} to finish off release. We have to update our browser choice website and cut over to the Firefox-3.6.2-EUballot in bouncer.


==== XULRunner build ====
*  This step doesn't have to be the last one


Triggered the builds by going to the buildbot waterfall for mozilla-1.9.2 and forcing builds for linux (not x64), mac and windows xulrunner. Set the field "Revision to build" (not properties) to 'FIREFOX_3_6_2_RELEASE'. Email the builds to release-drivers.


# as xrbld@stage on a production slave
cd /pub/mozilla.org/xulrunner/nightly
mkdir -p 1.9.2.2-candidates/build1
mv 2010-03-23-07-mozilla-1.9.2/* 1.9.2.2-candidates/build1/
rm -rf 2010-03-23-07-mozilla-1.9.2/


* [http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/1.9.2.2-candidates/build1 1.9.2.2 candidates dir]


* [http://production-master.build.mozilla.org:8010/builders/Linux%20mozilla-1.9.2%20xulrunner/builds/233 Linux xulrunner build]
* [http://production-master.build.mozilla.org:8010/builders/WINNT%205.2%20mozilla-1.9.2%20xulrunner/builds/236 Windows xulrunner build]
* [http://production-master.build.mozilla.org:8010/builders/OS%20X%2010.5.2%20mozilla-1.9.2%20xulrunner/builds/235 OSX xulrunner build]


[[Category:Excrement]]
* Waiting on reply from mfinkle and/or dtwonsed to publish these builds
[[Category:Ass pus]]
[[Category:House of Buttfucks]]
[[Category:Gurnig]]
[[Category:Exicornt]]
[[Category:Prophecies of Mumfum]]
[[Category:Pelican shit]]
[[Category:Tinkerbell's Tits]]
[[Category:Peter Pan's Peeter]]
[[Category:Royal Academy of Buttfucking]]
[[Category:Herman's Left Testicle]]
[[Category:Herman's Other Testicle]]
[[Category:Herman's Penis]]
[[Category:Herman's Asshole]]
Confirmed users
3,990

edits