Closed
Bug 1283282
Opened 8 years ago
Closed 8 years ago
Certain combinations of mochitests break Trychooser
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task)
Infrastructure & Operations Graveyard
CIDuty
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bytesized, Assigned: MattN)
Details
(Keywords: trychooser)
Attachments
(5 files)
592 bytes,
patch
|
MattN
:
feedback-
|
Details | Diff | Splinter Review |
1.11 KB,
patch
|
MattN
:
review-
|
Details | Diff | Splinter Review |
1.12 KB,
patch
|
Details | Diff | Splinter Review | |
1.18 KB,
patch
|
Details | Diff | Splinter Review | |
58 bytes,
text/x-review-board-request
|
aobreja
:
review+
|
Details |
Steps to Reproduce: - Point browser to http://trychooser.pub.build.mozilla.org/ - Build Types => Both - Platforms => All - Under Unit Test Suites, check "mochitests (all)" - Uncheck mochitest-jetpack Expected Result: - Computed Command and Computed Syntax will display a command that will run all mochitests except for jetpack Actual Result: - Computed Command and Computed Syntax display "(NO JOBS CHOSEN)"
Updated•8 years ago
|
Component: Tools → Buildduty
QA Contact: hwine → bugspam.Callek
Comment 1•8 years ago
|
||
It seems that the problem is with mochitest-browser-screenshots tests,any combination with these tests will display "(NO JOBS CHOSEN)".
Comment 2•8 years ago
|
||
Adding this patch from trychooser.js will solve the problem but this mean that we are not longer need MOZSCREENSHOTS_SETS to have a value in order to work. So I need a feedback if is wise to remove this sequence.
Attachment #8767157 -
Flags: feedback?(coop)
Comment 3•8 years ago
|
||
Comment on attachment 8767157 [details] [diff] [review] patch_bug1283282_tools.patch Review of attachment 8767157 [details] [diff] [review]: ----------------------------------------------------------------- I don't know enough about this code. Punting the feedback request to Armen.
Attachment #8767157 -
Flags: feedback?(coop) → feedback?(armenzg)
Comment 4•8 years ago
|
||
Comment on attachment 8767157 [details] [diff] [review] patch_bug1283282_tools.patch Review of attachment 8767157 [details] [diff] [review]: ----------------------------------------------------------------- I only approved that the change was not insane (since I don't know enough JavaScript) Passing it to the author of the patch.
Attachment #8767157 -
Flags: feedback?(armenzg) → feedback?(MattN+bmo)
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8767157 [details] [diff] [review] patch_bug1283282_tools.patch Review of attachment 8767157 [details] [diff] [review]: ----------------------------------------------------------------- (In reply to Kirk Steuber [:bytesized] from comment #0) > Steps to Reproduce: > - Point browser to http://trychooser.pub.build.mozilla.org/ > - Build Types => Both > - Platforms => All > - Under Unit Test Suites, check "mochitests (all)" > - Uncheck mochitest-jetpack > > Expected Result: > - Computed Command and Computed Syntax will display a command that will run > all mochitests except for jetpack > > Actual Result: > - Computed Command and Computed Syntax display "(NO JOBS CHOSEN)" IMO this is expected if mochitest-browser-screenshots is checked. Simply uncheck mochitest-browser-screenshots to get the result you desire. If you want we could also add the attention class to the mochitest-browser-screenshots label so it's more obvious but I would prefer to leave the validation.
Attachment #8767157 -
Flags: feedback?(MattN+bmo) → feedback-
Reporter | ||
Comment 6•8 years ago
|
||
(In reply to Matthew N. [:MattN] (PTO Jun. 29 - Jul. 1) from comment #5) > IMO this is expected if mochitest-browser-screenshots is checked. Simply > uncheck mochitest-browser-screenshots to get the result you desire. I don't know exactly what the mochitest-browser-screenshots test is. However, I was very surprised to see "NO JOBS CHOSEN", when there ARE jobs chosen. If the combination of tests I picked is invalid, perhaps the error message should say that instead.
Comment 7•8 years ago
|
||
This patch can also be added so when selecting ALL test suites, mochitest-browser-screenshots will not be selected by default.
Attachment #8768687 -
Flags: review?(MattN+bmo)
Assignee | ||
Comment 8•8 years ago
|
||
Comment on attachment 8768687 [details] [diff] [review] patch_bug1283282_tools_nodefault.patch Review of attachment 8768687 [details] [diff] [review]: ----------------------------------------------------------------- > This patch can also be added so when selecting ALL test suites, mochitest-browser-screenshots will not be selected by default. That wouldn't reflect reality though so I don't see why that would be a good idea. I think a better solution is comment 5: > If you want we could also add the attention class to the mochitest-browser-screenshots label so it's more obvious.
Attachment #8768687 -
Flags: review?(MattN+bmo) → review-
Comment 9•8 years ago
|
||
This patch puts mochitest-browser-screenshots test into attention class.
Attachment #8770525 -
Flags: feedback?(MattN+bmo)
Comment 10•8 years ago
|
||
This patch puts the message for test mochitest-browser-screenshots into attension class.
Attachment #8770527 -
Flags: feedback?(MattN+bmo)
Assignee | ||
Comment 12•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/65362/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/65362/
Attachment #8772610 -
Flags: review?(aobreja)
Assignee | ||
Updated•8 years ago
|
Attachment #8770525 -
Flags: feedback?(MattN+bmo)
Assignee | ||
Updated•8 years ago
|
Attachment #8770527 -
Flags: feedback?(MattN+bmo)
Assignee | ||
Comment 13•8 years ago
|
||
See my patch for what I had in mind. It only draws attention when necessary.
Assignee: nobody → MattN+bmo
Status: NEW → ASSIGNED
Flags: needinfo?(MattN+bmo)
Comment 14•8 years ago
|
||
Comment on attachment 8772610 [details] Bug 1283282 - Make it more clear that MOZSCREENSHOTS_SETS is required for screenshots. Looks good to me.
Attachment #8772610 -
Flags: review?(aobreja) → review+
Assignee | ||
Comment 15•8 years ago
|
||
https://hg.mozilla.org/build/tools/rev/fb5a8d8f73a0
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Release Engineering → Infrastructure & Operations
Updated•4 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•