Closed Bug 1374778 Opened 7 years ago Closed 7 years ago

BugFiler: If we end up with a file path starting with "TEST-", use the next piece of the error summary when attempting to find the filename.

Categories

(Tree Management :: Treeherder, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KWierso, Assigned: KWierso)

Details

Attachments

(1 file)

Since we only strip out "TEST-UNEXPECTED-FAIL", "PROCESS-CRASH", "TEST-UNEXPECTED-ERROR", and "REFTEST ERROR" from bug summaries, we can end up passing a string like "TEST-UNEXPECTED-PASS" or "TEST-UNEXPECTED-TIMEOUT" (maybe others, I don't remember all of the TEST-foo things we use) to findFilename(), which understandably returns the wrong thing.


I kinda put a fix for this into the patch for bug 1364033, but it only covered the UNEXPECTED-PASS case. I think the PR I'm about to file will deal with this better.
Assignee: nobody → wkocher
Comment on attachment 8879691 [details] [review]
PR 2584

Could you add a test? :-)
Attachment #8879691 - Flags: review?(emorley)
Comment on attachment 8879691 [details] [review]
PR 2584

Test added. :)
Attachment #8879691 - Flags: review?(emorley)
Comment on attachment 8879691 [details] [review]
PR 2584

Awesome - many thanks!
Attachment #8879691 - Flags: review?(emorley) → review+
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.

Attachment

General

Created:
Updated:
Size: