Project

General

Profile

action #67891

Show web-UI-determined result within logs

Added by mkittler about 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2020-06-09
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

problem

So far the log of a job with the result "parallel_failed" looks like this:

[2020-06-08T21:09:14.0989 CEST] [info] Isotovideo exit status: 0
[2020-06-08T21:09:19.0989 CEST] [info] +++ worker notes +++
[2020-06-08T21:09:19.0989 CEST] [info] End time: 2020-06-08 19:09:19
[2020-06-08T21:09:19.0990 CEST] [info] Result: cancel

(from https://openqa.opensuse.org/tests/1293247/file/autoinst-log.txt)

It isn't clear why the job has been stopped.

acceptance criteria

AC1: The real job result is logged instead of "cancel". In this case it would be "parallel_failed" but it could also be "parallel_restarted" or any result which is determined on the web UI side.

suggestions

Pass the job result set by the web UI to worker when sending the command to stop the job. The worker can then take it into account when writing the log.

Also available in: Atom PDF