Closed
Bug 561439
Opened 14 years ago
Closed 14 years ago
Integrate mobile builders into try-as-branch and turn off mobile in old tryserver
Categories
(Release Engineering :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lsblakk, Assigned: jhford)
References
Details
(Whiteboard: [mobile][try-server])
Attachments
(5 files, 7 obsolete files)
12.18 KB,
patch
|
bear
:
review+
|
Details | Diff | Splinter Review |
3.11 KB,
patch
|
mozilla
:
review+
lsblakk
:
review+
jhford
:
checked-in+
|
Details | Diff | Splinter Review |
15.65 KB,
patch
|
mozilla
:
review+
lsblakk
:
review+
jhford
:
checked-in+
|
Details | Diff | Splinter Review |
15.97 KB,
patch
|
Details | Diff | Splinter Review | |
821 bytes,
patch
|
mozilla
:
review+
|
Details | Diff | Splinter Review |
Once try-as-branch is turned on we will be leaving the mobile builders on the old try master until the mobile builders can be generated with the build configs and mobile can be turned on in the try-as-branch configs. This bug will track the integration and subsequent disabling of mobile on the old try master.
Updated•14 years ago
|
Whiteboard: [mobile][try-server]
Assignee | ||
Comment 1•14 years ago
|
||
Working against http://hg.mozilla.org/users/catlee_mozilla.com/buildbot-configs/rev/9e2726aa3f7f and the patches in bug 523946. The mobile on 080 parts of the patch are duplicated from the other patch.
Assignee: nobody → jhford
Status: NEW → ASSIGNED
Priority: P3 → P2
Assignee | ||
Comment 2•14 years ago
|
||
Overrides that we need to do in config.py once it has the tryserver branch: BRANCHES['tryserver']['mobile_tinderbox_tree'] = 'MozillaTry' Things that need to added to the yet-to-be-landed generateMobileBranchObjects are: factory_kwargs['try_mode'] = config.get('enable_try', False) factory_kwargs['try_basefilename'] = 'fennec' I am entirely unsure if the email in the body of the try message will line up to the actual location these builds are uploaded to. What this patch does: Create a 'try_mode' argument that changes the source and upload behaviour. The factory default mode is False, which goes to regular mode which is 100% untouched other than being indented. The source steps for try_mode use the Mercurial class to make sure that the revision from the change_source is what is built (the default action is to build tip of whichever branch the repository is on) using clobber mode on the to ensure there are no leftovers. There are also some magic files checked ('mobile_repo' and 'mobile_rev') that if created in the root directory of a mozilla-central patch contain the path relative to hg.m.o and revision of mobile to build. The upload steps use the old tryserver steps to upload the mobile builds to where (I hope) will be right beside new tryserver builds. I have to test this on staging but I'd like to land generateMobileBranchObjects first.
Attachment #451739 -
Flags: review?(aki)
Attachment #451739 -
Flags: feedback?
Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 451739 [details] [diff] [review] buildbotcustom changes needed to make mobile work on buildbot-0.8.0 sorry, this patch is invalid
Attachment #451739 -
Flags: review?(aki)
Attachment #451739 -
Flags: review-
Attachment #451739 -
Flags: feedback?
Assignee | ||
Comment 4•14 years ago
|
||
specifically the following shouldn't be there in the __init__ kwarg list, + try_slavedir=None, try_slavesrcdir=None, + try_scpstring=None, try_targetsubdir=None, And in the __init__ body + assert try_basefilename + assert try_slavedir + assert try_slavesrcdir + assert try_scpstring + assert try_targetsubdir + self.try_basefilename = try_basefilename + self.try_slavedir = try_slavedir + self.try_slavesrcdir = try_slavesrcdir + self.try_scpstring = try_scpstring + self.try_targetsubdir = try_targetsubdir + Otherwise, this patch is valid
Assignee | ||
Comment 5•14 years ago
|
||
Attachment #454719 -
Flags: feedback?(aki)
Assignee | ||
Comment 6•14 years ago
|
||
These patches are yet to be staged and are WIP. A couple things: -forcing a rebuild will not work but because every try build is a clobber, we don't care about this.
Attachment #451739 -
Attachment is obsolete: true
Attachment #454720 -
Flags: feedback?(aki)
Comment 7•14 years ago
|
||
Comment on attachment 454719 [details] [diff] [review] buildbot-configs v1 >+BRANCHES['tryserver']['stage_base_path_mobile'] = '/home/ftp/pub/firefox/tryserver-builds' Looks like this is going to be an area for discussion. Since we have a second config option for it, it will be easy to send these to mobile/tryserver-builds (my preference), but that will split up the full set of builds... which I'm find with. Maybe eventually pub/mozilla.org/tryserver-builds/ID with subdirectories firefox/ and fennec/ ? Not sure I have much else to say on a patch that hasn't even been checkconfiged. I don't mind the if/else for checkouts/uploads at all.
Assignee | ||
Comment 8•14 years ago
|
||
This patch adds mozconfig files based on the current nightly mozconfig files. The main difference between the nightly mozconfigs and these new mozconfigs is that we have if [ -f $topsrcdir/mozconfig-extra ] ; then . $topsrcdir/mozconfig-extra fi if [ -f $topsrcdir/mozconfig-extra-PLATFORM ] ; then . $topsrcdir/mozconfig-extra-PLATFORM fi where PLATFORM is one of maemo4, maemo5-gtk, maemo5-qt, android-r7, linux, macosx, win32.
Attachment #454781 -
Flags: review?(joduinn)
Assignee | ||
Comment 9•14 years ago
|
||
Uploading a new patch and attaching a script to recreate the patch cd buildbot-configs/mozilla2/ cp -r mobile mobile-tryserver cd mobile-tryserver find -type d -name 'mobile-1.1' -exec rm -rf {} \; find -type d -name 'mobile-e10s' -exec rm -rf {} \; find -type d -name 'release' -exec rm -rf {} \; for i in * ; do mv $i/mobile-browser/nightly/mozconfig $i/ done find -type d -name 'mobile-browser' -exec rm -rf {} \; for i in * ; do cat >> $i/mozconfig << EOF if [ -f \$topsrcdir/mozconfig-extra ] ; then . \$topsrcdir/mozconfig-extra fi if [ -f \$topsrcdir/mozconfig-extra-$i ] ; then . \$topsrcdir/mozconfig-extra-$i fi EOF done find -type f -exec hg add {} \; hg diff > ../../new-confs.diff cd ../../mozilla2-staging/ patch -p2 < ../new-confs.diff find mobile-tryserver -type f -exec hg add {} \;
Attachment #454781 -
Attachment is obsolete: true
Attachment #454785 -
Flags: review?(bear)
Attachment #454781 -
Flags: review?(joduinn)
Updated•14 years ago
|
Attachment #454785 -
Flags: review?(bear) → review+
Assignee | ||
Comment 10•14 years ago
|
||
verified that this does not merge pushes: (Jun 29 20:34:14, waiting 10 mins, 26 secs) jford@mozilla.com (Jun 29 20:34:14, waiting 10 mins, 26 secs) jford@mozilla.com
Assignee | ||
Comment 11•14 years ago
|
||
need to verify that the factory changes to android don't break normal android builds. I am guessing that I am going to have to add the objdir to the package_glob.
Attachment #454719 -
Attachment is obsolete: true
Attachment #454719 -
Flags: feedback?(aki)
Assignee | ||
Comment 12•14 years ago
|
||
This patch adds a 'try mode' to the MobileBuildFactory that understands how a try build needs to be different to a normal mobile build. I have disabled the duplicate addUploadSteps command in AndroidBuildFactory as it is functionally equivalent to the one on MobileBuildFactory if we make a change to the packagegloblist (i think). I have to test a non-try build in staging before I ask for review on this patch.
Attachment #454720 -
Attachment is obsolete: true
Attachment #454720 -
Flags: feedback?(aki)
Assignee | ||
Comment 13•14 years ago
|
||
Asking for review from Lukas for the try-serverness and Bear for the change to the packageGlobList
Attachment #455484 -
Attachment is obsolete: true
Attachment #455579 -
Flags: review?(lsblakk)
Attachment #455579 -
Flags: review?(bear)
Attachment #455579 -
Flags: review?(aki)
Attachment #455579 -
Flags: feedback?
Assignee | ||
Updated•14 years ago
|
Attachment #455579 -
Flags: feedback?
Assignee | ||
Comment 14•14 years ago
|
||
Comment on attachment 455579 [details] [diff] [review] buildbot-configs v3 sorry, just noticed something wrong with the corresponding buildbotcustom patch.
Attachment #455579 -
Flags: review?(lsblakk)
Attachment #455579 -
Flags: review?(bear)
Attachment #455579 -
Flags: review?(aki)
Assignee | ||
Comment 15•14 years ago
|
||
Instead of removing the duplicate upload function, I am going to override only try behaviour as I cannot seem to get a working slave and m-c/m-b revision to test modified upload for normal builds.
Attachment #455487 -
Attachment is obsolete: true
Attachment #455717 -
Flags: review?(lsblakk)
Attachment #455717 -
Flags: review?(aki)
Assignee | ||
Updated•14 years ago
|
Attachment #455717 -
Attachment description: buildbotcustom-v4 → buildbot-configs-v4
Assignee | ||
Comment 16•14 years ago
|
||
Attachment #455579 -
Attachment is obsolete: true
Attachment #455719 -
Flags: review?(lsblakk)
Attachment #455719 -
Flags: review?(aki)
Comment 17•14 years ago
|
||
Comment on attachment 455717 [details] [diff] [review] buildbot-configs-v4 >+BRANCHES['tryserver']['mobile_platforms']['maemo5-gtk']['mozconfig'] = 'mobile-tryserver/maemo5-gtk/' Extremely minor nit: we had a little unhappiness with trailing/non-trailing slashes already, so let's just keep it uniform. r=me with this trailing slash removed to match the others.
Attachment #455717 -
Flags: review?(aki) → review+
Assignee | ||
Comment 18•14 years ago
|
||
(identical to buildbotcustom-v4 with the showfunc flag on in my hgrc)
Updated•14 years ago
|
Attachment #455731 -
Attachment is patch: true
Attachment #455731 -
Attachment mime type: application/octet-stream → text/plain
Reporter | ||
Comment 19•14 years ago
|
||
Comment on attachment 455719 [details] [diff] [review] buildbotcustom-v4 the try parts look good to me: setting who, got_revision, and uploading.
Attachment #455719 -
Flags: review?(lsblakk) → review+
Reporter | ||
Comment 20•14 years ago
|
||
Comment on attachment 455717 [details] [diff] [review] buildbot-configs-v4 >+#BRANCHES['tryserver']['mobile_platforms']['linux']['slaves'] = TRY_SLAVES['linux'] >+#BRANCHES['tryserver']['mobile_platforms']['win32']['slaves'] = TRY_SLAVES['win32'] >+#BRANCHES['tryserver']['mobile_platforms']['macosx']['slaves'] = TRY_SLAVES['macosx'] >+ I would take these out or put in a comment about why they are there but to just have commented out lines in the configs with no explanation seems unnecessary IMO. r+ with that addressed.
Attachment #455717 -
Flags: review?(lsblakk) → review+
Comment 21•14 years ago
|
||
Comment on attachment 455719 [details] [diff] [review] buildbotcustom-v4 I don't see anything glaring. Not really motivated to nit indenting your function args to line up with the '(', but if you do that I won't be unhappy.
Attachment #455719 -
Flags: review?(aki) → review+
Assignee | ||
Comment 22•14 years ago
|
||
turn off symbol generation/uploading on try
Attachment #455792 -
Flags: review?(aki)
Assignee | ||
Comment 23•14 years ago
|
||
Comment on attachment 455719 [details] [diff] [review] buildbotcustom-v4 http://hg.mozilla.org/build/buildbotcustom/rev/b634f09d2940
Attachment #455719 -
Flags: checked-in+
Assignee | ||
Comment 24•14 years ago
|
||
Comment on attachment 455717 [details] [diff] [review] buildbot-configs-v4 http://hg.mozilla.org/build/buildbot-configs/rev/97f7093ab99f
Attachment #455717 -
Flags: checked-in+
Comment 25•14 years ago
|
||
Comment on attachment 455792 [details] [diff] [review] turn symbols generation off for mobile builds We may want this at some point, but we can deal with getting that working then.
Attachment #455792 -
Flags: review?(aki) → review+
Assignee | ||
Comment 26•14 years ago
|
||
in production and working :)
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Summary: [Tracking bug] Integrate mobile builders into try-as-branch and turn off mobile in old tryserver → Integrate mobile builders into try-as-branch and turn off mobile in old tryserver
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•