Closed
Bug 1240239
Opened 9 years ago
Closed 9 years ago
artifact builds should include the test plugins
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox46 fixed)
RESOLVED
FIXED
mozilla46
| Tracking | Status | |
|---|---|---|
| firefox46 | --- | fixed |
People
(Reporter: mossop, Assigned: chmanchester)
References
Details
Attachments
(1 file, 1 obsolete file)
Many test require the presence of the test plugins but "mach artifact install" doesn't install them.
These are located at bin/plugins in the tests package and need to be installed to dist/plugins in the objdir.
Comment 1•9 years ago
|
||
(In reply to Dave Townsend [:mossop] from comment #0)
> Many test require the presence of the test plugins but "mach artifact
> install" doesn't install them.
>
> These are located at bin/plugins in the tests package and need to be
> installed to dist/plugins in the objdir.
Thanks, Dave! It should be easy to add these, assuming they all go to uniform places. (We will need to grow the ability to write to dist/plugins, unfortunately.)
Relevant code is around https://dxr.mozilla.org/mozilla-central/source/python/mozbuild/mozbuild/artifacts.py#96 and its consumers.
Depends on: 1238320
| Assignee | ||
Updated•9 years ago
|
Assignee: nobody → cmanchester
| Assignee | ||
Comment 2•9 years ago
|
||
A recent change regressed this behavior -- while an artifact build runs, it
doesn't load certain "about:" pages due to missing libraries in subdirectories
of dist/bin.
Review commit: https://reviewboard.mozilla.org/r/31155/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/31155/
| Assignee | ||
Comment 3•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/31157/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/31157/
Attachment #8708734 -
Flags: review?(nalexander)
| Assignee | ||
Comment 4•9 years ago
|
||
Mossop, if you have an opportunity to take this for a spin, just `rm ~/.mozbuild/package-frontend/*.jar` before `./mach build` ing. I found sanity tests for the test plugins in testing/mochitest/chrome that run fine.
Nick, I took this through the usual drill on three desktop platforms, but if you could sanity test Android at some point that would be great. Thank you.
Comment 5•9 years ago
|
||
Comment on attachment 8708734 [details]
MozReview Request: Bug 1240239 - Install test plugins in artifact based builds. r=nalexander
I see a review request, but I don't see the unification of patterns and pattern matching I was hoping for. I'm canceling the request 'cuz the patch doesn't appear to have been updated, and 'cuz I think you mentioned some push-to-review issues.
Attachment #8708734 -
Flags: review?(nalexander)
| Assignee | ||
Updated•9 years ago
|
Attachment #8708733 -
Attachment is obsolete: true
| Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8708733 [details]
MozReview Request: Bug 1240239 - Install test plugins in artifact based builds. r=nalexander
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/31155/diff/1-2/
Attachment #8708733 -
Attachment description: MozReview Request: Bug 1240239 - Fix installation of binary components in a subdir of dist/bin for linux artifact builds. r=nalexander → MozReview Request: Bug 1240239 - Install test plugins in artifact based builds. r=nalexander
Attachment #8708733 -
Attachment is obsolete: false
Attachment #8708733 -
Flags: review?(nalexander)
| Assignee | ||
Updated•9 years ago
|
Attachment #8708734 -
Attachment is obsolete: true
| Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Chris Manchester [:chmanchester] from comment #6)
> Comment on attachment 8708733 [details]
> MozReview Request: Bug 1240239 - Install test plugins in artifact based
> builds. r=nalexander
>
> Review request updated; see interdiff:
> https://reviewboard.mozilla.org/r/31155/diff/1-2/
Note the interdiff here isn't going to make sense because the other commit landed already. This still needs testing on Android and Windows.
Updated•9 years ago
|
Attachment #8708733 -
Flags: review?(nalexander) → review+
Comment 8•9 years ago
|
||
Comment on attachment 8708733 [details]
MozReview Request: Bug 1240239 - Install test plugins in artifact based builds. r=nalexander
https://reviewboard.mozilla.org/r/31155/#review28067
lgtm.
::: python/mozbuild/mozbuild/mach_commands.py:1503
(Diff revision 2)
> def install_callback(path, file_existed, file_updated):
Comment that we're only updating the `dist/bin` manifest, please.
| Reporter | ||
Comment 9•9 years ago
|
||
Comment on attachment 8708733 [details]
MozReview Request: Bug 1240239 - Install test plugins in artifact based builds. r=nalexander
This fixes tests for me.
Attachment #8708733 -
Flags: feedback+
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•