Closed Bug 1719848 Opened 5 years ago Closed 5 years ago

search for test file name during generation of bug suggestions must match it at the start of the file name

Categories

(Tree Management :: Treeherder, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aryx, Assigned: aryx)

Details

Attachments

(1 file)

There are short or common test file names like 001.html. When Treeherder tries to generate bug suggestions for that, it searches the intermittent bugs for 001.html in the summary which also matches other-test-001.html. If too many bugs are returned (>20), Treeherder won't suggest any bugs.

By matching on path boundaries (/, \), whitespace ( ) and list separators (,), the other test files won't be matched. Because adding these rules to the SQL query yields a slower method than filtering the wrong positive bugs out afterwards, the latter method gets applied. This keeps the risk the SQL query will not return all matches (limited at 50 lines) and has to be reevaluated if it turns into an issue.

Component: Treeherder: Log Parsing & Classification → TreeHerder
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: