Closed Bug 1829047 Opened 2 years ago Closed 2 years ago

do not schedule tasks that have no active tests when pushing to try with custom paths

Categories

(Testing :: General, enhancement, P2)

Default
enhancement

Tracking

(firefox114 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: jmaher, Assigned: jmaher)

References

Details

Attachments

(1 file)

there are a few cases where pushing to try and scheduling a path can yield a list of tasks that are orange due to no tasks ran. Here is an example:
./mach try fuzzy -q "'debug | 'opt" browser/base/content/test/static toolkit/components/pdfjs/test

One major cause here is we have manifests that reference tests from another directory:
https://searchfox.org/mozilla-central/source/devtools/client/framework/test/browser.ini#172-176

So our logic for chunking/test selection doesn't account for that.

A simple fix is to keep track of these manifests that reference other directories and are active for the given task, then when we find a scenario that we are running specific paths, we can check to see if the paths are referenced in the other directories- if they are we know they are active and can keep scheduling the task, if there are no references then we can remove the task from the list to be scheduled.

Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/da2fe40c90e3 do not schedule task if all tests are skipped. r=ahal
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Regressions: 1830520
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: