Project

General

Profile

Actions

action #75073

closed

finalize_job_results minion task fails because 'Job xxx does not exist.'

Added by Xiaojing_liu over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2020-10-22
Due date:
% Done:

0%

Estimated time:

Description

Observation

minion task finalize_job_results will fail when the related job does not exist:
for example https://openqa.suse.de/minion/jobs?id=690535 shows

{
  "args" => [
    4775400
  ],
  "attempts" => 1,
  "children" => [],
  "created" => "2020-10-05T08:37:52.31081Z",
  "delayed" => "2020-10-05T08:37:52.31081Z",
  "expires" => undef,
  "finished" => "2020-10-05T08:37:53.82253Z",
  "id" => 690535,
  "lax" => 0,
  "notes" => {
    "gru_id" => 27804961
  },
  "parents" => [],
  "priority" => 0,
  "queue" => "default",
  "result" => "Job 4775400 does not exist.",
  "retried" => undef,
  "retries" => 0,
  "started" => "2020-10-05T08:37:53.61713Z",
  "state" => "failed",
  "task" => "finalize_job_results",
  "time" => "2020-10-22T07:58:52.96067Z",
  "worker" => 357
}

Suggestion

When the job does not exist, the minion task exit as a success.


Related issues 1 (1 open0 closed)

Related to openQA Project - action #77704: Phase out Gru tables and other no longer needed Gru abstractionsNew2020-11-11

Actions
Actions

Also available in: Atom PDF