Closed Bug 1076761 Opened 10 years ago Closed 7 years ago

Prioritise log parsing of failed jobs over successful ones

Categories

(Tree Management :: Treeherder, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: emorley, Unassigned)

References

Details

Broken out from bug 1074927.

We need to:
1) Double check that we are correctly giving higher priority to log parsing tasks for jobs that are failed, vs ones that were successful.
2) Add a cut-off time (or something similar), such that even a successful job won't have to wait longer than N minutes before being parsed (to prevent a backlog from suppressing log parsing of successful jobs indefinitely). This will help with Joel's use-case in bug 1075641.
Priority: P1 → P2
Blocks: 1080757
No longer blocks: treeherder-dev-transition
No longer blocks: 1080757
Component: Treeherder → Treeherder: Data Ingestion
It turns out the log_parser, log_parser_hp and log_parser_fail queues are equal priority, and supposedly dealt with in a round robin manner.

It would help with backlogs if we prioritised log_parser_hp and log_parser_fail over log_parser.

Perhaps we should rebalance some of the queues once the default queue has been split up. We could also try adding some of the high priority queues to more than one node type (eg log_parser_hp and high_priority could be done by any of {etl,processor} etc).
Summary: Check/adjust log parsing prioritisation of failed jobs over successful ones → Prioritise log parsing of failed jobs over successful ones
Priority: P2 → P4
Blocks: 1152742
Component: Treeherder: Data Ingestion → Treeherder: Log Parsing & Classification
We already kind of prioritise logs for failed jobs, in the sense that the round-robin behaviour means they get handled ahead of the passing ones 50% of the time. As for prioritising further, I don't think it's worth it.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Component: Treeherder: Log Parsing & Classification → TreeHerder
You need to log in before you can comment on or make changes to this bug.