Closed
Bug 1412349
Opened 7 years ago
Closed 7 years ago
test-verify sometimes does not run when it should
Categories
(Taskcluster :: General, defect)
Taskcluster
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla60
People
(Reporter: gbrown, Assigned: gbrown)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
919 bytes,
patch
|
dustin
:
review+
|
Details | Diff | Splinter Review |
In https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=d5be34ec792e30745652c742b08512ad660e9dfc, a .js file was modified and test-verify was run on Windows and OSX, but not on Linux: Why did it not run on Linux?
This might be oddly related to bug 1410911, where TV is run even when no applicable files are modified.
Another troubling possibility is that it was eliminated by SETA.
Assignee | ||
Comment 1•7 years ago
|
||
:jmaher - Is there a way to avoid having test-verify eliminated by SETA?
Flags: needinfo?(jmaher)
Assignee | ||
Updated•7 years ago
|
Blocks: test-verify
Comment 2•7 years ago
|
||
you could add something here:
https://github.com/mozilla/treeherder/blob/master/treeherder/seta/preseed.json
{"platform": "*", "buildtype": "*", "testtype": "test-verify", "buildsystem": "taskcluster", "expiration_date": "*", "priority": 1}
Flags: needinfo?(jmaher)
Assignee | ||
Updated•7 years ago
|
Component: Task Configuration → Treeherder: SETA
Product: Taskcluster → Tree Management
Version: unspecified → ---
Comment 3•7 years ago
|
||
This can also be tweaked in the taskgraph code (which might be cleaner). It would require a minor refactor, but we could also exclude the 'lint' tasks if we did this. Basically we want to make sure these tasks have the "non-seta" optimization:
https://dxr.mozilla.org/mozilla-central/source/taskcluster/taskgraph/transforms/tests.py#972
Assignee | ||
Comment 4•7 years ago
|
||
Thanks :ahal -- that's a good idea. It might be nice to have a SETA item in the yml actually. Is that what you had in mind?
Comment 5•7 years ago
|
||
Yeah something like that. Keep in mind we can already specify 'optimization'/'when' in the .yml. So maybe we just need to specify one of those in the test-verify task and make sure transforms/tests.py doesn't overwrite it.
Assignee | ||
Comment 6•7 years ago
|
||
This problem seemed to stop when we changed the scheduling back to when: files-changed, in bug 1410911. I'll leave this open at least until bug 1410911 is resolved.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → gbrown
Assignee | ||
Comment 8•7 years ago
|
||
This was noted again in bug 1439589, and is readily apparent on integration branches: test-verify is often not run because it is SETA-optimized.
Component: Treeherder: SETA → General
Product: Tree Management → Taskcluster
Target Milestone: --- → mozilla60
Version: --- → Trunk
Assignee | ||
Comment 9•7 years ago
|
||
Here's a slightly impulsive fix...I'm hopeful but not sure that it is sensible.
Does it make sense to avoid SETA when a task is SCHEDULES.inclusive? Have I implemented that right?
Attachment #8952560 -
Flags: review?(dustin)
Comment 10•7 years ago
|
||
Comment on attachment 8952560 [details] [diff] [review]
do not seta-optimize SCHEDULES.inclusive tasks
Review of attachment 8952560 [details] [diff] [review]:
-----------------------------------------------------------------
Yeah, that makes sense: SETA is a probabalistic approach to whether a task should be run. SCHEDULES.exclusive is a more reliable approach, so it should override SETA.
Attachment #8952560 -
Flags: review?(dustin) → review+
Comment 11•7 years ago
|
||
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/05a9497b18e7
Avoid SETA optimization of SCHEDULES.inclusive suites, like test-verify; r=dustin
Comment 12•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•