Closed Bug 775620 Opened 13 years ago Closed 13 years ago

Migrate fennec builds to mock slaves

Categories

(Release Engineering :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Assigned: catlee)

References

Details

Attachments

(3 files, 2 obsolete files)

No description provided.
Attached patch switch to mock! (obsolete) — Splinter Review
Attachment #643959 - Flags: review?(rail)
Attachment #643959 - Flags: review?(jhopkins)
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 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 on attachment 643959 [details] [diff] [review] switch to mock! Looks like the patch breaks the signing.
Attachment #643959 - Flags: review?(rail) → review-
Attachment #643959 - Flags: review?(jhopkins)
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.
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+
the file copies can go away once we use the signing server
Attachment #643963 - Attachment is obsolete: true
Attachment #651812 - Flags: review?(bhearsum)
Attachment #643959 - Attachment is obsolete: true
Attachment #651850 - Flags: review?(bhearsum)
Attachment #651850 - Flags: review?(bhearsum) → review+
Attachment #651812 - Flags: review?(bhearsum) → review+
Depends on: 782806
Attachment #651812 - Flags: checked-in+
Attachment #651850 - Flags: checked-in+
In production.
Attachment #651593 - Flags: checked-in+
Depends on: 783518
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: