Closed Bug 1060328 Opened 11 years ago Closed 11 years ago

Failure summary: No summary is shown for "retry" and "usercancel" jobs

Categories

(Tree Management :: Treeherder, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

On TBPL we can still see the summary for jobs that failed with a result of "retry" or "usercancel". In treeherder we exclude them: var failure_results = ["busted", "exception", "testfailed"]; ... // retrieve bug suggestions only if the job has failures if(angular.isDefined(newValue) && failure_results.indexOf($scope.job.result) !== -1){ In addition, with TBPL we've wanted to be able to show the summaries more easily for successful jobs too (we've just not been parsing those logs, so this wasn't possible) - so let's just get rid of the check and show for all job result types (this will let us see parser false positives more easily, presuming we still parse successful logs for failure lines).
Priority: -- → P2
Prior to this patch the failure summary was not shown for "retry", "usercancel", "skipped" (unused), or "success". Note: The summary will still be empty for "success" due to bug 1060339.
Attachment #8481277 - Flags: review?(mdoglio)
Jonathan/Cameron, would either of you mind taking the review for this? (Didn't realise Mauro was away)
Attachment #8481277 - Flags: review?(cdawson)
Comment on attachment 8481277 [details] [diff] [review] Retrieve the failure summary for all job result types Review of attachment 8481277 [details] [diff] [review]: ----------------------------------------------------------------- This looks good to me. As stated, this won't affect the server-side log parsing. Only what can be shown in the UI. So no logparser load increase.
Attachment #8481277 - Flags: review?(cdawson) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment on attachment 8481277 [details] [diff] [review] Retrieve the failure summary for all job result types Review of attachment 8481277 [details] [diff] [review]: ----------------------------------------------------------------- lgtm
Attachment #8481277 - Flags: review?(mdoglio) → review+
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/d87e5494d54259a1f46db81b950157e008cb4c93 Bug 1060328 - Retrieve the failure summary for all job result types Prior to this patch the failure summary was not shown for "retry", "usercancel", "skipped" (unused), or "success". Note: The summary will still be empty for "success" due to bug 1060339.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: