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)
Tree Management
Treeherder
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 | ||
Comment 1•7 years ago
|
||
Attachment #8879691 -
Flags: review?(emorley)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → wkocher
Comment 2•7 years ago
|
||
Comment on attachment 8879691 [details] [review] PR 2584 Could you add a test? :-)
Attachment #8879691 -
Flags: review?(emorley)
Assignee | ||
Comment 3•7 years ago
|
||
Comment on attachment 8879691 [details] [review] PR 2584 Test added. :)
Attachment #8879691 -
Flags: review?(emorley)
Comment 4•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/7d2cd54f30a8f3372da93d9230c026c90d880266 Bug 1374778 - Bug filer: Improve the filename extraction logic (#2584)
Comment 5•7 years ago
|
||
Comment on attachment 8879691 [details] [review] PR 2584 Awesome - many thanks!
Attachment #8879691 -
Flags: review?(emorley) → review+
Updated•7 years ago
|
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
•