Closed
Bug 775620
Opened 13 years ago
Closed 13 years ago
Migrate fennec builds to mock slaves
Categories
(Release Engineering :: General, defect, P3)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: catlee, Assigned: catlee)
References
Details
Attachments
(3 files, 2 obsolete files)
|
18.24 KB,
patch
|
mozilla
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
|
5.76 KB,
patch
|
bhearsum
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
|
8.10 KB,
patch
|
bhearsum
:
review+
catlee
:
checked-in+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #643959 -
Flags: review?(rail)
Attachment #643959 -
Flags: review?(jhopkins)
| Assignee | ||
Comment 2•13 years ago
|
||
this is required to get buildbot in the path.
another option would be to change the environment buildbot runs inside of to make sure /tools/buildbot/bin is in PATH on these slaves.
Attachment #643963 -
Flags: review?(bhearsum)
Comment 3•13 years ago
|
||
Comment on attachment 643963 [details] [diff] [review]
use builder's environment for sendchange
Review of attachment 643963 [details] [diff] [review]:
-----------------------------------------------------------------
This seems fine to me.
Attachment #643963 -
Flags: review?(bhearsum) → review+
Comment 4•13 years ago
|
||
Comment on attachment 643959 [details] [diff] [review]
switch to mock!
Looks like the patch breaks the signing.
Attachment #643959 -
Flags: review?(rail) → review-
| Assignee | ||
Updated•13 years ago
|
Attachment #643959 -
Flags: review?(jhopkins)
Comment 5•13 years ago
|
||
Comment on attachment 643959 [details] [diff] [review]
switch to mock!
Review of attachment 643959 [details] [diff] [review]:
-----------------------------------------------------------------
::: mozilla/config.py
@@ +751,5 @@
> 'update_platform': 'Android_arm-eabi-gcc3',
> 'enable_shared_checkouts': True,
> + 'use_mock': True,
> + 'mock_target': 'mozilla-centos6-i386',
> + 'mock_packages': ['autoconf213', 'mozilla-python27-mercurial', 'ccache', 'android-sdk15', 'android-ndk5', 'zip', 'java-1.6.0-openjdk-devel', 'zlib-devel', 'glibc-static', 'openssh-clients'],
Now that the android-sdk16 rpm is ready, can we make sure to include it here in the next iteration of the patch? Thanks.
| Assignee | ||
Comment 6•13 years ago
|
||
Attachment #651593 -
Flags: review?(aki)
Comment 7•13 years ago
|
||
Comment on attachment 651593 [details] [diff] [review]
mock support for mozharness, and adjusting mobile_l10n.py to use it
>diff --git a/configs/single_locale/mozilla-central_android.py b/configs/single_locale/mozilla-central_android.py
You'll need to land this with somewhat careful timing with the reconfig, but since we don't have good mobile l10n reporting as long as you get it green before the nightly we're probably good =\
(In reply to Chris Cooper [:coop] from comment #5)
> Now that the android-sdk16 rpm is ready, can we make sure to include it here
> in the next iteration of the patch? Thanks.
Are you putting this off til later, or did you miss this comment?
>+ def init_mock(self, mock_target):
>+ "Initialize mock environment defined by `mock_target`"
>+ cmd = ['mock_mozilla', '-r', mock_target, '--init']
Right now, we have to have mock_mozilla in PATH; to change which mock_mozilla we use, we have to change PATH (and it has to be named 'mock_mozilla').
If you want to allow for alternate mock_mozilla's, or a mock_mozilla that isn't in PATH, you can
mock_mozilla = self.query_exe('mock_mozilla', return_type='list')
cmd = mock_mozilla + ['-r', mock_target, '--init']
Feel free to use that if it's helpful; if it's not likely we'll need an alternate mock_mozilla, feel free to ignore.
>-class MobileSingleLocale(LocalesMixin, ReleaseMixin, MobileSigningMixin,
>- TransferMixin, BuildbotMixin, MercurialScript):
>+class MobileSingleLocale(MockMixin, LocalesMixin, ReleaseMixin,
>+ MobileSigningMixin, TransferMixin,
>+ BuildbotMixin, MercurialScript):
(Not specifically about this patch, just noticing):
This is one of the downsides of all the mixins.
We can consider consolidating some mixins later if it makes sense.
Thanks for this patch!
Attachment #651593 -
Flags: review?(aki) → review+
| Assignee | ||
Comment 8•13 years ago
|
||
the file copies can go away once we use the signing server
Attachment #643963 -
Attachment is obsolete: true
Attachment #651812 -
Flags: review?(bhearsum)
| Assignee | ||
Updated•13 years ago
|
Attachment #643959 -
Attachment is obsolete: true
| Assignee | ||
Comment 9•13 years ago
|
||
Attachment #651850 -
Flags: review?(bhearsum)
Updated•13 years ago
|
Attachment #651850 -
Flags: review?(bhearsum) → review+
Updated•13 years ago
|
Attachment #651812 -
Flags: review?(bhearsum) → review+
| Assignee | ||
Updated•13 years ago
|
Attachment #651812 -
Flags: checked-in+
| Assignee | ||
Updated•13 years ago
|
Attachment #651850 -
Flags: checked-in+
Comment 10•13 years ago
|
||
In production.
| Assignee | ||
Updated•13 years ago
|
Attachment #651593 -
Flags: checked-in+
| Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•