Closed Bug 1308789 Opened 8 years ago Closed 8 years ago

Win8 tests don't run on try pushes with "-p all -u all[Windows 8]"

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: philor, Assigned: catlee)

Details

Attachments

(3 files)

I can't even.

With an explicit list of platforms like in https://treeherder.mozilla.org/#/jobs?repo=try&revision=243c762f538197753011b79e68914fe56b586508 we run the Win8 tests for -u all[Windows 8].

With -p all like in https://treeherder.mozilla.org/#/jobs?repo=try&revision=1e0d5d54574f0cc7fa867faf41ec192d7be1156d we don't.

That's not true of the other try-nondefault platforms, -p all -u all[Windows XP,10.6,Windows 8] will run WinXP and 10.6 tests, just not Win8. -p all -u all[-quux] gives the same result, 10.6 and WinXP but no Win8.
Component: Tools → Buildduty
QA Contact: hwine → bugspam.Callek
A few notes:
* We set win64-debug try_by_default to False here: http://hg.mozilla.org/build/buildbot-configs/file/tip/mozilla/config.py#l1777
* Try push here confirms this issue: https://treeherder.mozilla.org/#/jobs?repo=try&revision=6120a9d6cde584b96f3a16eb051d14e3adcd57ab

Interestingly, the try push got neither opt nor debug tests for Win8.

I think we should at least update win64-debug to remove that try_by_default line and let it use the default (True). I'm not sure yet if that will actually help, but it shouldn't hurt either.
Interestingly the unittests fail if win64-debug is added as try-nondefault (win64 opt is try by default). If both win64 and win64-debug are either try-nondefault or try by default then the tests pass. I wonder if this points to where the problem is with try parser.
Ah, bug 914914 comment 2.

So, again, like bug 914914 comment 3 we don't have to fix it, because both platforms should have no try_by_default in mozilla/config.py, because what we want is only the try_by_default: False in https://dxr.mozilla.org/build-central/source/buildbot-configs/mozilla-tests/config.py#116 so we get by-default Win64 opt and debug builds, but not-by-default Win8 tests.
Attached patch WTWTCH?Splinter Review
Really, surprisingly few of my "Completely untested, of course" patches have been backed out.
Assignee: nobody → philringnalda
Status: NEW → ASSIGNED
Attachment #8800520 - Flags: review?(catlee)
Comment on attachment 8800520 [details] [diff] [review]
WTWTCH?

Review of attachment 8800520 [details] [diff] [review]:
-----------------------------------------------------------------

what could possibly go wrong?
Attachment #8800520 - Flags: review?(catlee) → review+
I got nothin' more than that.
Assignee: philringnalda → nobody
Status: ASSIGNED → NEW
I think what was happening was that try_parser was filtering out any platforms which had *no* default-on-try test platform. Neither of win64's test platforms are default on try, which is why win64 was then excluded from the set of default platforms...or something.

I think these patches fix the issue.
Attachment #8801533 - Flags: review?(nthomas)
Attachment #8801534 - Flags: review?(nthomas)
Comment on attachment 8801533 [details]
Bug 1308789 - Add test case to reproduce failure

https://reviewboard.mozilla.org/r/86244/#review85298
Attachment #8801533 - Flags: review?(nthomas) → review+
Comment on attachment 8801534 [details]
Bug 1308789 - Fix setting of default platforms for tests

https://reviewboard.mozilla.org/r/86246/#review85308

Not fully groking this but benefit of the doubt. Do we have test(s) that we're not turning on more than we think here ?
Attachment #8801534 - Flags: review?(nthomas) → review+
Assignee: nobody → catlee
I _think_ the existing tests cover that we're not over-enabling. If we do discover this has unintended consequences in the wild, I'll fix it up and add more tests.
Looks like this is working:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fde1934023456b0b63069dc22f3a84089b36f9cd
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
And for talos too.
Status: RESOLVED → VERIFIED
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: