Project

General

Profile

Actions

action #100973

closed

Cancel any scheduled jobs after a configurable timeout, e.g. days size:M

Added by okurz over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2021-09-13
Due date:
% Done:

0%

Estimated time:

Description

Motivation

@tinita was investigating job age alerts and found a job with a WORKER_CLASS that doesn't match any workers. This was traced by to @asmorodskyi who then identified the change which was incorrect use of +WORKER_CLASS (+WORKER_CLASS is combined rather than overridden).

Regardless of what caused this, instead of a developer monitoring jobs and figuring out what happened, we should have openQA cancel unmatch.

Acceptance criteria

  • AC1: Cancel any scheduled jobs after a timeout

Suggestions

  • Cancel any job that is scheduled for multiple days, good default is 7 days
  • Do the cancellation in the scheduler, use an additional timer if performance is impacted

Workaround

Have a person monitor alerts and investigate jobs that never run, cancel the job and file a new ticket.


Related issues 1 (1 open0 closed)

Copied from openQA Project - action #98562: Cancel jobs with invalid WORKER_CLASS after a timeoutNew2021-09-13

Actions
Actions #1

Updated by okurz over 2 years ago

  • Copied from action #98562: Cancel jobs with invalid WORKER_CLASS after a timeout added
Actions #2

Updated by mkittler over 2 years ago

  • Subject changed from Cancel any scheduled jobs after a configurable timeout, e.g. days to Cancel any scheduled jobs after a configurable timeout, e.g. days size:M
  • Description updated (diff)
  • Status changed from New to Workable
Actions #3

Updated by osukup over 2 years ago

  • Assignee set to osukup

i,ll try

Actions #4

Updated by osukup over 2 years ago

  • Status changed from Workable to In Progress
Actions #6

Updated by osukup over 2 years ago

  • Status changed from In Progress to Resolved

merged and deployed

Actions

Also available in: Atom PDF